Home
last modified time | relevance | path

Searched refs:cached (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/external/syslinux/gpxe/src/net/infiniband/
Dib_pathrec.c183 struct ib_cached_path *cached; in ib_find_path_cache_entry() local
187 cached = &ib_path_cache[i]; in ib_find_path_cache_entry()
188 if ( ! cached->path ) in ib_find_path_cache_entry()
190 if ( cached->path->ibdev != ibdev ) in ib_find_path_cache_entry()
192 if ( memcmp ( &cached->path->av.gid, dgid, in ib_find_path_cache_entry()
193 sizeof ( cached->path->av.gid ) ) != 0 ) in ib_find_path_cache_entry()
195 return cached; in ib_find_path_cache_entry()
212 struct ib_cached_path *cached = ib_path_get_ownerdata ( path ); in ib_cached_path_complete() local
218 memset ( cached, 0, sizeof ( *cached ) ); in ib_cached_path_complete()
244 struct ib_cached_path *cached; in ib_resolve_path() local
[all …]
/external/python/cpython3/Lib/test/test_importlib/
Dtest_spec.py70 self.cached = self.util.cache_from_source(self.path)
85 self.assertIs(spec.cached, None)
96 self.assertIs(spec.cached, None)
108 self.assertIs(spec.cached, None)
120 self.assertIs(spec.cached, None)
136 cached=None,
147 cached=self.cached,
158 cached=None,
184 before = self.spec.cached
185 self.spec.cached = 'there'
[all …]
Dtest_api.py255 cached = self.util.cache_from_source(path)
259 '__cached__': cached,
276 cached = self.util.cache_from_source(init_path)
280 '__cached__': cached,
306 cached = self.util.cache_from_source(bad_path)
333 cached = self.util.cache_from_source(init_path)
337 '__cached__': cached,
/external/ltp/testcases/kernel/syscalls/readahead/
Dreadahead02.c203 unsigned long *cached) in read_testfile() argument
227 *cached = get_cached_size(); in read_testfile()
228 if (*cached > cached_start) { in read_testfile()
230 (*cached - cached_start)); in read_testfile()
242 *cached = get_cached_size(); in read_testfile()
272 *cached = get_cached_size(); in read_testfile()
289 unsigned long cached_max, cached_low, cached, cached_ra; in test_readahead() local
294 read_testfile(0, testfile, testfile_size, &read_bytes, &usec, &cached); in test_readahead()
302 read_testfile(0, testfile, testfile_size, &read_bytes, &usec, &cached); in test_readahead()
303 if (cached > cached_low) in test_readahead()
[all …]
/external/ltp/testcases/cve/
Dmeltdown.c239 long cached, uncached, i; in set_cache_hit_threshold() local
241 for (cached = 0, i = 0; i < ESTIMATE_CYCLES; i++) in set_cache_hit_threshold()
242 cached += get_access_time(target_array); in set_cache_hit_threshold()
244 for (cached = 0, i = 0; i < ESTIMATE_CYCLES; i++) in set_cache_hit_threshold()
245 cached += get_access_time(target_array); in set_cache_hit_threshold()
252 cached /= ESTIMATE_CYCLES; in set_cache_hit_threshold()
255 cache_hit_threshold = mysqrt(cached * uncached); in set_cache_hit_threshold()
259 cached, uncached, cache_hit_threshold); in set_cache_hit_threshold()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DEngine.java151 EngineResource<?> cached = getFromCache(key); in load() local
152 if (cached != null) { in load()
153 cached.acquire(); in load()
154 … activeResources.put(key, new ResourceWeakReference(key, cached, resourceReferenceQueue)); in load()
155 cb.onResourceReady(cached); in load()
206 Resource<?> cached = cache.remove(key); in getFromCache() local
209 if (cached == null) { in getFromCache()
211 } else if (cached instanceof EngineResource) { in getFromCache()
213 result = (EngineResource) cached; in getFromCache()
215 result = new EngineResource(cached, true /*isCacheable*/); in getFromCache()
/external/guice/core/src/com/google/inject/internal/util/
DStackTraceElements.java141 InMemoryStackTraceElement cached = in weakIntern() local
143 if (cached != null) { in weakIntern()
144 return cached; in weakIntern()
155 String cached = (String) cache.get(s); in weakIntern() local
156 if (cached != null) { in weakIntern()
157 return cached; in weakIntern()
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DImageSource.java31 private boolean cached; field in ImageSource
33 private ImageSource(Bitmap bitmap, boolean cached) { in ImageSource() argument
40 this.cached = cached; in ImageSource()
242 return cached; in isCached()
/external/libunwind/doc/
Dunw_flush_cache.tex8 …David Mosberger-Tang}{Programming Library}{unw\_flush\_cache}unw\_flush\_cache -- flush cached info
19 The \Func{unw\_flush\_cache}() routine flushes all cached info as it
21 target address-space \Var{as}. In addition, all info cached for
24 list is not tied to a code-range and its cached value (if any) is
32 information cached on behalf of address space \Var{as} is flushed.
/external/skia/src/core/
DSkXfermode.cpp106 static SkXfermode* cached[COUNT_BLENDMODES]; in Make() local
110 cached[(int)mode] = xfermode; in Make()
112 cached[(int)mode] = new SkProcCoeffXfermode(mode); in Make()
115 return sk_ref_sp(cached[(int)mode]); in Make()
/external/skqp/src/core/
DSkXfermode.cpp106 static SkXfermode* cached[COUNT_BLENDMODES]; in Make() local
110 cached[(int)mode] = xfermode; in Make()
112 cached[(int)mode] = new SkProcCoeffXfermode(mode); in Make()
115 return sk_ref_sp(cached[(int)mode]); in Make()
/external/v8/src/js/
Dtemplates.js69 var cached = GetCachedCallSite(rawStrings, hash);
71 if (!IS_UNDEFINED(cached)) return cached;
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
Dcodegen.py112 cached = eval(node.attributes.get('cached', 'False'))
125 cached = eval(pagetag.attributes.get('cached', 'False'))
132 cached = False
142 buffered, filtered, cached)
268 cached): argument
286 if buffered or filtered or cached:
309 self.write_def_finish(self.node, buffered, filtered, cached)
312 if cached:
586 cached = eval(node.attributes.get('cached', 'False'))
592 if buffered or filtered or cached:
[all …]
/external/python/cpython3/Lib/importlib/
D_bootstrap.py384 self.cached == other.cached and
390 def cached(self): member in ModuleSpec
398 @cached.setter
399 def cached(self, cached): argument
400 self._cached = cached
478 cached = module.__cached__
480 cached = None
488 spec.cached = cached
545 if spec.cached is not None:
547 module.__cached__ = spec.cached
/external/vixl/tools/
Dlint.py238 def RunLinter(files, jobs=1, progress_prefix='', cached=True): argument
239 results = {} if not cached else ReadCachedResults()
260 cached = not args.no_cache variable
261 retcode = RunLinter(files, jobs=args.jobs, cached=cached)
/external/iproute2/lib/
Dnames.c162 if (db->cached && strcmp(db->cached->name, name) == 0) { in name_to_id()
163 *id = db->cached->id; in name_to_id()
173 db->cached = entry; in name_to_id()
/external/lzma/CPP/7zip/Crypto/
D7zAes.cpp83 const CKeyInfo &cached = Keys[i]; in GetKey() local
84 if (key.IsEqualTo(cached)) in GetKey()
87 key.Key[j] = cached.Key[j]; in GetKey()
100 const CKeyInfo &cached = Keys[i]; in FindAndAdd() local
101 if (key.IsEqualTo(cached)) in FindAndAdd()
/external/python/cpython2/Lib/test/
Dtest_linecache.py79 cached = []
82 cached.append(filename)
86 cached_empty = [fn for fn in cached if fn not in linecache.cache]
91 cached_empty = [fn for fn in cached if fn in linecache.cache]
/external/python/cpython3/Lib/test/
Dtest_linecache.py134 cached = []
137 cached.append(filename)
141 self.assertNotEqual(cached, [])
142 cached_empty = [fn for fn in cached if fn not in linecache.cache]
147 cached_empty = [fn for fn in cached if fn in linecache.cache]
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp160 bool cached = fGpu->glCaps().programBinarySupport() && nullptr != fCached.get(); in finalize() local
161 if (cached) { in finalize()
179 cached = this->checkLinkStatus(programID); in finalize()
181 cached = false; in finalize()
184 if (!cached) { in finalize()
280 if (!cached && this->gpu()->getContext()->getPersistentCache() && in finalize()
/external/javassist/src/main/javassist/scopedpool/
DScopedClassPool.java250 CtClass cached = (CtClass)classes.get(classname); in getCachedLocally() local
251 if (cached != null) in getCachedLocally()
252 return cached; in getCachedLocally()
/external/python/cpython3/Lib/
Drunpy.py71 cached = None
75 cached = mod_spec.cached
80 __cached__ = cached,
/external/skqp/src/image/
DSkSurface_Raster.cpp155 sk_sp<SkImage> cached(this->refCachedImage()); in onCopyOnWrite() local
156 SkASSERT(cached); in onCopyOnWrite()
157 if (SkBitmapImageGetPixelRef(cached.get()) == fBitmap.pixelRef()) { in onCopyOnWrite()
/external/tensorflow/tensorflow/python/eager/
Dbackprop.py775 cached = _zeros_cache.get(cache_key)
776 if cached is None:
777 cached = _fast_fill(0, shape, dtype)
778 _zeros_cache.put(cache_key, cached)
779 return cached
/external/skia/src/image/
DSkSurface_Raster.cpp164 sk_sp<SkImage> cached(this->refCachedImage()); in onCopyOnWrite() local
165 SkASSERT(cached); in onCopyOnWrite()
166 if (SkBitmapImageGetPixelRef(cached.get()) == fBitmap.pixelRef()) { in onCopyOnWrite()

12345678910>>...13