Searched defs:_cache (Results 1 - 25 of 26) sorted by relevance

12

/external/python/cpython2/Lib/encodings/
H A D__init__.py35 _cache = {} variable
74 entry = _cache.get(encoding, _unknown)
116 _cache[encoding] = None
140 _cache[encoding] = entry
/external/python/cpython2/Lib/
H A Dfnmatch.py17 _cache = {} variable
22 _cache.clear()
51 re_pat = _cache[pat]
54 if len(_cache) >= _MAXCACHE:
55 _cache.clear()
56 _cache[pat] = re_pat = re.compile(res)
77 re_pat = _cache[pat]
80 if len(_cache) >= _MAXCACHE:
81 _cache.clear()
82 _cache[pa
[all...]
H A Dfilecmp.py18 _cache = {} variable
51 outcome = _cache.get((f1, f2, s1, s2))
54 if len(_cache) > 100: # limit the maximum size of the cache
55 _cache.clear()
56 _cache[f1, f2, s1, s2] = outcome
H A Dre.py198 _cache.clear()
223 _cache = {} variable
237 p, loc = _cache[cachekey]
253 if len(_cache) >= _MAXCACHE:
254 _cache.clear()
261 _cache[cachekey] = p, loc
/external/python/cpython2/Lib/test/
H A Dtest_fnmatch.py6 from fnmatch import fnmatch, fnmatchcase, _MAXCACHE, _cache namespace
7 from fnmatch import fnmatch, fnmatchcase, _MAXCACHE, _cache, _purge namespace
65 self.assertLessEqual(len(_cache), _MAXCACHE)
/external/python/cpython3/Lib/encodings/
H A D__init__.py35 _cache = {} variable
74 entry = _cache.get(encoding, _unknown)
118 _cache[encoding] = None
139 _cache[encoding] = entry
/external/tensorflow/tensorflow/python/summary/writer/
H A Dwriter_cache.py35 _cache = {} variable in class:FileWriterCache
46 for item in FileWriterCache._cache.values():
48 FileWriterCache._cache = {}
61 if logdir not in FileWriterCache._cache:
62 FileWriterCache._cache[logdir] = FileWriter(
64 return FileWriterCache._cache[logdir]
/external/python/cpython2/Lib/xml/etree/
H A DElementPath.py235 _cache = {} variable
252 selector = _cache[path]
254 if len(_cache) > 100:
255 _cache.clear()
272 _cache[path] = selector
/external/python/cpython3/Lib/xml/etree/
H A DElementPath.py244 _cache = {} variable
263 selector = _cache[cache_key]
265 if len(_cache) > 100:
266 _cache.clear()
286 _cache[cache_key] = selector
/external/lzma/CS/7zip/Compress/RangeCoder/
H A DRangeCoder.cs14 byte _cache; field in class:SevenZip.Compression.RangeCoder.Encoder
35 _cache = 0;
69 byte temp = _cache;
76 _cache = (byte)(((uint)Low) >> 24);
/external/lzma/Java/SevenZip/Compression/RangeCoder/
H A DEncoder.java17 int _cache; field in class:Encoder
37 _cache = 0;
57 int temp = _cache;
64 _cache = (((int)Low) >>> 24);
/external/python/cpython2/Lib/multiprocessing/
H A Dreduction.py89 _cache = set() variable
92 global _lock, _listener, _cache
93 for h in _cache:
95 _cache.clear()
126 _cache.remove(handle_wanted)
146 _cache.add(dup_handle)
/external/python/cpython3/Lib/
H A Dfilecmp.py19 _cache = {} variable
27 _cache.clear()
60 outcome = _cache.get((f1, f2, s1, s2))
63 if len(_cache) > 100: # limit the maximum size of the cache
65 _cache[f1, f2, s1, s2] = outcome
H A Dre.py237 _cache.clear()
281 _cache = {} variable
289 p, loc = _cache[type(pattern), pattern, flags]
303 if len(_cache) >= _MAXCACHE:
304 _cache.clear()
311 _cache[type(pattern), pattern, flags] = p, loc
/external/lzma/CPP/7zip/Common/
H A DLimitedStreams.h193 const Byte *_cache; member in class:CLimitedCachedInStream
205 _cache = Buffer;
/external/tensorflow/tensorflow/python/ops/distributions/
H A Dbijector_impl.py599 self._cache(mapping)
633 self._cache(mapping)
680 self._cache(mapping)
737 self._cache(mapping)
780 def _cache(self, mapping): member in class:Bijector
798 # Since _cache requires both x,y to be set, we only need to do one cache
/external/mesa3d/src/amd/vulkan/
H A Dradv_pipeline_cache.c385 VkPipelineCache _cache,
389 RADV_FROM_HANDLE(radv_pipeline_cache, cache, _cache);
400 VkPipelineCache _cache,
405 RADV_FROM_HANDLE(radv_pipeline_cache, cache, _cache);
383 radv_DestroyPipelineCache( VkDevice _device, VkPipelineCache _cache, const VkAllocationCallbacks* pAllocator) argument
398 radv_GetPipelineCacheData( VkDevice _device, VkPipelineCache _cache, size_t* pDataSize, void* pData) argument
H A Dradv_pipeline.c1429 VkPipelineCache _cache,
1436 RADV_FROM_HANDLE(radv_pipeline_cache, cache, _cache);
1486 VkPipelineCache _cache,
1492 RADV_FROM_HANDLE(radv_pipeline_cache, cache, _cache);
1427 radv_graphics_pipeline_create( VkDevice _device, VkPipelineCache _cache, const VkGraphicsPipelineCreateInfo *pCreateInfo, const struct radv_graphics_pipeline_create_info *extra, const VkAllocationCallbacks *pAllocator, VkPipeline *pPipeline) argument
1484 radv_compute_pipeline_create( VkDevice _device, VkPipelineCache _cache, const VkComputePipelineCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipeline) argument
/external/mesa3d/src/intel/vulkan/
H A Danv_pipeline_cache.c450 VkPipelineCache _cache,
454 ANV_FROM_HANDLE(anv_pipeline_cache, cache, _cache);
466 VkPipelineCache _cache,
471 ANV_FROM_HANDLE(anv_pipeline_cache, cache, _cache);
448 anv_DestroyPipelineCache( VkDevice _device, VkPipelineCache _cache, const VkAllocationCallbacks* pAllocator) argument
464 anv_GetPipelineCacheData( VkDevice _device, VkPipelineCache _cache, size_t* pDataSize, void* pData) argument
/external/jmdns/src/javax/jmdns/impl/
H A DJmDNSImpl.java90 private final DNSCache _cache; field in class:JmDNSImpl
397 _cache = new DNSCache(100);
661 return _cache;
1883 aLog.append(_cache.toString());
/external/annotation-tools/asmx/test/lib/
H A Djakarta-oro-2.0.8.jar ... FileFilter { org.apache.oro.text.PatternCache _cache org.apache.oro.text.regex. ...
H A Dserp.jarMETA-INF/ META-INF/MANIFEST.MF serp/ serp/bytecode/ serp/bytecode/lowlevel/ serp/bytecode/visitor/ serp/ ...
/external/guice/extensions/persist/lib/
H A Doro-2.0.8.jar ... FileFilter { org.apache.oro.text.PatternCache _cache org.apache.oro.text.regex. ...
/external/annotation-tools/asmx/
H A Dserp.jarMETA-INF/ META-INF/MANIFEST.MF serp/TestAll.class " package serp public serp.TestAll ...
/external/guice/extensions/struts2/lib/
H A Djetty-6.1.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mortbay/ org/mortbay/jetty/ org/mortbay/jetty/webapp/ ...

Completed in 654 milliseconds

12