Home
last modified time | relevance | path

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

/art/runtime/base/
Dhash_set_test.cc65 HashSet<std::string, IsEmptyFnString> hash_set; in TEST_F() local
67 ASSERT_TRUE(hash_set.Empty()); in TEST_F()
68 ASSERT_EQ(hash_set.Size(), 0U); in TEST_F()
69 hash_set.Insert(test_string); in TEST_F()
70 auto it = hash_set.Find(test_string); in TEST_F()
72 auto after_it = hash_set.Erase(it); in TEST_F()
73 ASSERT_TRUE(after_it == hash_set.end()); in TEST_F()
74 ASSERT_TRUE(hash_set.Empty()); in TEST_F()
75 ASSERT_EQ(hash_set.Size(), 0U); in TEST_F()
76 it = hash_set.Find(test_string); in TEST_F()
[all …]
Dhash_set.h66 Iterator(HashSet* hash_set, size_t index) : hash_set_(hash_set), index_(index) { in Iterator() argument