Home
last modified time | relevance | path

Searched refs:nbuckets (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Python/
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; bucket++) { in hashtable_rehash()
[all …]
/third_party/mesa3d/src/util/
Dformat_srgb.py87 nbuckets = numexp << mantissa_msb
100 for bucket in range(0, nbuckets):
127 for j in range(0, nbuckets, 4):
/third_party/python/Modules/
D_testinternalcapi.c184 assert(table->nbuckets > 0); in test_hashtable()
197 assert(table->nbuckets > table->nentries); in test_hashtable()
229 assert(table->nbuckets > 0); in test_hashtable()
/third_party/python/Include/internal/
Dpycore_hashtable.h62 size_t nbuckets; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DELFTypes.h528 Elf_Word nbuckets;
540 reinterpret_cast<const Elf_Word *>(filter().end()), nbuckets);
/third_party/musl/porting/liteos_a/user_debug/ldso/
Ddynlink.c254 uint32_t nbuckets = hashtab[0]; in gnu_lookup() local
256 uint32_t i = buckets[h1 % nbuckets]; in gnu_lookup()
260 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup()
/third_party/musl/porting/liteos_a/user/ldso/
Ddynlink.c254 uint32_t nbuckets = hashtab[0]; in gnu_lookup() local
256 uint32_t i = buckets[h1 % nbuckets]; in gnu_lookup()
260 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup()
/third_party/musl/ldso/
Ddynlink.c256 uint32_t nbuckets = hashtab[0]; in gnu_lookup() local
258 uint32_t i = buckets[h1 % nbuckets]; in gnu_lookup()
262 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup()
/third_party/musl/porting/linux/user/ldso/
Ddynlink.c637 uint32_t nbuckets = hashtab[0]; in gnu_lookup() local
639 uint32_t i = buckets[h1 % nbuckets]; in gnu_lookup()
646 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup()