Home
last modified time | relevance | path

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

/art/libartbase/base/
Dhash_set_test.cc170 const double initial_load = hash_set.CalculateLoadFactor(); in TEST_F()
185 const double bad_load = hash_set.CalculateLoadFactor(); in TEST_F()
190 EXPECT_DOUBLE_EQ(initial_load, hash_set.CalculateLoadFactor()); in TEST_F()
207 EXPECT_GE(hash_set.CalculateLoadFactor() + kEpsilon, hash_set.GetMinLoadFactor()); in TEST_F()
208 EXPECT_LE(hash_set.CalculateLoadFactor() - kEpsilon, hash_set.GetMaxLoadFactor()); in TEST_F()
212 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()
Dhash_set.h468 double CalculateLoadFactor() const { in CalculateLoadFactor() function
511 const double load_factor = CalculateLoadFactor(); in SetLoadFactor()