Searched refs:nbuckets (Results 1 – 9 of 9) sorted by relevance
124 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 …]
87 nbuckets = numexp << mantissa_msb100 for bucket in range(0, nbuckets):127 for j in range(0, nbuckets, 4):
184 assert(table->nbuckets > 0); in test_hashtable()197 assert(table->nbuckets > table->nentries); in test_hashtable()229 assert(table->nbuckets > 0); in test_hashtable()
62 size_t nbuckets; member
528 Elf_Word nbuckets;540 reinterpret_cast<const Elf_Word *>(filter().end()), nbuckets);
254 uint32_t nbuckets = hashtab[0]; in gnu_lookup() local256 uint32_t i = buckets[h1 % nbuckets]; in gnu_lookup()260 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup()
256 uint32_t nbuckets = hashtab[0]; in gnu_lookup() local258 uint32_t i = buckets[h1 % nbuckets]; in gnu_lookup()262 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup()
637 uint32_t nbuckets = hashtab[0]; in gnu_lookup() local639 uint32_t i = buckets[h1 % nbuckets]; in gnu_lookup()646 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup()