Home | History | Annotate | Download | only in base

Lines Matching full:expired

67   // Advance to t=10; entry1 is now expired.
73 // The expired element should no longer be in the cache.
76 // Update entry1 so it is no longer expired.
84 // Advance to t=20; both entries are now expired.
110 std::string name = base::StringPrintf("expired%d", i);
111 cache.Put(name, "I'm expired.", now, t10);
115 // Add two negative (instantly expired) entries at t=0 that expire at t=0.
134 // "expired" entries should be dropped.
168 cache.Put("expired", "expired", now, now);
172 // Should all be retrievable except "expired".
175 EXPECT_FALSE(cache.Get("expired", now));
177 // Adding the fourth entry will cause "expired" to be evicted.
181 EXPECT_FALSE(cache.Get("expired", now));
243 // Now access two expired entries and ensure the cache size goes down.
248 // Accessing non-expired entries should return entries and not adjust the