Home
last modified time | relevance | path

Searched refs:LRUCache (Results 1 - 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/src/System/
H A DLRUCache.hpp27 // LRUCache is a least recently used cache of a fixed capacity.
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
217 LRUCache<KEY, DATA, HASH>::LRUCache(size_t capacity) LRUCache() function in sw::LRUCache
[all...]
/third_party/skia/third_party/externals/swiftshader/tests/SystemUnitTests/
H A DLRUCacheTests.cpp15 #include "System/LRUCache.hpp"
42 // LRUCache
44 TEST(LRUCache, Empty) in TEST()
46 LRUCache<std::string, std::string> cache(8); in TEST()
61 TEST(LRUCache, AddNoEviction) in TEST()
63 LRUCache<std::string, std::string> cache(4); in TEST()
83 TEST(LRUCache, AddWithEviction) in TEST()
85 LRUCache<std::string, std::string> cache(4); in TEST()
109 TEST(LRUCache, AddClearAdd) in TEST()
111 LRUCache<st in TEST()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A 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()
H A DRoutineCache.hpp18 #include "LRUCache.hpp"
27 using RoutineCache = LRUCache<State, std::shared_ptr<Routine>>;
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/internal/
H A 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()
/third_party/skia/third_party/externals/swiftshader/tests/SystemBenchmarks/
H A DLRUCacheBenchmarks.cpp15 #include "System/LRUCache.hpp"
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()
/third_party/node/deps/npm/node_modules/@npmcli/agent/lib/
H A Dindex.js3 const { LRUCache } = require('lru-cache')
9 const agentCache = new LRUCache({ max: 20 })
H A Dproxy.js6 const { LRUCache } = require('lru-cache')
9 const PROXY_CACHE = new LRUCache({ max: 20 })
/third_party/node/deps/npm/node_modules/cacache/lib/
H A Dmemoization.js3 const { LRUCache } = require('lru-cache')
5 const MEMOIZED = new LRUCache({
/third_party/node/deps/npm/node_modules/hosted-git-info/lib/
H A Dindex.js3 const { LRUCache } = require('lru-cache')
8 const cache = new LRUCache({ max: 1000 })
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DRoutineCache.hpp18 #include "System/LRUCache.hpp"
27 using RoutineCache = LRUCache<State, RoutineT<FunctionType>>;
/third_party/node/deps/npm/node_modules/semver/node_modules/lru-cache/
H A Dindex.js27 class LRUCache {
334 module.exports = LRUCache
/third_party/node/deps/v8/third_party/jinja2/
H A Denvironment.py58 from .utils import LRUCache namespace
62 _spontaneous_environments = LRUCache(10)
89 return LRUCache(size)
98 return LRUCache(cache.capacity)
H A Dutils.py341 class LRUCache(object): class
539 abc.MutableMapping.register(LRUCache)
H A Dlexer.py17 from .utils import LRUCache namespace
21 _lexer_cache = LRUCache(50)
/third_party/node/tools/inspector_protocol/jinja2/
H A 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)
30 concat, consume, internalcode, have_async_gen global() namespace
H A Dutils.py306 class LRUCache(object): class
486 MutableMapping.register(LRUCache)
H A Dlexer.py23 from jinja2.utils import LRUCache namespace
27 _lexer_cache = LRUCache(50)
/third_party/skia/third_party/externals/jinja2/
H A Denvironment.py58 from .utils import LRUCache namespace
62 _spontaneous_environments = LRUCache(10)
89 return LRUCache(size)
98 return LRUCache(cache.capacity)
H A Dutils.py341 class LRUCache(object): class
539 abc.MutableMapping.register(LRUCache)
H A Dlexer.py17 from .utils import LRUCache namespace
21 _lexer_cache = LRUCache(50)
/third_party/node/deps/npm/node_modules/lru-cache/dist/commonjs/
H A Dindex.js3 * @module LRUCache
6 exports.LRUCache = void 0;
63 'provided for use by LRUCache.fetch(), but it should not be ' +
139 class LRUCache {
149 * {@link LRUCache.OptionsBase.ttl}
153 * {@link LRUCache.OptionsBase.ttlResolution}
157 * {@link LRUCache.OptionsBase.ttlAutopurge}
161 * {@link LRUCache.OptionsBase.updateAgeOnGet}
165 * {@link LRUCache.OptionsBase.updateAgeOnHas}
169 * {@link LRUCache
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkDevice.hpp22 #include "System/LRUCache.hpp"
132 sw::LRUCache<Key, std::shared_ptr<rr::Routine>, Key::Hash> cache GUARDED_BY(mutex);
/third_party/jinja2/
H A Dlexer.py14 from .utils import LRUCache namespace
22 _lexer_cache: t.MutableMapping[t.Tuple, "Lexer"] = LRUCache(50) # type: ignore
H A Denvironment.py53 from .utils import LRUCache namespace
90 return LRUCache(size) # type: ignore
103 return LRUCache(cache.capacity) # type: ignore

Completed in 20 milliseconds

12