Home
last modified time | relevance | path

Searched refs:old_s (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/tokudb/
H A Dtokudb_buffer.h130 void replace(size_t offset, size_t old_s, void* new_p, size_t new_s) { in replace() argument
131 assert_always(offset + old_s <= m_size); in replace()
132 if (new_s > old_s) in replace()
133 maybe_realloc(new_s - old_s); in replace()
135 if (new_s != old_s) { in replace()
136 size_t n = m_size - (offset + old_s); in replace()
138 assert_always(offset + old_s + n <= m_limit); in replace()
139 memmove(data_offset + new_s, data_offset + old_s, n); in replace()
140 if (new_s > old_s) in replace()
141 m_size += new_s - old_s; in replace()
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/tokudb/
H A Dtokudb_buffer.h130 void replace(size_t offset, size_t old_s, void* new_p, size_t new_s) { in replace() argument
131 assert_always(offset + old_s <= m_size); in replace()
132 if (new_s > old_s) in replace()
133 maybe_realloc(new_s - old_s); in replace()
135 if (new_s != old_s) { in replace()
136 size_t n = m_size - (offset + old_s); in replace()
138 assert_always(offset + old_s + n <= m_limit); in replace()
139 memmove(data_offset + new_s, data_offset + old_s, n); in replace()
140 if (new_s > old_s) in replace()
141 m_size += new_s - old_s; in replace()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/tokudb/
H A Dtokudb_buffer.h130 void replace(size_t offset, size_t old_s, void* new_p, size_t new_s) { in replace() argument
131 assert_always(offset + old_s <= m_size); in replace()
132 if (new_s > old_s) in replace()
133 maybe_realloc(new_s - old_s); in replace()
135 if (new_s != old_s) { in replace()
136 size_t n = m_size - (offset + old_s); in replace()
138 assert_always(offset + old_s + n <= m_limit); in replace()
139 memmove(data_offset + new_s, data_offset + old_s, n); in replace()
140 if (new_s > old_s) in replace()
141 m_size += new_s - old_s; in replace()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/tokudb/
H A Dtokudb_buffer.h130 void replace(size_t offset, size_t old_s, void* new_p, size_t new_s) { in replace() argument
131 assert_always(offset + old_s <= m_size); in replace()
132 if (new_s > old_s) in replace()
133 maybe_realloc(new_s - old_s); in replace()
135 if (new_s != old_s) { in replace()
136 size_t n = m_size - (offset + old_s); in replace()
138 assert_always(offset + old_s + n <= m_limit); in replace()
139 memmove(data_offset + new_s, data_offset + old_s, n); in replace()
140 if (new_s > old_s) in replace()
141 m_size += new_s - old_s; in replace()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/tokudb/
H A Dtokudb_buffer.h130 void replace(size_t offset, size_t old_s, void* new_p, size_t new_s) { in replace() argument
131 assert_always(offset + old_s <= m_size); in replace()
132 if (new_s > old_s) in replace()
133 maybe_realloc(new_s - old_s); in replace()
135 if (new_s != old_s) { in replace()
136 size_t n = m_size - (offset + old_s); in replace()
138 assert_always(offset + old_s + n <= m_limit); in replace()
139 memmove(data_offset + new_s, data_offset + old_s, n); in replace()
140 if (new_s > old_s) in replace()
141 m_size += new_s - old_s; in replace()
[all …]
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/tokudb/
H A Dtokudb_buffer.h130 void replace(size_t offset, size_t old_s, void* new_p, size_t new_s) { in replace() argument
131 assert_always(offset + old_s <= m_size); in replace()
132 if (new_s > old_s) in replace()
133 maybe_realloc(new_s - old_s); in replace()
135 if (new_s != old_s) { in replace()
136 size_t n = m_size - (offset + old_s); in replace()
138 assert_always(offset + old_s + n <= m_limit); in replace()
139 memmove(data_offset + new_s, data_offset + old_s, n); in replace()
140 if (new_s > old_s) in replace()
141 m_size += new_s - old_s; in replace()
[all …]
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/tokudb/
H A Dtokudb_buffer.h130 void replace(size_t offset, size_t old_s, void* new_p, size_t new_s) { in replace() argument
131 assert_always(offset + old_s <= m_size); in replace()
132 if (new_s > old_s) in replace()
133 maybe_realloc(new_s - old_s); in replace()
135 if (new_s != old_s) { in replace()
136 size_t n = m_size - (offset + old_s); in replace()
138 assert_always(offset + old_s + n <= m_limit); in replace()
139 memmove(data_offset + new_s, data_offset + old_s, n); in replace()
140 if (new_s > old_s) in replace()
141 m_size += new_s - old_s; in replace()
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/tokudb/
H A Dtokudb_buffer.h130 void replace(size_t offset, size_t old_s, void* new_p, size_t new_s) { in replace() argument
131 assert_always(offset + old_s <= m_size); in replace()
132 if (new_s > old_s) in replace()
133 maybe_realloc(new_s - old_s); in replace()
135 if (new_s != old_s) { in replace()
136 size_t n = m_size - (offset + old_s); in replace()
138 assert_always(offset + old_s + n <= m_limit); in replace()
139 memmove(data_offset + new_s, data_offset + old_s, n); in replace()
140 if (new_s > old_s) in replace()
141 m_size += new_s - old_s; in replace()
[all …]
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/tokudb/
H A Dtokudb_buffer.h130 void replace(size_t offset, size_t old_s, void* new_p, size_t new_s) { in replace() argument
131 assert_always(offset + old_s <= m_size); in replace()
132 if (new_s > old_s) in replace()
133 maybe_realloc(new_s - old_s); in replace()
135 if (new_s != old_s) { in replace()
136 size_t n = m_size - (offset + old_s); in replace()
138 assert_always(offset + old_s + n <= m_limit); in replace()
139 memmove(data_offset + new_s, data_offset + old_s, n); in replace()
140 if (new_s > old_s) in replace()
141 m_size += new_s - old_s; in replace()
[all …]
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/tokudb/
H A Dtokudb_buffer.h130 void replace(size_t offset, size_t old_s, void* new_p, size_t new_s) { in job_t()
131 assert_always(offset + old_s <= m_size); in job_t()
132 if (new_s > old_s) in job_t()
133 maybe_realloc(new_s - old_s); in job_t()
135 if (new_s != old_s) { in job_t()
136 size_t n = m_size - (offset + old_s); in job_t()
138 assert_always(offset + old_s + n <= m_limit); in job_t()
139 memmove(data_offset + new_s, data_offset + old_s, n); in job_t()
140 if (new_s > old_s) in job_t()
141 m_size += new_s - old_s; in job_t()
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/tokudb/
H A Dtokudb_buffer.h130 void replace(size_t offset, size_t old_s, void* new_p, size_t new_s) { in replace() argument
131 assert_always(offset + old_s <= m_size); in replace()
132 if (new_s > old_s) in replace()
133 maybe_realloc(new_s - old_s); in replace()
135 if (new_s != old_s) { in replace()
136 size_t n = m_size - (offset + old_s); in replace()
138 assert_always(offset + old_s + n <= m_limit); in replace()
139 memmove(data_offset + new_s, data_offset + old_s, n); in replace()
140 if (new_s > old_s) in replace()
141 m_size += new_s - old_s; in replace()
[all …]
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/tokudb/
H A Dtokudb_buffer.h130 void replace(size_t offset, size_t old_s, void* new_p, size_t new_s) { in replace() argument
131 assert_always(offset + old_s <= m_size); in replace()
132 if (new_s > old_s) in replace()
133 maybe_realloc(new_s - old_s); in replace()
135 if (new_s != old_s) { in replace()
136 size_t n = m_size - (offset + old_s); in replace()
138 assert_always(offset + old_s + n <= m_limit); in replace()
139 memmove(data_offset + new_s, data_offset + old_s, n); in replace()
140 if (new_s > old_s) in replace()
141 m_size += new_s - old_s; in replace()
[all …]
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Tactical/
H A DSoldier_Profile.cc579 GridNo const old_gridno = old_s->sGridNo; in ChangeSoldierTeam()
594 c.ubProfile = old_s->ubProfile; in ChangeSoldierTeam()
595 c.bBodyType = old_s->ubBodyType; in ChangeSoldierTeam()
596 c.sSectorX = old_s->sSectorX; in ChangeSoldierTeam()
597 c.sSectorY = old_s->sSectorY; in ChangeSoldierTeam()
598 c.bSectorZ = old_s->bSectorZ; in ChangeSoldierTeam()
600 c.bDirection = old_s->bDirection; in ChangeSoldierTeam()
635 new_s->inv[i] = old_s->inv[i]; in ChangeSoldierTeam()
650 HandleCheckForDeathCommonCode(old_s); in ChangeSoldierTeam()
653 if (gfWorldLoaded && old_s->bInSector) in ChangeSoldierTeam()
[all …]
/dports/net/kamailio/kamailio-5.4.5/src/modules/db_mysql/
H A Dkm_val.c48 char* old_s; in db_mysql_val2str() local
82 old_s = _s; in db_mysql_val2str()
88 *_len = _s - old_s; in db_mysql_val2str()
98 old_s = _s; in db_mysql_val2str()
104 *_len = _s - old_s; in db_mysql_val2str()
115 old_s = _s; in db_mysql_val2str()
120 *_len = _s - old_s; in db_mysql_val2str()
/dports/devel/boost-docs/boost_1_72_0/libs/contract/test/public_function/
H A Dsmoke.hpp65 boost::contract::old_ptr<s_type> old_s; in f() local
73 old_s = BOOST_CONTRACT_OLDOF(v, s_type::eval(s)); in f()
80 BOOST_CONTRACT_ASSERT(result.value == old_s->value); in f()
85 BOOST_CONTRACT_ASSERT(s.value == old_s->value); in f()
120 boost::contract::old_ptr<s_type> old_s; in f() local
129 old_s = BOOST_CONTRACT_OLDOF(v, s_type::eval(s)); in f()
136 BOOST_CONTRACT_ASSERT(result.value == old_s->value); in f()
141 BOOST_CONTRACT_ASSERT(s.value == old_s->value); in f()
220 boost::contract::old_ptr<s_type> old_s; in f() local
229 old_s = BOOST_CONTRACT_OLDOF(v, s_type::eval(s)); in f()
[all …]
/dports/devel/boost-libs/boost_1_72_0/libs/contract/test/public_function/
H A Dsmoke.hpp65 boost::contract::old_ptr<s_type> old_s; in f() local
73 old_s = BOOST_CONTRACT_OLDOF(v, s_type::eval(s)); in f()
80 BOOST_CONTRACT_ASSERT(result.value == old_s->value); in f()
85 BOOST_CONTRACT_ASSERT(s.value == old_s->value); in f()
120 boost::contract::old_ptr<s_type> old_s; in f() local
129 old_s = BOOST_CONTRACT_OLDOF(v, s_type::eval(s)); in f()
136 BOOST_CONTRACT_ASSERT(result.value == old_s->value); in f()
141 BOOST_CONTRACT_ASSERT(s.value == old_s->value); in f()
220 boost::contract::old_ptr<s_type> old_s; in f() local
229 old_s = BOOST_CONTRACT_OLDOF(v, s_type::eval(s)); in f()
[all …]
/dports/devel/boost-python-libs/boost_1_72_0/libs/contract/test/public_function/
H A Dsmoke.hpp65 boost::contract::old_ptr<s_type> old_s; in f() local
73 old_s = BOOST_CONTRACT_OLDOF(v, s_type::eval(s)); in f()
80 BOOST_CONTRACT_ASSERT(result.value == old_s->value); in f()
85 BOOST_CONTRACT_ASSERT(s.value == old_s->value); in f()
120 boost::contract::old_ptr<s_type> old_s; in f() local
129 old_s = BOOST_CONTRACT_OLDOF(v, s_type::eval(s)); in f()
136 BOOST_CONTRACT_ASSERT(result.value == old_s->value); in f()
141 BOOST_CONTRACT_ASSERT(s.value == old_s->value); in f()
220 boost::contract::old_ptr<s_type> old_s; in f() local
229 old_s = BOOST_CONTRACT_OLDOF(v, s_type::eval(s)); in f()
[all …]
/dports/devel/hyperscan/boost_1_75_0/libs/contract/test/public_function/
H A Dsmoke.hpp65 boost::contract::old_ptr<s_type> old_s; in f() local
73 old_s = BOOST_CONTRACT_OLDOF(v, s_type::eval(s)); in f()
80 BOOST_CONTRACT_ASSERT(result.value == old_s->value); in f()
85 BOOST_CONTRACT_ASSERT(s.value == old_s->value); in f()
120 boost::contract::old_ptr<s_type> old_s; in f() local
129 old_s = BOOST_CONTRACT_OLDOF(v, s_type::eval(s)); in f()
136 BOOST_CONTRACT_ASSERT(result.value == old_s->value); in f()
141 BOOST_CONTRACT_ASSERT(s.value == old_s->value); in f()
220 boost::contract::old_ptr<s_type> old_s; in f() local
229 old_s = BOOST_CONTRACT_OLDOF(v, s_type::eval(s)); in f()
[all …]
/dports/net/kamailio/kamailio-5.4.5/src/modules/db_unixodbc/
H A Dval.c65 char* old_s; in db_unixodbc_val2str() local
83 old_s = _s; in db_unixodbc_val2str()
94 *_len = _s - old_s; in db_unixodbc_val2str()
108 old_s = _s; in db_unixodbc_val2str()
119 *_len = _s - old_s; in db_unixodbc_val2str()
133 old_s = _s; in db_unixodbc_val2str()
144 *_len = _s - old_s; in db_unixodbc_val2str()
/dports/www/trafficserver/trafficserver-9.1.1/proxy/logging/
H A DLogBuffer.cc206 LB_State old_s, new_s; in checkout_write() local
213 old_s = m_state; in checkout_write()
214 new_s = old_s; in checkout_write()
216 if (old_s.s.full) { in checkout_write()
229 offset = old_s.s.offset; in checkout_write()
250 if (old_s.s.num_entries) { in checkout_write()
262 if (switch_state(old_s, new_s)) { in checkout_write()
313 LB_State old_s, new_s; in checkin_write() local
316 new_s = old_s = m_state; in checkin_write()
319 ink_assert(old_s.s.num_writers > 0); in checkin_write()
[all …]
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libast/hash/
H A Dhashsize.c40 register Hash_bucket_t** old_s; in hashsize() local
60 old_sx = (old_s = tab->table) + tab->size; in hashsize()
62 while (old_s < old_sx) in hashsize()
64 old_b = *old_s++; in hashsize()
/dports/shells/ksh93/ast-93u/src/lib/libast/hash/
H A Dhashsize.c40 register Hash_bucket_t** old_s; in hashsize() local
60 old_sx = (old_s = tab->table) + tab->size; in hashsize()
62 while (old_s < old_sx) in hashsize()
64 old_b = *old_s++; in hashsize()
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libast/hash/
H A Dhashsize.c40 register Hash_bucket_t** old_s; in hashsize() local
60 old_sx = (old_s = tab->table) + tab->size; in hashsize()
62 while (old_s < old_sx) in hashsize()
64 old_b = *old_s++; in hashsize()
/dports/net/kamailio/kamailio-5.4.5/src/modules/db_postgres/
H A Dkm_val.c108 char *old_s; in db_postgres_val2str() local
121 old_s = _s; in db_postgres_val2str()
135 *_len = _s - old_s; in db_postgres_val2str()
146 old_s = _s; in db_postgres_val2str()
159 *_len = _s - old_s; in db_postgres_val2str()
/dports/astro/oskar/OSKAR-2.8.0/oskar/mem/src/
H A Doskar_mem_stats.c30 old_s = 0.0; \
35 new_s = old_s + (val - old_m) * (val - new_m); \
37 old_s = new_s; \
45 double old_m = 0.0, new_m = 0.0, old_s = 0.0, new_s = 0.0; in oskar_mem_stats() local

12345678910>>...12