Home
last modified time | relevance | path

Searched refs:nbuckets (Results 1 - 13 of 13) sorted by relevance

/third_party/python/Python/
H A Dhashtable.c124 size += ht->nbuckets * sizeof(_Py_hashtable_entry_t *); in _Py_hashtable_size()
135 size_t index = key_hash & (ht->nbuckets - 1); in _Py_hashtable_get_entry_generic()
157 size_t index = key_hash & (ht->nbuckets - 1); in _Py_hashtable_get_entry_ptr()
177 size_t index = key_hash & (ht->nbuckets - 1); in _Py_hashtable_steal()
200 if ((float)ht->nentries / (float)ht->nbuckets < HASHTABLE_LOW) { in _Py_hashtable_steal()
233 if ((float)ht->nentries / (float)ht->nbuckets > HASHTABLE_HIGH) { in _Py_hashtable_set()
241 size_t index = entry->key_hash & (ht->nbuckets - 1); in _Py_hashtable_set()
265 for (size_t hv = 0; hv < ht->nbuckets; hv++) { in _Py_hashtable_foreach()
283 if (new_size == ht->nbuckets) { in hashtable_rehash()
295 for (size_t bucket = 0; bucket < ht->nbuckets; bucke in hashtable_rehash()
[all...]
/third_party/mesa3d/src/util/
H A Dformat_srgb.py87 nbuckets = numexp << mantissa_msb
100 for bucket in range(0, nbuckets):
127 for j in range(0, nbuckets, 4):
/third_party/elfio/elfio/
H A Delfio_symbols.hpp340 uint32_t nbuckets = *( (uint32_t*)hash_section->get_data() + 0 ); in gnu_hash_lookup() local
344 nbuckets = convertor( nbuckets ); in gnu_hash_lookup()
362 uint32_t bucket = hash % nbuckets; in gnu_hash_lookup()
369 nbuckets * sizeof( uint32_t ) ); in gnu_hash_lookup()
/third_party/elfutils/libdwfl/
H A Ddwfl_module_getdwarf.c731 Elf32_Word nbuckets; in translate_offs() member
742 Elf32_Word nbuckets = header->nbuckets; in translate_offs() local
752 if (nbuckets > SIZE_MAX / sizeof (Elf32_Word)) in translate_offs()
757 nbuckets * sizeof (Elf32_Word), in translate_offs()
759 if (data != NULL && symndx < nbuckets) in translate_offs()
763 for (Elf32_Word bucket = 0; bucket < nbuckets; ++bucket) in translate_offs()
768 + nbuckets * sizeof (Elf32_Word)); in translate_offs()
/third_party/python/Modules/
H A D_testinternalcapi.c191 assert(table->nbuckets > 0); in test_hashtable()
204 assert(table->nbuckets > table->nentries); in test_hashtable()
236 assert(table->nbuckets > 0); in test_hashtable()
/third_party/python/Include/internal/
H A Dpycore_hashtable.h62 size_t nbuckets; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
H A DELFTypes.h528 Elf_Word nbuckets;
540 reinterpret_cast<const Elf_Word *>(filter().end()), nbuckets);
/third_party/musl/porting/liteos_a/user/ldso/
H A Ddynlink.c258 uint32_t nbuckets = hashtab[0]; in gnu_lookup() local
260 uint32_t i = buckets[h1 % nbuckets]; in gnu_lookup()
264 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup()
/third_party/musl/porting/liteos_a/user_debug/ldso/
H A Ddynlink.c258 uint32_t nbuckets = hashtab[0]; in gnu_lookup() local
260 uint32_t i = buckets[h1 % nbuckets]; in gnu_lookup()
264 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup()
/third_party/elfutils/src/
H A Delflint.c2145 Elf32_Word nbuckets = ((Elf32_Word *) data->d_buf)[0]; in check_gnu_hash() local
2164 uint64_t used_buf = (4ULL + bitmask_words + nbuckets) * sizeof (Elf32_Word); in check_gnu_hash()
2183 + nbuckets); in check_gnu_hash()
2201 for (cnt = 4 + bitmask_words; cnt < 4 + bitmask_words + nbuckets; ++cnt) in check_gnu_hash()
2220 + nbuckets in check_gnu_hash()
/third_party/musl/ldso/
H A Ddynlink.c273 uint32_t nbuckets = hashtab[0]; in gnu_lookup() local
275 uint32_t i = buckets[h1 % nbuckets]; in gnu_lookup()
279 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup()
/third_party/musl/porting/linux/user/ldso/
H A Ddynlink.c583 uint32_t nbuckets = hashtab[0]; in gnu_lookup() local
585 uint32_t i = buckets[h1 % nbuckets]; in gnu_lookup()
592 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup()
/third_party/musl/ldso/linux/
H A Ddynlink.c617 uint32_t nbuckets = hashtab[0]; in gnu_lookup() local
619 uint32_t i = buckets[h1 % nbuckets]; in gnu_lookup()
626 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup()

Completed in 36 milliseconds