Searched refs:NumBuckets (Results 1 – 2 of 2) sorted by relevance
235 AllocateStorage(other.NumBuckets()); in HashSet()345 return iterator(this, NumBuckets()); in end()350 return const_iterator(this, NumBuckets()); in end()394 unwrapped_next_index += NumBuckets(); in erase()399 unwrapped_next_ideal_index += NumBuckets(); in erase()512 if (num_buckets > NumBuckets()) { in reserve()521 for (size_t i = 0; i < NumBuckets(); ++i) { in TotalProbeDistance()526 total += i + NumBuckets() - ideal_location; in TotalProbeDistance()537 return static_cast<double>(size()) / static_cast<double>(NumBuckets()); in CalculateLoadFactor()576 elements_until_expand_ = NumBuckets() * max_load_factor_; in SetLoadFactor()[all …]
343 const size_t buckets_before = hash_set.NumBuckets(); in TEST_F()351 CHECK_EQ(hash_set.NumBuckets(), buckets_before); in TEST_F()