Home
last modified time | relevance | path

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

/art/libartbase/base/
Dhash_set.h111 const size_t num_buckets = hash_set->NumBuckets(); in NextNonEmptySlot()
185 AllocateStorage(other.NumBuckets()); in HashSet()
295 return iterator(this, NumBuckets()); in end()
300 return const_iterator(this, NumBuckets()); in end()
342 unwrapped_next_index += NumBuckets(); in Erase()
347 unwrapped_next_ideal_index += NumBuckets(); in Erase()
444 if (num_buckets > NumBuckets()) { in Reserve()
453 for (size_t i = 0; i < NumBuckets(); ++i) { in TotalProbeDistance()
458 total += i + NumBuckets() - ideal_location; in TotalProbeDistance()
469 return static_cast<double>(Size()) / static_cast<double>(NumBuckets()); in CalculateLoadFactor()
[all …]
Dhash_set_test.cc341 const size_t buckets_before = hash_set.NumBuckets(); in TEST_F()
349 CHECK_EQ(hash_set.NumBuckets(), buckets_before); in TEST_F()