Home
last modified time | relevance | path

Searched refs:cached (Results 1 - 25 of 121) sorted by relevance

12345

/third_party/python/Lib/test/test_importlib/
H A 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,
181 # cached
[all...]
H A Dtest_api.py257 cached = self.util.cache_from_source(path)
261 '__cached__': cached,
278 cached = self.util.cache_from_source(init_path)
282 '__cached__': cached,
308 cached = self.util.cache_from_source(bad_path)
337 cached = self.util.cache_from_source(init_path)
341 '__cached__': cached,
/third_party/ltp/testcases/kernel/syscalls/readahead/
H A Dreadahead02.c151 * @cached: returns cached kB from /proc/meminfo
156 unsigned long *cached) in read_testfile()
178 *cached = get_cached_size(); in read_testfile()
202 *cached = get_cached_size(); in read_testfile()
219 unsigned long cached_high, cached_low, cached, cached_ra; in test_readahead() local
234 &cached); in test_readahead()
243 &cached); in test_readahead()
244 if (cached > cached_low) in test_readahead()
245 cached in test_readahead()
153 read_testfile(struct tcase *tc, int do_readahead, const char *fname, size_t fsize, unsigned long *read_bytes, long long *usec, unsigned long *cached) read_testfile() argument
[all...]
/third_party/ltp/testcases/cve/
H A Dmeltdown.c225 long cached, uncached, i; in set_cache_hit_threshold() local
227 for (cached = 0, i = 0; i < ESTIMATE_CYCLES; i++) in set_cache_hit_threshold()
228 cached += get_access_time(target_array); in set_cache_hit_threshold()
230 for (cached = 0, i = 0; i < ESTIMATE_CYCLES; i++) in set_cache_hit_threshold()
231 cached += get_access_time(target_array); in set_cache_hit_threshold()
238 cached /= ESTIMATE_CYCLES; in set_cache_hit_threshold()
241 cache_hit_threshold = mysqrt(cached * uncached); in set_cache_hit_threshold()
244 "access time: cached = %ld, uncached = %ld, threshold = %d", in set_cache_hit_threshold()
245 cached, uncached, cache_hit_threshold); in set_cache_hit_threshold()
/third_party/ntfs-3g/libntfs-3g/
H A Dsecurity.c1476 static int compare(const struct CACHED_SECURID *cached, in compare() argument
1484 csize = (cached->variable ? in compare()
1486 + (((struct POSIX_SECURITY*)cached->variable)->acccnt in compare()
1487 + ((struct POSIX_SECURITY*)cached->variable)->defcnt) in compare()
1496 return ((cached->uid != item->uid) in compare()
1497 || (cached->gid != item->gid) in compare()
1498 || (cached->dmode != item->dmode) in compare()
1502 && memcmp(&((struct POSIX_SECURITY*)cached->variable)->acl, in compare()
1505 return ((cached->uid != item->uid) in compare()
1506 || (cached in compare()
1511 leg_compare(const struct CACHED_PERMISSIONS_LEGACY *cached, const struct CACHED_PERMISSIONS_LEGACY *item) leg_compare() argument
2072 const struct CACHED_PERMISSIONS *cached; ntfs_get_perm() local
2174 const struct CACHED_PERMISSIONS *cached; ntfs_get_posix_acl() local
2305 const struct CACHED_PERMISSIONS *cached; ntfs_get_perm() local
2445 const struct CACHED_PERMISSIONS *cached; ntfs_get_owner_mode() local
2557 const struct CACHED_PERMISSIONS *cached; inherit_posix() local
2652 const struct CACHED_SECURID *cached; ntfs_alloc_securid() local
2796 const struct CACHED_SECURID *cached; ntfs_alloc_securid() local
2879 const struct CACHED_SECURID *cached; ntfs_set_owner_mode() local
3009 const struct CACHED_PERMISSIONS *cached; ntfs_allowed_as_owner() local
3079 const struct CACHED_PERMISSIONS *cached; ntfs_set_posix_acl() local
3255 const struct CACHED_PERMISSIONS *cached; ntfs_set_mode() local
3632 const struct CACHED_PERMISSIONS *cached; ntfs_set_owner() local
3755 const struct CACHED_PERMISSIONS *cached; ntfs_set_ownmod() local
4032 struct CACHED_PERMISSIONS *cached; ntfs_inherited_id() local
[all...]
H A Ddir.c101 int ntfs_dir_inode_hash(const struct CACHED_GENERIC *cached) in ntfs_dir_inode_hash() argument
106 path = (const char*)cached->variable; in ntfs_dir_inode_hash()
122 static int inode_cache_compare(const struct CACHED_GENERIC *cached, in inode_cache_compare() argument
125 return (!cached->variable in inode_cache_compare()
126 || strcmp(cached->variable, wanted->variable)); in inode_cache_compare()
140 static int inode_cache_inv_compare(const struct CACHED_GENERIC *cached, in inode_cache_inv_compare() argument
149 c = (const struct CACHED_INODE*)cached; in inode_cache_inv_compare()
152 different = !cached->variable in inode_cache_inv_compare()
171 static int lookup_cache_compare(const struct CACHED_GENERIC *cached, in lookup_cache_compare() argument
174 const struct CACHED_LOOKUP *c = (const struct CACHED_LOOKUP*) cached; in lookup_cache_compare()
190 lookup_cache_inv_compare(const struct CACHED_GENERIC *cached, const struct CACHED_GENERIC *wanted) lookup_cache_inv_compare() argument
206 ntfs_dir_lookup_hash(const struct CACHED_GENERIC *cached) ntfs_dir_lookup_hash() argument
556 struct CACHED_LOOKUP *cached; ntfs_inode_lookup_by_mbsname() local
611 struct CACHED_LOOKUP *cached; ntfs_inode_update_mbsname() local
664 struct CACHED_INODE *cached; ntfs_pathname_to_inode() local
[all...]
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/gen/
H A Dgenerate.go31 cached struct {
127 if g.cached.intrinsicTable == nil {
129 g.cached.intrinsicTable, err = buildIntrinsicTable(g.s)
134 return g.cached.intrinsicTable, nil
140 if g.cached.permuter == nil {
142 g.cached.permuter, err = buildPermuter(g.s)
147 return g.cached.permuter.Permute(overload)
/third_party/skia/src/gpu/vk/
H A DGrVkPipelineStateBuilder.cpp109 int GrVkPipelineStateBuilder::loadShadersFromCache(SkReadBuffer* cached, in loadShadersFromCache() argument
115 if (!GrPersistentCacheUtils::UnpackCachedShaders(cached, shaders, inputs, kGrShaderTypeCount)) { in loadShadersFromCache()
201 sk_sp<SkData> cached; in finalize() local
212 cached = persistentCache->load(*key); in finalize()
213 if (cached) { in finalize()
214 reader.setMemory(cached->data(), cached->size()); in finalize()
270 if (persistentCache && !cached) { in finalize()
/third_party/libunwind/libunwind/doc/
H A Dunw_flush_cache.tex8 \begin{Name}{3}{unw\_flush\_cache}{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.
/third_party/skia/src/core/
H A DSkXfermode.cpp94 static SkXfermode* cached[COUNT_BLENDMODES]; in Make() local
98 cached[(int)mode] = xfermode; in Make()
100 cached[(int)mode] = new SkProcCoeffXfermode(mode); in Make()
103 return sk_ref_sp(cached[(int)mode]); in Make()
/third_party/vixl/tools/
H A Dlint.py56 Results are cached to speed up the process.
69 help='Do not use cached lint results.')
147 # Filter out files for which we have a cached correct result.
228 def RunLinter(files, jobs=1, progress_prefix='', cached=True):
229 results = {} if not cached else ReadCachedResults()
246 cached = not args.no_cache variable
247 retcode = RunLinter(files, jobs=args.jobs, cached=cached)
/third_party/ntfs-3g/include/ntfs-3g/
H A Dcache.h72 typedef int (*cache_compare)(const struct CACHED_GENERIC *cached,
74 typedef void (*cache_free)(const struct CACHED_GENERIC *cached);
75 typedef int (*cache_hash)(const struct CACHED_GENERIC *cached);
/third_party/node/deps/v8/include/v8-include/
H A Dv8-metrics.h122 WasmModuleCompiled(bool async, bool streamed, bool cached, bool deserialized, in WasmModuleCompiled()
128 cached(cached), in WasmModuleCompiled()
138 bool cached = false; member
/third_party/python/Tools/peg_generator/pegen/
H A Dtokenizer.py36 cached = not self._index == len(self._tokens)
40 self.report(cached, False)
107 def report(self, cached: bool, back: bool) -> None:
110 elif cached:
/third_party/libwebsockets/lib/system/async-dns/
H A Dasync-dns.c63 if (owner == &dns->cached) { in lws_adns_get_query()
66 lws_dll2_add_head(&q->list, &dns->cached); in lws_adns_get_query()
398 lws_dll2_get_head(&dns->cached)) { in lws_adns_get_cache()
406 lws_dll2_add_head(&c->list, &dns->cached); in lws_adns_get_cache()
425 (unsigned int)dns->cached.count); in lws_adns_dump()
428 lws_dll2_get_head(&dns->cached)) { in lws_adns_dump()
528 if (dns->cached.count + 1< MAX_CACHE_ENTRIES) in lws_async_dns_trim_cache()
531 c1 = lws_container_of(lws_dll2_get_tail(&dns->cached), in lws_async_dns_trim_cache()
553 lws_dll2_foreach_safe(&dns->cached, NULL, cache_clean); in lws_async_dns_deinit()
698 /* there's a done, cached quer in lws_async_dns_query()
[all...]
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/arborist/
H A Dload-actual.js50 // caches for cached realpath calls
264 const cached = this.#cache.get(path)
267 if (cached && !cached.dummy) {
268 cached.parent = parent
269 return cached
423 const cached = this.#cache.get(depPath)
424 if (!cached || cached.dummy) {
/third_party/skia/src/gpu/gl/builders/
H A DGrGLProgramBuilder.cpp269 bool cached = fCached.get() != nullptr; in finalize() local
283 } else if (cached) { in finalize()
293 cached = false; in finalize()
309 cached = this->checkLinkStatus(programID, errorHandler, nullptr, nullptr); in finalize()
311 if (cached) { in finalize()
316 cached = false; in finalize()
318 usedProgramBinaries = cached; in finalize()
342 cached = false; in finalize()
353 // Don't have cached GLSL, need to compile SkSL->GLSL in finalize()
388 // Don't have cached GLS in finalize()
[all...]
/third_party/mesa3d/src/panfrost/util/
H A Dpan_sysval.c159 void *cached = _mesa_hash_table_u64_search(sysval_to_id, sysval); in pan_lookup_sysval() local
161 if (cached) { in pan_lookup_sysval()
162 unsigned id = ((uintptr_t) cached) - 1; in pan_lookup_sysval()
/third_party/lzma/CPP/7zip/Crypto/
H A D7zAes.cpp119 const CKeyInfo &cached = Keys[i]; in GetKey() local
120 if (key.IsEqualTo(cached)) in GetKey()
123 key.Key[j] = cached.Key[j]; in GetKey()
136 const CKeyInfo &cached = Keys[i]; in FindAndAdd() local
137 if (key.IsEqualTo(cached)) in FindAndAdd()
/third_party/json/include/nlohmann/detail/conversions/
H A Dto_chars.hpp256 // Given normalized diyfp w, Grisu needs to find a (normalized) cached
322 For a normalized diyfp w = f * 2^e, this function returns a (normalized) cached
367 // range [-307,324]. One does not need to store a cached power for each in get_cached_power_for_binary_exponent()
368 // k in this range. For each such k it suffices to find a cached power in get_cached_power_for_binary_exponent()
481 const cached_power cached = kCachedPowers[static_cast<std::size_t>(index)]; in get_cached_power_for_binary_exponent() local
482 JSON_ASSERT(kAlpha <= cached.e + e + 64); in get_cached_power_for_binary_exponent()
483 JSON_ASSERT(kGamma >= cached.e + e + 64); in get_cached_power_for_binary_exponent()
485 return cached; in get_cached_power_for_binary_exponent()
843 const cached_power cached = get_cached_power_for_binary_exponent(m_plus.e); in grisu2() local
845 const diyfp c_minus_k(cached in grisu2()
[all...]
/third_party/jsframework/runtime/main/util/
H A Dindex.js12 * Create a cached version of a function.
13 * @param {Function} func - The function which to be created a cached version.
14 * @return {Function} The cached version of the function.
16 function cached(func) { function
29 export const camelize = cached(str => {
/third_party/skia/src/gpu/text/
H A DGrStrikeCache.cpp22 if (sk_sp<GrTextStrike>* cached = fCache.find(strikeSpec.descriptor())) { in findOrCreateStrike()
23 return *cached; in findOrCreateStrike()
/third_party/libwebsockets/win32port/dirent/
H A Ddirent-win32.h251 int cached; member
375 dirp->cached = 0; in _wopendir()
601 dirp->cached = 1; in dirent_first()
606 dirp->cached = 0; in dirent_first()
644 if (dirp->cached != 0) { in dirent_next()
648 dirp->cached = 0; in dirent_next()
/third_party/python/Lib/importlib/
H A D_bootstrap.py341 `cached` is the location of the cached bytecode file, if any. It
387 self.cached == other.cached and
393 def cached(self): member in ModuleSpec
401 @cached.setter
402 def cached(self, cached): member in ModuleSpec
403 self._cached = cached
478 cached
[all...]
/third_party/icu/vendor/double-conversion/
H A Dpull-from-upstream.sh55 do_patch_prefix_extension cached-powers cc cpp;
56 do_patch_prefix_extension cached-powers h h;

Completed in 18 milliseconds

12345