Home
last modified time | relevance | path

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

/art/libartbase/base/
Dhash_set.h111 const size_t num_buckets = hash_set->NumBuckets(); in NextNonEmptySlot() local
112 DCHECK_LT(index, num_buckets); in NextNonEmptySlot()
115 } while (index < num_buckets && hash_set->IsFreeSlot(index)); in NextNonEmptySlot()
439 size_t num_buckets = num_elements / max_load_factor_; in Reserve() local
441 while (static_cast<size_t>(num_buckets * max_load_factor_) <= num_elements + 1u) { in Reserve()
442 ++num_buckets; in Reserve()
444 if (num_buckets > NumBuckets()) { in Reserve()
445 Resize(num_buckets); in Reserve()
582 void AllocateStorage(size_t num_buckets) { in AllocateStorage() argument
583 num_buckets_ = num_buckets; in AllocateStorage()