Home
last modified time | relevance | path

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

/art/libartbase/base/
Dhash_set_test.cc172 const double initial_load = hash_set.CalculateLoadFactor(); in TEST_F()
187 const double bad_load = hash_set.CalculateLoadFactor(); in TEST_F()
192 EXPECT_DOUBLE_EQ(initial_load, hash_set.CalculateLoadFactor()); in TEST_F()
209 EXPECT_GE(hash_set.CalculateLoadFactor() + kEpsilon, hash_set.GetMinLoadFactor()); in TEST_F()
210 EXPECT_LE(hash_set.CalculateLoadFactor() - kEpsilon, hash_set.GetMaxLoadFactor()); in TEST_F()
214 EXPECT_LE(hash_set.CalculateLoadFactor() - kEpsilon, hash_set.GetMaxLoadFactor()); in TEST_F()
216 EXPECT_LE(hash_set.CalculateLoadFactor() - kEpsilon, hash_set.GetMaxLoadFactor()); in TEST_F()
Dhash_set.h536 double CalculateLoadFactor() const { in CalculateLoadFactor() function
579 const double load_factor = CalculateLoadFactor(); in SetLoadFactor()