Searched refs:NumBuckets (Results 1 – 2 of 2) sorted by relevance
107 const size_t num_buckets = hash_set->NumBuckets(); in NextNonEmptySlot()181 AllocateStorage(other.NumBuckets()); in HashSet()291 return iterator(this, NumBuckets()); in end()296 return const_iterator(this, NumBuckets()); in end()338 unwrapped_next_index += NumBuckets(); in Erase()343 unwrapped_next_ideal_index += NumBuckets(); in Erase()438 if (num_buckets > NumBuckets()) { in Reserve()447 for (size_t i = 0; i < NumBuckets(); ++i) { in TotalProbeDistance()452 total += i + NumBuckets() - ideal_location; in TotalProbeDistance()463 return static_cast<double>(Size()) / static_cast<double>(NumBuckets()); in CalculateLoadFactor()[all …]
341 const size_t buckets_before = hash_set.NumBuckets(); in TEST_F()349 CHECK_EQ(hash_set.NumBuckets(), buckets_before); in TEST_F()