Home
last modified time | relevance | path

Searched refs:_cache (Results 1 – 25 of 66) sorted by relevance

123

/third_party/node/test/parallel/
Dtest-internal-iterable-weak-map.js17 const _cache = { variable
22 wm.set(_cache.moduleA, 'hello');
23 wm.set(_cache.moduleB, 'discard');
24 wm.set(_cache.moduleC, 'goodbye');
25 delete _cache.moduleB;
27 _cache; // eslint-disable-line no-unused-expressions
37 const _cache = { variable
41 wm.set(_cache.moduleA, 'hello');
42 wm.set(_cache.moduleB, 'goodbye');
43 wm.set(_cache.moduleB, 'goodnight');
[all …]
/third_party/typescript/tests/baselines/reference/
DfixSignatureCaching.js677 this._cache = {};
708 impl.prepareDetectionCache(this._cache, this.ua, this.maxPhoneWidth);
709 return this._cache.mobile;
738 impl.prepareDetectionCache(this._cache, this.ua, this.maxPhoneWidth);
739 return this._cache.phone;
787 impl.prepareDetectionCache(this._cache, this.ua, this.maxPhoneWidth);
788 return this._cache.tablet;
808 if (this._cache.userAgent === undefined) {
809 this._cache.userAgent = impl.findMatch(impl.mobileDetectRules.uas, this.ua);
811 return this._cache.userAgent;
[all …]
/third_party/typescript/tests/cases/conformance/
DfixSignatureCaching.ts676 this._cache = {};
707 impl.prepareDetectionCache(this._cache, this.ua, this.maxPhoneWidth);
708 return this._cache.mobile;
737 impl.prepareDetectionCache(this._cache, this.ua, this.maxPhoneWidth);
738 return this._cache.phone;
786 impl.prepareDetectionCache(this._cache, this.ua, this.maxPhoneWidth);
787 return this._cache.tablet;
807 if (this._cache.userAgent === undefined) {
808 this._cache.userAgent = impl.findMatch(impl.mobileDetectRules.uas, this.ua);
810 return this._cache.userAgent;
[all …]
/third_party/libunwind/doc/
Dunw_flush_cache.tex8 \begin{Name}{3}{unw\_flush\_cache}{David Mosberger-Tang}{Programming Library}{unw\_flush\_cache}unw…
15 \Type{void} \Func{unw\_flush\_cache}(\Type{unw\_addr\_space\_t} \Var{as}, \Type{unw\_word\_t} \Var{…
19 The \Func{unw\_flush\_cache}() routine flushes all cached info as it
27 \Func{unw\_flush\_cache}() may flush more information than requested,
28 but \emph{never} less. In other words, \Func{unw\_flush\_cache}() may
36 The \Func{unw\_flush\_cache}() routine cannot fail and does not
41 The \Func{unw\_flush\_cache}() routine is thread-safe as well as safe to
48 \SeeAlso{unw\_set\_cache\_size(3)}
Dunw_set_cache_size.tex8 \begin{Name}{3}{unw\_set\_cache\_size}{Dave Watson}{Programming Library}{unw\_set\_cache\_size}unw\…
15 \Type{int} \Func{unw\_set\_cache\_size}(\Type{unw\_addr\_space\_t} \Var{as}, \Type{size\_t} \Var{si…
19 The \Func{unw\_set\_cache\_size}() routine sets the cache size of
28 On successful completion, \Func{unw\_set\_cache\_size}() returns 0.
34 \Func{unw\_set\_cache\_size}() is thread-safe but \emph{not} safe
49 \SeeAlso{unw\_flush\_cache(3)}
Dunw_set_caching_policy.tex26 \Func{unw\_flush\_cache}() had been called.
38 appropriate calls to \Func{unw\_flush\_cache}() whenever the target
41 \Func{unw\_flush\_cache}() would have to be called (at least) for the
70 \SeeAlso{unw\_set\_cache\_size(3)},
71 \SeeAlso{unw\_flush\_cache(3)}
/third_party/flutter/engine/flutter/tools/licenses/lib/
Dcache.dart5 Map<Key, dynamic> _cache = <Key, dynamic>{};
9 T result = _cache[key];
11 _cache.remove(key);
13 if (_cache.length == _maxSize)
14 _cache.remove(_cache.keys.first);
18 _cache[key] = result;
/third_party/python/Tools/peg_generator/pegen/
Dparser.py51 if key in self._cache and not self._verbose:
52 tree, endmark = self._cache[key]
59 if key not in self._cache:
68 self._cache[key] = tree, endmark
70 tree, endmark = self._cache[key]
88 if key in self._cache and not self._verbose:
89 tree, endmark = self._cache[key]
95 if key not in self._cache:
109 self._cache[key] = None, mark
132 self._cache[key] = lastresult, lastmark = result, endmark
[all …]
/third_party/node/deps/npm/node_modules/har-validator/node_modules/ajv/lib/
Dcache.js5 this._cache = {};
10 this._cache[key] = value;
15 return this._cache[key];
20 delete this._cache[key];
25 this._cache = {};
Dajv.js60 this._cache = opts.cache || new Cache;
256 this._cache.clear();
260 if (schemaObj) this._cache.del(schemaObj.cacheKey);
267 this._cache.del(cacheKey);
283 self._cache.del(schemaObj.cacheKey);
296 var cached = this._cache.get(cacheKey);
320 this._cache.put(cacheKey, schemaObj);
/third_party/python/Lib/multiprocessing/
Dresource_sharer.py65 self._cache = {}
78 self._cache[self._key] = (send, close)
107 for key, (send, close) in self._cache.items():
109 self._cache.clear()
112 for key, (send, close) in self._cache.items():
114 self._cache.clear()
143 send, close = self._cache.pop(key)
Dpool.py197 self._cache = _PoolCache(notifier=self._change_notifier)
225 args=(self._cache, self._taskqueue, self._ctx, self.Process,
238 self._pool, self._cache)
246 args=(self._outqueue, self._quick_get, self._cache)
256 self._result_handler, self._cache),
748 self._cache = pool._cache
751 self._cache[self._job] = self
780 del self._cache[self._job]
802 del self._cache[self._job]
814 del self._cache[self._job]
[all …]
/third_party/python/Lib/
Dre.py255 _cache.clear()
285 _cache = {} # ordered! variable
293 return _cache[type(pattern), pattern, flags]
305 if len(_cache) >= _MAXCACHE:
308 del _cache[next(iter(_cache))]
311 _cache[type(pattern), pattern, flags] = p
Dfilecmp.py20 _cache = {} variable
28 _cache.clear()
62 outcome = _cache.get((f1, f2, s1, s2))
65 if len(_cache) > 100: # limit the maximum size of the cache
67 _cache[f1, f2, s1, s2] = outcome
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dimage_cache.dart33 final Map<Object, _CachedImage> _cache = <Object, _CachedImage>{};
61 int get currentSize => _cache.length;
101 _cache.clear();
127 final _CachedImage image = _cache.remove(key);
154 final _CachedImage image = _cache.remove(key);
156 _cache[key] = image;
185 _cache[key] = image;
200 while (_currentSizeBytes > _maximumSizeBytes || _cache.length > _maximumSize) {
201 final Object key = _cache.keys.first;
202 final _CachedImage image = _cache[key];
[all …]
/third_party/skia/third_party/externals/freetype/src/cache/
Dftccache.h213 FTC_Cache _cache = FTC_CACHE(cache); \
223 _bucket = _pnode = FTC_NODE_TOP_FOR_HASH( _cache, _hash ); \
234 _nodcomp( _node, query, _cache, &_list_changed ) ) \
243 _bucket = _pnode = FTC_NODE_TOP_FOR_HASH( _cache, _hash ); \
268 FTC_Manager _manager = _cache->manager; \
279 error = FTC_Cache_NewNode( _cache, _hash, query, &_node ); \
/third_party/freetype/src/cache/
Dftccache.h213 FTC_Cache _cache = FTC_CACHE( cache ); \
223 _bucket = _pnode = FTC_NODE_TOP_FOR_HASH( _cache, _hash ); \
234 _nodcomp( _node, query, _cache, &_list_changed ) ) \
243 _bucket = _pnode = FTC_NODE_TOP_FOR_HASH( _cache, _hash ); \
268 FTC_Manager _manager = _cache->manager; \
279 error = FTC_Cache_NewNode( _cache, _hash, query, &_node ); \
/third_party/flutter/skia/third_party/externals/freetype/src/cache/
Dftccache.h213 FTC_Cache _cache = FTC_CACHE(cache); \
223 _bucket = _pnode = FTC_NODE_TOP_FOR_HASH( _cache, _hash ); \
234 _nodcomp( _node, query, _cache, &_list_changed ) ) \
243 _bucket = _pnode = FTC_NODE_TOP_FOR_HASH( _cache, _hash ); \
268 FTC_Manager _manager = _cache->manager; \
279 error = FTC_Cache_NewNode( _cache, _hash, query, &_node ); \
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipeline_cache.c58 VkPipelineCache _cache, in lvp_DestroyPipelineCache() argument
62 LVP_FROM_HANDLE(lvp_pipeline_cache, cache, _cache); in lvp_DestroyPipelineCache()
64 if (!_cache) in lvp_DestroyPipelineCache()
73 VkPipelineCache _cache, in lvp_GetPipelineCacheData() argument
/third_party/python/Lib/encodings/
D__init__.py35 _cache = {} variable
74 entry = _cache.get(encoding, _unknown)
118 _cache[encoding] = None
139 _cache[encoding] = entry
/third_party/ffmpeg/libavcodec/
Dget_bits.h135 unsigned int av_unused name ## _cache
153 # define UPDATE_CACHE_LE(name, gb) name ## _cache = \
156 # define UPDATE_CACHE_BE(name, gb) name ## _cache = \
161 # define UPDATE_CACHE_LE(name, gb) name ## _cache = \
164 # define UPDATE_CACHE_BE(name, gb) name ## _cache = \
174 # define SKIP_CACHE(name, gb, num) name ## _cache >>= (num)
180 # define SKIP_CACHE(name, gb, num) name ## _cache <<= (num)
201 #define SHOW_UBITS_LE(name, gb, num) zero_extend(name ## _cache, num)
202 #define SHOW_SBITS_LE(name, gb, num) sign_extend(name ## _cache, num)
204 #define SHOW_UBITS_BE(name, gb, num) NEG_USR32(name ## _cache, num)
[all …]
/third_party/python/Tools/scripts/
Dfind_recursionlimit.py73 def test_cpickle(_cache={}): argument
83 l = _cache[n]
90 _cache[n] = l
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_pipeline_cache.c99 VkPipelineCache _cache, in pvr_DestroyPipelineCache() argument
103 PVR_FROM_HANDLE(pvr_pipeline_cache, cache, _cache); in pvr_DestroyPipelineCache()
112 VkPipelineCache _cache, in pvr_GetPipelineCacheData() argument
/third_party/python/Lib/xml/etree/
DElementPath.py349 _cache = {} variable
371 selector = _cache[cache_key]
373 if len(_cache) > 100:
374 _cache.clear()
394 _cache[cache_key] = selector
/third_party/node/lib/internal/modules/esm/
Dtranslators.js226 let module = CJSModule._cache[filename];
237 CJSModule._cache[filename] = module;
307 module = CJSModule._cache[modulePath];
325 module = CJSModule._cache[modulePath];
348 CJSModule._cache[modulePath] = module;

123