Searched refs:int_uset (Results 1 – 2 of 2) sorted by relevance
297 unordered_set<int> int_uset; in hash_policy() local299 CPPUNIT_ASSERT( int_uset.max_load_factor() == 1.0f ); in hash_policy()300 CPPUNIT_ASSERT( int_uset.load_factor() == 0.0f ); in hash_policy()302 size_t nbInserts = int_uset.bucket_count() - 1; in hash_policy()304 int_uset.insert(i); in hash_policy()306 CPPUNIT_ASSERT( int_uset.size() == nbInserts ); in hash_policy()308 int_uset.max_load_factor(0.5f); in hash_policy()309 int_uset.rehash(0); in hash_policy()310 CPPUNIT_ASSERT( int_uset.load_factor() < int_uset.max_load_factor() ); in hash_policy()312 size_t bucketsHint = int_uset.bucket_count() + 1; in hash_policy()[all …]