Searched refs:num_buckets (Results 1 – 1 of 1) sorted by relevance
494 size_t num_buckets = num_elements / max_load_factor_; in reserve() local496 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() argument638 num_buckets_ = num_buckets; in AllocateStorage()708 const size_t num_buckets = NumBuckets(); in NextNonEmptySlot() local709 DCHECK_LT(index, num_buckets); in NextNonEmptySlot()712 } while (index < num_buckets && IsFreeSlot(index)); in NextNonEmptySlot()