• Home
  • Raw
  • Download

Lines Matching refs:Cache

43   typedef base::MRUCache<int, CachedItem> Cache;  in TEST()  typedef
44 Cache cache(Cache::NO_AUTO_EVICT); in TEST()
55 Cache::iterator inserted_item = cache.Put(kItem1Key, item1); in TEST()
60 Cache::iterator found = cache.Get(kItem1Key); in TEST()
78 Cache::reverse_iterator oldest = cache.rbegin(); in TEST()
86 Cache::iterator test_item = cache.Get(kItem1Key); in TEST()
94 Cache::reverse_iterator oldest = cache.rbegin(); in TEST()
102 Cache::reverse_iterator next = cache.Erase(cache.rbegin()); in TEST()
123 typedef base::MRUCache<int, CachedItem> Cache; in TEST() typedef
124 Cache cache(Cache::NO_AUTO_EVICT); in TEST()
139 Cache::reverse_iterator iter = cache.rbegin(); in TEST()
147 Cache::iterator peekiter = cache.Peek(kItem1Key); in TEST()
150 Cache::reverse_iterator iter = cache.rbegin(); in TEST()
158 typedef base::MRUCache<int, CachedItem> Cache; in TEST() typedef
159 Cache cache(Cache::NO_AUTO_EVICT); in TEST()
182 Cache::reverse_iterator iter = cache.rbegin(); in TEST()
189 Cache::iterator iter = cache.begin(); in TEST()
196 using Cache = base::MRUCache<int, std::unique_ptr<CachedItem>>; in TEST() typedef
197 Cache cache(Cache::NO_AUTO_EVICT); in TEST()
207 Cache::iterator iter = cache.Get(kItem1Key); in TEST()
219 Cache cache2(Cache::NO_AUTO_EVICT); in TEST()
229 Cache cache2(Cache::NO_AUTO_EVICT); in TEST()
239 using Cache = base::MRUCache<int, std::unique_ptr<CachedItem>>; in TEST() typedef
240 static const Cache::size_type kMaxSize = 3; in TEST()
245 Cache cache(kMaxSize); in TEST()
264 typedef base::HashingMRUCache<std::string, CachedItem> Cache; in TEST() typedef
265 Cache cache(Cache::NO_AUTO_EVICT); in TEST()
281 typedef base::MRUCache<int, CachedItem> Cache; in TEST() typedef
282 Cache cache1(Cache::NO_AUTO_EVICT); in TEST()
287 Cache::iterator inserted_item = cache1.Put(kItem1Key, item1); in TEST()
297 Cache::iterator iter = cache1.begin(); in TEST()
309 Cache cache2(Cache::NO_AUTO_EVICT); in TEST()
329 Cache::iterator iter = cache2.begin(); in TEST()
354 Cache::iterator iter = cache1.begin(); in TEST()
372 Cache::iterator iter = cache2.begin(); in TEST()