Lines Matching refs:NumBuckets
106 const size_t num_buckets = hash_set->NumBuckets(); in NextNonEmptySlot()
214 AllocateStorage(other.NumBuckets());
236 return Iterator(this, NumBuckets()); in end()
273 unwrapped_next_index += NumBuckets(); in Erase()
278 unwrapped_next_ideal_index += NumBuckets(); in Erase()
349 for (size_t i = 0; i < NumBuckets(); ++i) { in TotalProbeDistance()
354 total += i + NumBuckets() - ideal_location; in TotalProbeDistance()
365 return static_cast<double>(Size()) / static_cast<double>(NumBuckets()); in CalculateLoadFactor()
390 DCHECK_LT(index, NumBuckets()); in ElementForIndex()
396 DCHECK_LT(index, NumBuckets()); in ElementForIndex()
407 DCHECK_EQ(index, NumBuckets()); in NextIndex()
422 return NumBuckets(); in FindIndex()
435 size_t NumBuckets() const { in NumBuckets() function
453 for (size_t i = 0; i < NumBuckets(); ++i) { in DeallocateStorage()
456 allocfn_.deallocate(data_, NumBuckets()); in DeallocateStorage()
473 elements_until_expand_ = NumBuckets() * max_load_factor_; in Expand()