Lines Matching defs:cache
107 int Lookup(std::shared_ptr<Cache> cache, int key) { in Lookup()
116 void Insert(std::shared_ptr<Cache> cache, int key, int value, in Insert()
121 void Erase(std::shared_ptr<Cache> cache, int key) { in Erase()
156 auto cache = NewCache(kCapacity, 8, false, kDontChargeCacheMetadata); in TEST_P() local
198 auto cache = NewCache(kCapacity, 8, false, kDontChargeCacheMetadata); in TEST_P() local
447 auto cache = NewCache(1, 0, false); in TEST_P() local
457 Cache* const cache = static_cast<Cache*>(value); in TEST_P() local
464 std::shared_ptr<Cache> cache = NewCache(10, 0, false); in TEST_P() local
536 std::shared_ptr<Cache> cache = NewCache(5, 0, false); in TEST_P() local
551 std::shared_ptr<Cache> cache = NewCache(5, 0, false); in TEST_P() local
571 std::shared_ptr<Cache> cache = NewCache(5, 0, false); in TEST_P() local
616 std::shared_ptr<Cache> cache = NewCache(5, 0, false); in TEST_P() local
673 std::shared_ptr<Cache> cache = NewCache(n, 0, false); in TEST_P() local
744 std::shared_ptr<Cache> cache = NewCache(16 * 1024L * 1024L); in TEST_P() local