Home
last modified time | relevance | path

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

/external/python/cpython3/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 …]
/external/flac/src/flac/
Danalyze.c43 uint32_t nbuckets; member
151 for(i = 0; i < stats.nbuckets; i++) { in flac__analyze_frame()
177 stats->nbuckets = 0; in init_stats()
192 for(i = 0; i < stats->nbuckets; i++) { in update_stats()
199 i = stats->nbuckets; in update_stats()
202 stats->nbuckets++; in update_stats()
232 for(i = 0; i < stats->nbuckets; i++) { in dump_stats()
/external/mesa3d/src/util/
Dformat_srgb.py89 nbuckets = numexp << mantissa_msb
102 for bucket in range(0, nbuckets):
129 for j in range(0, nbuckets, 4):
/external/python/cpython3/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()
/external/elfutils/libdwfl/
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()
/external/mdnsresponder/mDNSShared/
Ddnsextd.h141 mDNSs32 nbuckets; // buckets allocated member
Ddnsextd.c809 int i, bucket, newnbuckets = d->nbuckets * 2; in RehashTable()
816 for (i = 0; i < d->nbuckets; i++) in RehashTable()
828 d->nbuckets = newnbuckets; in RehashTable()
846 for (i = 0; i < d->nbuckets; i++) in PrintLeaseTable()
1144 d->nbuckets = LEASETABLE_INIT_NBUCKETS; in InitLeaseTable()
1347 for (i = 0; i < d->nbuckets; i++) in DeleteRecords()
1400 bucket = rr->namehash % d->nbuckets; in UpdateLeaseTable()
1443 if (d->nelems > d->nbuckets) in UpdateLeaseTable()
1446 bucket = rr->namehash % d->nbuckets; in UpdateLeaseTable()
/external/python/cpython3/Include/internal/
Dpycore_hashtable.h62 size_t nbuckets; member
/external/llvm/include/llvm/Object/
DELFTypes.h543 Elf_Word nbuckets;
555 reinterpret_cast<const Elf_Word *>(filter().end()), nbuckets);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DELFTypes.h528 Elf_Word nbuckets;
540 reinterpret_cast<const Elf_Word *>(filter().end()), nbuckets);
/external/elfutils/src/
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()
/external/musl/ldso/
Ddynlink.c269 uint32_t nbuckets = hashtab[0]; in gnu_lookup() local
271 uint32_t i = buckets[h1 % nbuckets]; in gnu_lookup()
275 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup()
/external/llvm/tools/llvm-readobj/
DELFDumper.cpp1824 W.printNumber("Num Buckets", GnuHashTable->nbuckets); in printGnuHashTable()
3114 size_t NBucket = GnuHashTable->nbuckets; in printHashHistogram()
/external/python/cpython3/Doc/data/
Dpython3.10.abi15543 …<var-decl name='nbuckets' type-id='type-id-157' visibility='default' filepath='./Include/internal/…