/external/swiftshader/src/System/ |
D | LRUCache.hpp | 29 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 …]
|
D | BUILD.gn | 24 "LRUCache.hpp",
|
D | CMakeLists.txt | 31 LRUCache.hpp
|
/external/swiftshader/tests/SystemUnitTests/ |
D | LRUCacheTests.cpp | 44 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/ |
D | test_utils.py | 11 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/ |
D | LRUCache.hpp | 26 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()
|
D | RoutineCache.hpp | 27 using RoutineCache = LRUCache<State, std::shared_ptr<Routine>>;
|
D | CMakeLists.txt | 43 LRUCache.hpp
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | cache.cc | 163 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/ |
D | RegexCache.java | 29 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/ |
D | RegexCache.java | 31 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/ |
D | LRUCacheBenchmarks.cpp | 84 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/ |
D | LoadPathToFileCache.java | 34 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/ |
D | trt_lru_cache.h | 40 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>,
|
D | trt_lru_cache_test.cc | 24 LRUCache<int, int, std::hash<int>> cache; in TEST()
|
/external/autotest/site_utils/rpm_control_system/ |
D | utils_unittest.py | 89 cache = utils.LRUCache(2, expiration_secs=None) 115 cache = utils.LRUCache(1, expiration_secs=10) 138 cache = utils.LRUCache(1, expiration_secs=10)
|
D | utils.py | 47 class LRUCache(object): class
|
/external/swiftshader/src/Device/ |
D | RoutineCache.hpp | 27 using RoutineCache = LRUCache<State, RoutineT<FunctionType>>;
|
/external/tensorflow/tensorflow/core/util/ |
D | mkl_util_test.cc | 88 LRUCache<int> lru_cache(capacity); in TEST()
|
/external/libchrome/third_party/jinja2/ |
D | environment.py | 29 from jinja2.utils import import_string, LRUCache, Markup, missing, \ 37 _spontaneous_environments = LRUCache(10) 66 return LRUCache(size) 75 return LRUCache(cache.capacity)
|
D | utils.py | 306 class LRUCache(object): class 486 MutableMapping.register(LRUCache)
|
D | lexer.py | 23 from jinja2.utils import LRUCache 27 _lexer_cache = LRUCache(50)
|
/external/python/jinja/src/jinja2/ |
D | environment.py | 48 from .utils import LRUCache 52 _spontaneous_environments = LRUCache(10) 79 return LRUCache(size) 88 return LRUCache(cache.capacity)
|
D | lexer.py | 14 from .utils import LRUCache 18 _lexer_cache = LRUCache(50)
|
/external/swiftshader/src/Vulkan/ |
D | VkDevice.hpp | 131 sw::LRUCache<Key, std::shared_ptr<rr::Routine>, Key::Hash> cache GUARDED_BY(mutex);
|