/dports/lang/v8/v8-9.6.180.12/src/heap/ |
H A D | slot-set.h | 60 InsertAllocated(bucket_index); in Insert() 65 InsertAllocated(bucket_index); in Insert() 205 size_t bucket_index; in Insert() local 229 size_t bucket_index; in Contains() local 239 size_t bucket_index; in Remove() local 321 size_t bucket_index; in Lookup() local 371 for (size_t bucket_index = 0; bucket_index < buckets; bucket_index++) { in FreeEmptyBuckets() local 385 for (size_t bucket_index = 0; bucket_index < buckets; bucket_index++) { in CheckPossiblyEmptyBuckets() local 474 for (size_t bucket_index = start_bucket; bucket_index < end_bucket; in Iterate() local 475 bucket_index++) { in Iterate() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/v8/src/heap/ |
H A D | slot-set.h | 57 InsertAllocated(bucket_index); in Insert() 62 InsertAllocated(bucket_index); in Insert() 66 bool Contains(size_t bucket_index) { in Contains() argument 198 size_t bucket_index; in Insert() local 222 size_t bucket_index; in Contains() local 232 size_t bucket_index; in Remove() local 314 size_t bucket_index; in Lookup() local 364 for (size_t bucket_index = 0; bucket_index < buckets; bucket_index++) { in FreeEmptyBuckets() local 378 for (size_t bucket_index = 0; bucket_index < buckets; bucket_index++) { in CheckPossiblyEmptyBuckets() local 467 for (size_t bucket_index = 0; bucket_index < buckets; bucket_index++) { in Iterate() local [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/src/heap/ |
H A D | slot-set.h | 57 InsertAllocated(bucket_index); in Insert() 62 InsertAllocated(bucket_index); in Insert() 204 size_t bucket_index; in Insert() local 228 size_t bucket_index; in Contains() local 238 size_t bucket_index; in Remove() local 320 size_t bucket_index; in Lookup() local 370 for (size_t bucket_index = 0; bucket_index < buckets; bucket_index++) { in FreeEmptyBuckets() local 384 for (size_t bucket_index = 0; bucket_index < buckets; bucket_index++) { in CheckPossiblyEmptyBuckets() local 473 for (size_t bucket_index = start_bucket; bucket_index < end_bucket; in Iterate() local 474 bucket_index++) { in Iterate() [all …]
|
/dports/net/sems/sems-f89581a/apps/db_reg_agent/ |
H A D | RegistrationTimer.cpp | 50 bucket_index, TIMER_BUCKETS); in get_bucket_index() 54 bucket_index += current_bucket; in get_bucket_index() 57 return bucket_index; in get_bucket_index() 61 if (bucket_index < 0) { in place_timer() 66 if (bucket_index > TIMER_BUCKETS) { in place_timer() 68 bucket_index, TIMER_BUCKETS); in place_timer() 81 timer, bucket_index, b_size); in place_timer() 98 if (bucket_index == -1) { in insert_timer() 106 if (bucket_index == -2) { in insert_timer() 112 place_timer(timer, bucket_index); in insert_timer() [all …]
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/perfschema/ |
H A D | pfs_histogram.cc | 60 ulong bucket_index; in reset() local 62 for (bucket_index = 0; bucket_index < NUMBER_OF_BUCKETS; bucket_index++) { in reset() 63 m_bucket[bucket_index] = 0; in reset() 68 ulong bucket_index; in init() local 73 for (bucket_index = 1; bucket_index < NUMBER_OF_BUCKETS; bucket_index++) { in init() 74 m_bucket_timer[bucket_index] = current_bucket_timer; in init()
|
H A D | pfs_timer.cc | 133 ulonglong bucket_index; in init_timers() local 136 for (bucket_index = 0; bucket_index < NUMBER_OF_BUCKETS; bucket_index++) { in init_timers() 137 normalizer->m_bucket_timer[bucket_index] = in init_timers() 138 g_histogram_pico_timers.m_bucket_timer[bucket_index] / to_pico; in init_timers() 141 for (bucket_index = 0; bucket_index < NUMBER_OF_BUCKETS; bucket_index++) { in init_timers() 142 normalizer->m_bucket_timer[bucket_index] = 0; in init_timers() 189 ulong time_normalizer::bucket_index(ulonglong t) { in bucket_index() function in time_normalizer
|
H A D | table_esmh_global.cc | 79 bool PFS_index_esmh_global::match_bucket(ulong bucket_index) { in match_bucket() argument 81 return m_key_1.match(bucket_index); in match_bucket() 176 int table_esmh_global::make_row(ulong bucket_index) { in make_row() argument 178 DBUG_ASSERT(bucket_index < NUMBER_OF_BUCKETS); in make_row() 180 m_row.m_bucket_number = bucket_index; in make_row() 182 g_histogram_pico_timers.m_bucket_timer[bucket_index]; in make_row() 184 g_histogram_pico_timers.m_bucket_timer[bucket_index + 1]; in make_row() 187 m_materialized_histogram.m_buckets[bucket_index].m_count_bucket; in make_row() 189 m_materialized_histogram.m_buckets[bucket_index].m_count_bucket_and_lower; in make_row()
|
/dports/devel/libfirm/libfirm-1.21.0/ir/kaps/ |
H A D | bucket.c | 38 && bucket[edge->bucket_index] == edge; in edge_bucket_contains() 59 edge->bucket_index = edge_bucket_get_length(*bucket); in edge_bucket_insert() 73 edge->bucket_index = UINT_MAX; in edge_bucket_pop() 86 && bucket[node->bucket_index] == node; in node_bucket_contains() 127 node->bucket_index = node_bucket_get_length(*bucket); in node_bucket_insert() 141 node->bucket_index = UINT_MAX; in node_bucket_pop() 154 node_index = node->bucket_index; in node_bucket_remove() 156 other->bucket_index = node_index; in node_bucket_remove() 160 node->bucket_index = UINT_MAX; in node_bucket_remove() 166 unsigned bucket_index; in node_bucket_deep_copy() local [all …]
|
/dports/security/clamav-lts/clamav-0.103.5/libclamav/ |
H A D | yara_hash.c | 155 uint32_t bucket_index; in yr_hash_table_lookup() local 157 bucket_index = hash(0, (uint8_t*) key, strlen(key)); in yr_hash_table_lookup() 160 bucket_index = hash(bucket_index, (uint8_t*) ns, strlen(ns)); in yr_hash_table_lookup() 162 bucket_index = bucket_index % table->size; in yr_hash_table_lookup() 164 entry = table->buckets[bucket_index]; in yr_hash_table_lookup() 188 uint32_t bucket_index; in yr_hash_table_add() local 221 bucket_index = hash(0, (uint8_t*) key, strlen(key)); in yr_hash_table_add() 224 bucket_index = hash(bucket_index, (uint8_t*) ns, strlen(ns)); in yr_hash_table_add() 226 bucket_index = bucket_index % table->size; in yr_hash_table_add() 228 entry->next = table->buckets[bucket_index]; in yr_hash_table_add() [all …]
|
/dports/security/clamav/clamav-0.104.2/libclamav/ |
H A D | yara_hash.c | 155 uint32_t bucket_index; in yr_hash_table_lookup() local 157 bucket_index = hash(0, (uint8_t*) key, strlen(key)); in yr_hash_table_lookup() 160 bucket_index = hash(bucket_index, (uint8_t*) ns, strlen(ns)); in yr_hash_table_lookup() 162 bucket_index = bucket_index % table->size; in yr_hash_table_lookup() 164 entry = table->buckets[bucket_index]; in yr_hash_table_lookup() 188 uint32_t bucket_index; in yr_hash_table_add() local 221 bucket_index = hash(0, (uint8_t*) key, strlen(key)); in yr_hash_table_add() 224 bucket_index = hash(bucket_index, (uint8_t*) ns, strlen(ns)); in yr_hash_table_add() 226 bucket_index = bucket_index % table->size; in yr_hash_table_add() 228 entry->next = table->buckets[bucket_index]; in yr_hash_table_add() [all …]
|
/dports/www/node10/node-v10.24.1/deps/v8/src/heap/ |
H A D | slot-set.h | 60 int bucket_index, cell_index, bit_index; in Insert() local 83 int bucket_index, cell_index, bit_index; in Contains() local 92 int bucket_index, cell_index, bit_index; in Remove() local 172 int bucket_index, cell_index, bit_index; in Lookup() local 192 for (int bucket_index = 0; bucket_index < kBuckets; bucket_index++) { in Iterate() local 220 PreFreeEmptyBucket(bucket_index); in Iterate() 234 for (int bucket_index = 0; bucket_index < kBuckets; bucket_index++) { in PreFreeEmptyBuckets() local 238 PreFreeEmptyBucket(bucket_index); in PreFreeEmptyBuckets() 245 for (int bucket_index = 0; bucket_index < kBuckets; bucket_index++) { in FreeEmptyBuckets() local 249 ReleaseBucket(bucket_index); in FreeEmptyBuckets() [all …]
|
/dports/multimedia/libva-intel-driver/intel-vaapi-driver-2.4.1/src/ |
H A D | object_heap.c | 47 int bucket_index = new_heap_size / heap->heap_increment - 1; in object_heap_expand() local 49 if (bucket_index >= heap->num_buckets) { in object_heap_expand() 67 heap->bucket[bucket_index] = new_heap_index; in object_heap_expand() 114 int bucket_index, obj_index; in object_heap_allocate() local 125 bucket_index = heap->next_free / heap->heap_increment; in object_heap_allocate() 143 int bucket_index, obj_index; in object_heap_lookup() local 151 bucket_index = id / heap->heap_increment; in object_heap_lookup() 181 int bucket_index, obj_index; in object_heap_next() local 185 bucket_index = i / heap->heap_increment; in object_heap_next() 227 int bucket_index, obj_index; in object_heap_destroy() local [all …]
|
/dports/multimedia/libva-intel-hybrid-driver/intel-hybrid-driver-1.0.2/src/ |
H A D | object_heap.c | 47 int bucket_index = new_heap_size / heap->heap_increment - 1; in object_heap_expand() local 49 if (bucket_index >= heap->num_buckets) { in object_heap_expand() 68 heap->bucket[bucket_index] = new_heap_index; in object_heap_expand() 116 int bucket_index, obj_index; in object_heap_allocate() local 129 bucket_index = heap->next_free / heap->heap_increment; in object_heap_allocate() 147 int bucket_index, obj_index; in object_heap_lookup() local 156 bucket_index = id / heap->heap_increment; in object_heap_lookup() 187 int bucket_index, obj_index; in object_heap_next() local 192 bucket_index = i / heap->heap_increment; in object_heap_next() 236 int bucket_index, obj_index; in object_heap_destroy() local [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/intern/ |
H A D | BLI_ghash.c | 224 e->next = buckets_new[bucket_index]; in ghash_buckets_resize() 225 buckets_new[bucket_index] = e; in ghash_buckets_resize() 236 e->next = buckets_new[bucket_index]; in ghash_buckets_resize() 237 buckets_new[bucket_index] = e; in ghash_buckets_resize() 465 e->e.next = gh->buckets[bucket_index]; in ghash_insert_ex() 468 gh->buckets[bucket_index] = (Entry *)e; in ghash_insert_ex() 483 e->next = gh->buckets[bucket_index]; in ghash_insert_ex_keyonly_entry() 485 gh->buckets[bucket_index] = e; in ghash_insert_ex_keyonly_entry() 500 e->next = gh->buckets[bucket_index]; in ghash_insert_ex_keyonly() 502 gh->buckets[bucket_index] = e; in ghash_insert_ex_keyonly() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/allocator/partition_allocator/ |
H A D | thread_cache_unittest.cc | 79 return bucket_index; in FillThreadCacheAndReturnIndex() 143 size_t bucket_index = FillThreadCacheAndReturnIndex(100, 10); in TEST_F() local 145 EXPECT_EQ(10u, tcache->bucket_count_for_testing(bucket_index)); in TEST_F() 149 size_t bucket_index = FillThreadCacheAndReturnIndex(100, 1000); in TEST_F() local 155 size_t bucket_index = FillThreadCacheAndReturnIndex(100, 10); in TEST_F() local 157 EXPECT_EQ(10u, tcache->bucket_count_for_testing(bucket_index)); in TEST_F() 159 EXPECT_EQ(0u, tcache->bucket_count_for_testing(bucket_index)); in TEST_F() 172 EXPECT_EQ(1u, tcache->bucket_count_for_testing(bucket_index)); in TEST_F() 175 EXPECT_EQ(1u, tcache->bucket_count_for_testing(bucket_index)); in TEST_F() 308 size_t bucket_index = FillThreadCacheAndReturnIndex( in TEST_F() local [all …]
|
/dports/multimedia/libva-vdpau-driver/libva-vdpau-driver-0.7.4/src/ |
H A D | object_heap.c | 63 int bucket_index = new_heap_size / heap->heap_increment - 1; in object_heap_expand() local 65 if (bucket_index >= heap->num_buckets) { in object_heap_expand() 83 heap->bucket[bucket_index] = new_heap_index; in object_heap_expand() 121 int bucket_index, obj_index; in object_heap_allocate_unlocked() local 130 bucket_index = heap->next_free / heap->heap_increment; in object_heap_allocate_unlocked() 158 int bucket_index, obj_index; in object_heap_lookup_unlocked() local 164 bucket_index = id / heap->heap_increment; in object_heap_lookup_unlocked() 205 int bucket_index, obj_index; in object_heap_next_unlocked() local 209 bucket_index = i / heap->heap_increment; in object_heap_next_unlocked() 264 int bucket_index, obj_index, i; in object_heap_destroy() local [all …]
|
/dports/security/yara/yara-4.1.1/libyara/ |
H A D | hash.c | 130 uint32_t bucket_index = yr_hash(0, key, key_length); in _yr_hash_table_lookup() local 133 bucket_index = yr_hash(bucket_index, (uint8_t*) ns, strlen(ns)); in _yr_hash_table_lookup() 135 bucket_index = bucket_index % table->size; in _yr_hash_table_lookup() 137 entry = table->buckets[bucket_index]; in _yr_hash_table_lookup() 156 table->buckets[bucket_index] = entry->next; in _yr_hash_table_lookup() 267 uint32_t bucket_index; in yr_hash_table_add_raw_key() local 304 bucket_index = yr_hash(0, key, key_length); in yr_hash_table_add_raw_key() 307 bucket_index = yr_hash(bucket_index, (uint8_t*) ns, strlen(ns)); in yr_hash_table_add_raw_key() 309 bucket_index = bucket_index % table->size; in yr_hash_table_add_raw_key() 311 entry->next = table->buckets[bucket_index]; in yr_hash_table_add_raw_key() [all …]
|
/dports/databases/cassandra-cpp-driver/cpp-driver-2.16.0/src/third_party/hdr_histogram/ |
H A D | hdr_histogram.cpp | 175 int32_t bucket_index = get_bucket_index(h, value); in counts_index_for() local 191 if (bucket_index < 0) in hdr_value_at_index() 194 bucket_index = 0; in hdr_value_at_index() 202 int32_t bucket_index, in get_count_at_index() argument 210 int32_t bucket_index = get_bucket_index(h, value); in hdr_size_of_equivalent_value_range() local 212 …t adjusted_bucket = (sub_bucket_index >= h->sub_bucket_count) ? (bucket_index + 1) : bucket_index; in hdr_size_of_equivalent_value_range() 218 int32_t bucket_index = get_bucket_index(h, value); in lowest_equivalent_value() local 765 return iter->bucket_index < iter->h->bucket_count; in has_buckets() 780 (*bucket_index)++; in increment_bucket() 804 int32_t bucket_index = iter->bucket_index; in peek_next_value_from_index() local [all …]
|
/dports/net/tcpkali/tcpkali-1.1.1/deps/HdrHistogram/ |
H A D | hdr_histogram.c | 132 int32_t bucket_index = get_bucket_index(h, value); in counts_index_for() local 148 if (bucket_index < 0) in hdr_value_at_index() 151 bucket_index = 0; in hdr_value_at_index() 159 int32_t bucket_index, in get_count_at_index() argument 167 int32_t bucket_index = get_bucket_index(h, value); in size_of_equivalent_value_range() local 169 …t adjusted_bucket = (sub_bucket_index >= h->sub_bucket_count) ? (bucket_index + 1) : bucket_index; in size_of_equivalent_value_range() 175 int32_t bucket_index = get_bucket_index(h, value); in lowest_equivalent_value() local 746 return iter->bucket_index < iter->h->bucket_count; in has_buckets() 761 (*bucket_index)++; in increment_bucket() 785 int32_t bucket_index = iter->bucket_index; in peek_next_value_from_index() local [all …]
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libvtv/ |
H A D | vtv_map.h | 203 size_type bucket_index = k->hash & mask; in find_or_add_key() local 207 bucket_type &bucket = this->buckets[bucket_index]; in find_or_add_key() 235 bucket_index = (bucket_index + step++) & mask; in find_or_add_key() 248 size_type bucket_index = k->hash & mask; in put_internal() local 252 bucket_type &bucket = this->buckets[bucket_index]; in put_internal() 280 bucket_index = (bucket_index + step++) & mask; in put_internal() 291 size_type bucket_index = k->hash & mask; in get() local 295 const bucket_type &bucket = this->buckets[bucket_index]; in get() 301 bucket_index = (bucket_index + step++) & mask; in get()
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libvtv/ |
H A D | vtv_map.h | 203 size_type bucket_index = k->hash & mask; in find_or_add_key() local 207 bucket_type &bucket = this->buckets[bucket_index]; in find_or_add_key() 235 bucket_index = (bucket_index + step++) & mask; in find_or_add_key() 248 size_type bucket_index = k->hash & mask; in put_internal() local 252 bucket_type &bucket = this->buckets[bucket_index]; in put_internal() 280 bucket_index = (bucket_index + step++) & mask; in put_internal() 291 size_type bucket_index = k->hash & mask; in get() local 295 const bucket_type &bucket = this->buckets[bucket_index]; in get() 301 bucket_index = (bucket_index + step++) & mask; in get()
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libvtv/ |
H A D | vtv_map.h | 203 size_type bucket_index = k->hash & mask; in find_or_add_key() local 207 bucket_type &bucket = this->buckets[bucket_index]; in find_or_add_key() 235 bucket_index = (bucket_index + step++) & mask; in find_or_add_key() 248 size_type bucket_index = k->hash & mask; in put_internal() local 252 bucket_type &bucket = this->buckets[bucket_index]; in put_internal() 280 bucket_index = (bucket_index + step++) & mask; in put_internal() 291 size_type bucket_index = k->hash & mask; in get() local 295 const bucket_type &bucket = this->buckets[bucket_index]; in get() 301 bucket_index = (bucket_index + step++) & mask; in get()
|
/dports/lang/gcc11/gcc-11.2.0/libvtv/ |
H A D | vtv_map.h | 203 size_type bucket_index = k->hash & mask; in find_or_add_key() local 207 bucket_type &bucket = this->buckets[bucket_index]; in find_or_add_key() 235 bucket_index = (bucket_index + step++) & mask; in find_or_add_key() 248 size_type bucket_index = k->hash & mask; in put_internal() local 252 bucket_type &bucket = this->buckets[bucket_index]; in put_internal() 280 bucket_index = (bucket_index + step++) & mask; in put_internal() 291 size_type bucket_index = k->hash & mask; in get() local 295 const bucket_type &bucket = this->buckets[bucket_index]; in get() 301 bucket_index = (bucket_index + step++) & mask; in get()
|
/dports/lang/gcc12-devel/gcc-12-20211205/libvtv/ |
H A D | vtv_map.h | 203 size_type bucket_index = k->hash & mask; in find_or_add_key() local 207 bucket_type &bucket = this->buckets[bucket_index]; in find_or_add_key() 235 bucket_index = (bucket_index + step++) & mask; in find_or_add_key() 248 size_type bucket_index = k->hash & mask; in put_internal() local 252 bucket_type &bucket = this->buckets[bucket_index]; in put_internal() 280 bucket_index = (bucket_index + step++) & mask; in put_internal() 291 size_type bucket_index = k->hash & mask; in get() local 295 const bucket_type &bucket = this->buckets[bucket_index]; in get() 301 bucket_index = (bucket_index + step++) & mask; in get()
|
/dports/lang/gcc10/gcc-10.3.0/libvtv/ |
H A D | vtv_map.h | 203 size_type bucket_index = k->hash & mask; in find_or_add_key() local 207 bucket_type &bucket = this->buckets[bucket_index]; in find_or_add_key() 235 bucket_index = (bucket_index + step++) & mask; in find_or_add_key() 248 size_type bucket_index = k->hash & mask; in put_internal() local 252 bucket_type &bucket = this->buckets[bucket_index]; in put_internal() 280 bucket_index = (bucket_index + step++) & mask; in put_internal() 291 size_type bucket_index = k->hash & mask; in get() local 295 const bucket_type &bucket = this->buckets[bucket_index]; in get() 301 bucket_index = (bucket_index + step++) & mask; in get()
|