Home
last modified time | relevance | path

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

/art/libartbase/base/
Dhash_set.h494 size_t num_buckets = num_elements / max_load_factor_; in reserve() local
496 while (static_cast<size_t>(num_buckets * max_load_factor_) <= num_elements + 1u) { in reserve()
497 ++num_buckets; in reserve()
499 if (num_buckets > NumBuckets()) { in reserve()
500 Resize(num_buckets); in reserve()
637 void AllocateStorage(size_t num_buckets) { in AllocateStorage() argument
638 num_buckets_ = num_buckets; in AllocateStorage()
708 const size_t num_buckets = NumBuckets(); in NextNonEmptySlot() local
709 DCHECK_LT(index, num_buckets); in NextNonEmptySlot()
712 } while (index < num_buckets && IsFreeSlot(index)); in NextNonEmptySlot()