Home
last modified time | relevance | path

Searched refs:LRUCache (Results 1 – 25 of 34) sorted by relevance

12

/external/swiftshader/src/System/
DLRUCache.hpp29 class LRUCache class
65 inline LRUCache(size_t capacity);
66 inline ~LRUCache() = default;
91 LRUCache(const LRUCache &) = delete;
92 LRUCache(LRUCache &&) = delete;
93 LRUCache &operator=(const LRUCache &) = delete;
94 LRUCache &operator=(LRUCache &&) = delete;
164 LRUCache<KEY, DATA, HASH>::view::view(Entry *entry) in view()
169 const KEY &LRUCache<KEY, DATA, HASH>::view::key() const in key()
175 const DATA &LRUCache<KEY, DATA, HASH>::view::data() const in data()
[all …]
DBUILD.gn24 "LRUCache.hpp",
DCMakeLists.txt31 LRUCache.hpp
/external/swiftshader/tests/SystemUnitTests/
DLRUCacheTests.cpp44 TEST(LRUCache, Empty) in TEST() argument
46 LRUCache<std::string, std::string> cache(8); in TEST()
61 TEST(LRUCache, AddNoEviction) in TEST() argument
63 LRUCache<std::string, std::string> cache(4); in TEST()
83 TEST(LRUCache, AddWithEviction) in TEST() argument
85 LRUCache<std::string, std::string> cache(4); in TEST()
109 TEST(LRUCache, AddClearAdd) in TEST() argument
111 LRUCache<std::string, std::string> cache(4); in TEST()
158 TEST(LRUCache, Reordering) in TEST() argument
160 LRUCache<std::string, std::string> cache(4); in TEST()
/external/python/jinja/tests/
Dtest_utils.py11 from jinja2.utils import LRUCache
20 d = LRUCache(3)
30 cache = LRUCache(3)
39 cache = LRUCache(2)
44 cache = LRUCache(2)
55 @pytest.mark.parametrize("copy_func", [LRUCache.copy, shallow_copy])
57 cache = LRUCache(2)
67 d = LRUCache(3)
75 d = LRUCache(3)
84 d = LRUCache(3)
[all …]
/external/swiftshader/src/Renderer/
DLRUCache.hpp26 class LRUCache class
29 LRUCache(int n);
31 ~LRUCache();
94 LRUCache<Key, Data>::LRUCache(int n) in LRUCache() function in sw::LRUCache
112 LRUCache<Key, Data>::~LRUCache() in ~LRUCache()
125 Data LRUCache<Key, Data>::query(const Key &key) const in query()
157 Data LRUCache<Key, Data>::add(const Key &key, const Data &data) in add()
DRoutineCache.hpp27 using RoutineCache = LRUCache<State, std::shared_ptr<Routine>>;
DCMakeLists.txt43 LRUCache.hpp
/external/tensorflow/tensorflow/core/lib/io/
Dcache.cc163 class LRUCache { class
165 LRUCache();
166 ~LRUCache();
210 LRUCache::LRUCache() : capacity_(0), usage_(0) { in LRUCache() function in tensorflow::table::__anon27b9c5620111::LRUCache
218 LRUCache::~LRUCache() { in ~LRUCache()
230 void LRUCache::Ref(LRUHandle* e) { in Ref()
238 void LRUCache::Unref(LRUHandle* e) { in Unref()
252 void LRUCache::LRU_Remove(LRUHandle* e) { in LRU_Remove()
257 void LRUCache::LRU_Append(LRUHandle* list, LRUHandle* e) { in LRU_Append()
265 Cache::Handle* LRUCache::Lookup(const Slice& key, uint32_t hash) { in Lookup()
[all …]
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/internal/
DRegexCache.java29 private LRUCache<String, Pattern> cache;
32 cache = new LRUCache<String, Pattern>(size); in RegexCache()
49 private static class LRUCache<K, V> { class in RegexCache
55 public LRUCache(int size) { in LRUCache() method in RegexCache.LRUCache
61 return size() > LRUCache.this.size; in LRUCache()
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/internal/
DRegexCache.java31 private LRUCache<String, Pattern> cache;
34 cache = new LRUCache<String, Pattern>(size); in RegexCache()
51 private static class LRUCache<K, V> { class in RegexCache
57 public LRUCache(int size) { in LRUCache() method in RegexCache.LRUCache
63 return size() > LRUCache.this.size; in LRUCache()
/external/swiftshader/tests/SystemBenchmarks/
DLRUCacheBenchmarks.cpp84 sw::LRUCache<size_t, size_t> cache(size); in BENCHMARK_DEFINE_F()
99 sw::LRUCache<size_t, size_t> cache(size); in BENCHMARK_DEFINE_F()
117 sw::LRUCache<size_t, size_t> cache(size); in BENCHMARK_DEFINE_F()
134 sw::LRUCache<ComplexKey, size_t, ComplexKeyHash> cache(size); in BENCHMARK_DEFINE_F()
155 sw::LRUCache<ComplexKey, size_t, ComplexKeyHash> cache(size); in BENCHMARK_DEFINE_F()
185 sw::LRUCache<ComplexKey, size_t, ComplexKeyHash> cache(size); in BENCHMARK_DEFINE_F()
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
DLoadPathToFileCache.java34 private final LRUCache<String, String> cache;
38 cache = new LRUCache<String, String>(capacity); in LoadPathToFileCache()
114 static class LRUCache<K, V> extends LinkedHashMap<K, V> { class in LoadPathToFileCache
118 LRUCache(int capacity) { in LRUCache() method in LoadPathToFileCache.LRUCache
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_lru_cache.h40 class LRUCache {
49 LRUCache() : capacity_(0) {} in LRUCache() function
50 explicit LRUCache(size_t capacity) : capacity_(capacity) {} in LRUCache() function
219 LRUCache<std::vector<TensorShape>, std::unique_ptr<EngineContext>,
Dtrt_lru_cache_test.cc24 LRUCache<int, int, std::hash<int>> cache; in TEST()
/external/autotest/site_utils/rpm_control_system/
Dutils_unittest.py89 cache = utils.LRUCache(2, expiration_secs=None)
115 cache = utils.LRUCache(1, expiration_secs=10)
138 cache = utils.LRUCache(1, expiration_secs=10)
Dutils.py47 class LRUCache(object): class
/external/swiftshader/src/Device/
DRoutineCache.hpp27 using RoutineCache = LRUCache<State, RoutineT<FunctionType>>;
/external/tensorflow/tensorflow/core/util/
Dmkl_util_test.cc88 LRUCache<int> lru_cache(capacity); in TEST()
/external/libchrome/third_party/jinja2/
Denvironment.py29 from jinja2.utils import import_string, LRUCache, Markup, missing, \
37 _spontaneous_environments = LRUCache(10)
66 return LRUCache(size)
75 return LRUCache(cache.capacity)
Dutils.py306 class LRUCache(object): class
486 MutableMapping.register(LRUCache)
Dlexer.py23 from jinja2.utils import LRUCache
27 _lexer_cache = LRUCache(50)
/external/python/jinja/src/jinja2/
Denvironment.py48 from .utils import LRUCache
52 _spontaneous_environments = LRUCache(10)
79 return LRUCache(size)
88 return LRUCache(cache.capacity)
Dlexer.py14 from .utils import LRUCache
18 _lexer_cache = LRUCache(50)
/external/swiftshader/src/Vulkan/
DVkDevice.hpp131 sw::LRUCache<Key, std::shared_ptr<rr::Routine>, Key::Hash> cache GUARDED_BY(mutex);

12