Searched refs:max_load_factor (Results 1 – 2 of 2) sorted by relevance
59 REQUIRE_MESSAGE(cont.load_factor() <= cont.max_load_factor(), "Load factor is invalid"); in test_unordered_methods()62 cont.max_load_factor(16.0f); in test_unordered_methods()63 … REQUIRE_MESSAGE(cont.max_load_factor() == 16.0f, "Max load factor has not been changed properly"); in test_unordered_methods()183 auto count = 2 * c.max_load_factor() * c.unsafe_bucket_count(); in CustomExamine()185 REQUIRE(c.max_load_factor() * c.unsafe_bucket_count() >= count); in CustomExamine()187 REQUIRE(c.load_factor() <= c.max_load_factor()); in CustomExamine()188 c.max_load_factor(1.0f); in CustomExamine()379 float lf = container.max_load_factor(); in test_reserve_regression()
659 float max_load_factor() const { return my_max_load_factor; } in max_load_factor() function661 void max_load_factor( float mlf ) { in max_load_factor() function683 while (necessary_bucket_count * max_load_factor() < elements_count) { in reserve()