Home
last modified time | relevance | path

Searched refs:buckets_size (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Modules/
Dhashtable.c148 size_t buckets_size; in _Py_hashtable_new_full() local
167 buckets_size = ht->num_buckets * sizeof(ht->buckets[0]); in _Py_hashtable_new_full()
168 ht->buckets = alloc.malloc(buckets_size); in _Py_hashtable_new_full()
173 memset(ht->buckets, 0, buckets_size); in _Py_hashtable_new_full()
415 size_t buckets_size, new_size, bucket; in hashtable_rehash() local
425 buckets_size = new_size * sizeof(ht->buckets[0]); in hashtable_rehash()
427 ht->buckets = ht->alloc.malloc(buckets_size); in hashtable_rehash()
434 memset(ht->buckets, 0, buckets_size); in hashtable_rehash()
/external/grpc-grpc/src/cpp/util/
Dcore_stats.cc67 if (grpc_stats_histo_buckets[i] != h.buckets_size()) valid = false; in ProtoToCoreStats()
68 for (int j = 0; valid && j < h.buckets_size(); j++) { in ProtoToCoreStats()
79 for (int j = 0; valid && j < h.buckets_size(); j++) { in ProtoToCoreStats()