Home
last modified time | relevance | path

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

/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()
/external/rust/crates/grpcio-sys/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()
/external/python/cpython3/Python/
Dhashtable.c287 size_t buckets_size = new_size * sizeof(ht->buckets[0]); in hashtable_rehash() local
288 _Py_slist_t *new_buckets = ht->alloc.malloc(buckets_size); in hashtable_rehash()
293 memset(new_buckets, 0, buckets_size); in hashtable_rehash()
339 size_t buckets_size = ht->nbuckets * sizeof(ht->buckets[0]); in _Py_hashtable_new_full() local
340 ht->buckets = alloc.malloc(buckets_size); in _Py_hashtable_new_full()
345 memset(ht->buckets, 0, buckets_size); in _Py_hashtable_new_full()