Lines Matching refs:evicted
196 auto evicted = cache.insert_or_assign(4, 40); in TEST() local
198 EXPECT_TRUE(evicted); in TEST()
199 EXPECT_EQ(*evicted, std::make_pair(1, 10)); in TEST()
211 evicted = cache.insert_or_assign(5, 50); in TEST()
214 EXPECT_TRUE(evicted); in TEST()
215 EXPECT_EQ(*evicted, std::make_pair(4, 40)); in TEST()
234 evicted = cache.insert_or_assign(7, 70); in TEST()
236 EXPECT_TRUE(evicted); in TEST()
237 EXPECT_EQ(*evicted, std::make_pair(2, 20)); in TEST()
246 auto evicted = cache.insert_or_assign(3, 30); in TEST() local
248 EXPECT_TRUE(evicted); in TEST()
249 EXPECT_EQ(*evicted, std::make_pair(1, 10)); in TEST()
262 evicted = cache.insert_or_assign(4, 40); in TEST()
264 EXPECT_TRUE(evicted); in TEST()
265 EXPECT_EQ(*evicted, std::make_pair(2, 200)); in TEST()
295 evicted = cache.insert_or_assign(6, 2000); in TEST()
297 EXPECT_TRUE(evicted); in TEST()
298 EXPECT_EQ(*evicted, std::make_pair(1, 100)); in TEST()
330 auto evicted = cache.insert_or_assign(3, 30); in TEST() local
332 EXPECT_TRUE(evicted); in TEST()
333 EXPECT_EQ(*evicted, std::make_pair(2, 20)); in TEST()