Lines Matching refs:LruCache
38 class LruCache {
40 explicit LruCache(uint32_t maxCapacity);
41 virtual ~LruCache();
57 LruCache(const LruCache& that); // disallow copy constructor
107 Iterator(const LruCache<TKey, TValue>& cache): in Iterator()
134 const LruCache<TKey, TValue>& mCache;
142 LruCache<TKey, TValue>::LruCache(uint32_t maxCapacity) in LruCache() function
153 LruCache<TKey, TValue>::~LruCache() { in ~LruCache()
159 void LruCache<K, V>::setOnEntryRemovedListener(OnEntryRemoved<K, V>* listener) { in setOnEntryRemovedListener()
164 size_t LruCache<TKey, TValue>::size() const { in size()
169 const TValue& LruCache<TKey, TValue>::get(const TKey& key) { in get()
181 bool LruCache<TKey, TValue>::put(const TKey& key, const TValue& value) { in put()
197 bool LruCache<TKey, TValue>::remove(const TKey& key) { in remove()
213 bool LruCache<TKey, TValue>::removeOldest() { in removeOldest()
222 const TValue& LruCache<TKey, TValue>::peekOldestValue() { in peekOldestValue()
230 void LruCache<TKey, TValue>::clear() { in clear()
245 void LruCache<TKey, TValue>::attachToCache(Entry& entry) { in attachToCache()
256 void LruCache<TKey, TValue>::detachFromCache(Entry& entry) { in detachFromCache()