Home
last modified time | relevance | path

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

/art/runtime/base/
Dhash_set.h107 const size_t num_buckets = hash_set->NumBuckets(); in NextNonEmptySlot() local
108 DCHECK_LT(index, num_buckets); in NextNonEmptySlot()
111 } while (index < num_buckets && hash_set->IsFreeSlot(index)); in NextNonEmptySlot()
433 size_t num_buckets = num_elements / max_load_factor_; in Reserve() local
435 while (static_cast<size_t>(num_buckets * max_load_factor_) <= num_elements + 1u) { in Reserve()
436 ++num_buckets; in Reserve()
438 if (num_buckets > NumBuckets()) { in Reserve()
439 Resize(num_buckets); in Reserve()
576 void AllocateStorage(size_t num_buckets) { in AllocateStorage() argument
577 num_buckets_ = num_buckets; in AllocateStorage()