Home
last modified time | relevance | path

Searched full:cache (Results 1 – 25 of 4266) sorted by relevance

12345678910>>...171

/third_party/node/deps/npm/node_modules/cacache/locales/
Den.js16 x.ls = cache => ls(cache) argument
17 x.ls.stream = cache => ls.stream(cache) argument
19 x.get = (cache, key, opts) => get(cache, key, opts) argument
20 x.get.byDigest = (cache, hash, opts) => get.byDigest(cache, hash, opts) argument
21 x.get.sync = (cache, key, opts) => get.sync(cache, key, opts) argument
22 x.get.sync.byDigest = (cache, key, opts) => get.sync.byDigest(cache, key, opts) argument
23 x.get.stream = (cache, key, opts) => get.stream(cache, key, opts) argument
24 x.get.stream.byDigest = (cache, hash, opts) => get.stream.byDigest(cache, hash, opts) argument
25 x.get.copy = (cache, key, dest, opts) => get.copy(cache, key, dest, opts) argument
26 x.get.copy.byDigest = (cache, hash, dest, opts) => get.copy.byDigest(cache, hash, dest, opts) argument
[all …]
Des.js16 x.ls = cache => ls(cache) argument
17 x.ls.flujo = cache => ls.stream(cache) argument
19 x.saca = (cache, clave, ops) => get(cache, clave, ops) argument
20 x.saca.porHacheo = (cache, hacheo, ops) => get.byDigest(cache, hacheo, ops) argument
21 x.saca.sinc = (cache, clave, ops) => get.sync(cache, clave, ops) argument
22 x.saca.sinc.porHacheo = (cache, hacheo, ops) => get.sync.byDigest(cache, hacheo, ops) argument
23 x.saca.flujo = (cache, clave, ops) => get.stream(cache, clave, ops) argument
24 x.saca.flujo.porHacheo = (cache, hacheo, ops) => get.stream.byDigest(cache, hacheo, ops) argument
25 x.sava.copia = (cache, clave, destino, opts) => get.copy(cache, clave, destino, opts) argument
26 x.sava.copia.porHacheo = (cache, hacheo, destino, opts) => get.copy.byDigest(cache, hacheo, destino… argument
[all …]
/third_party/freetype/src/cache/
Dftccache.c5 * The FreeType internal cache interface (body).
27 #define FT_COMPONENT cache
41 /***** CACHE NODE DEFINITIONS *****/
86 /* get a top bucket for specified hash from cache,
87 * body for FTC_NODE_TOP_FOR_HASH( cache, hash )
90 ftc_get_top_node_for_hash( FTC_Cache cache, in ftc_get_top_node_for_hash() argument
97 idx = hash & cache->mask; in ftc_get_top_node_for_hash()
98 if ( idx < cache->p ) in ftc_get_top_node_for_hash()
99 idx = hash & ( 2 * cache->mask + 1 ); in ftc_get_top_node_for_hash()
100 pnode = cache->buckets + idx; in ftc_get_top_node_for_hash()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/cache/
Dftccache.c5 * The FreeType internal cache interface (body).
28 #define FT_COMPONENT cache
42 /***** CACHE NODE DEFINITIONS *****/
87 /* get a top bucket for specified hash from cache,
88 * body for FTC_NODE_TOP_FOR_HASH( cache, hash )
91 ftc_get_top_node_for_hash( FTC_Cache cache, in ftc_get_top_node_for_hash() argument
98 idx = hash & cache->mask; in ftc_get_top_node_for_hash()
99 if ( idx < cache->p ) in ftc_get_top_node_for_hash()
100 idx = hash & ( 2 * cache->mask + 1 ); in ftc_get_top_node_for_hash()
101 pnode = cache->buckets + idx; in ftc_get_top_node_for_hash()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Dvideotexturecache.m36 GstVideoTextureCache *cache; field
46 CVOpenGLESTextureCacheRef cache; typedef
49 CVOpenGLTextureCacheRef cache;
60 GstVideoTextureCache *cache = g_new0 (GstVideoTextureCache, 1);
62 cache->ctx = gst_object_ref (ctx);
63 gst_video_info_init (&cache->input_info);
70 (__bridge CVEAGLContext) (gpointer)gst_gl_context_get_gl_context (ctx), NULL, &cache->cache);
74 cache->pool = GST_BUFFER_POOL (gst_gl_buffer_pool_new (ctx));
78 return cache;
82 gst_video_texture_cache_free (GstVideoTextureCache * cache)
[all …]
/third_party/node/deps/npm/man/man1/
Dnpm-cache.11 .TH "NPM\-CACHE" "1" "February 2021" "" ""
3 \fBnpm-cache\fR \- Manipulates packages cache
8 npm cache add <tarball file>
9 npm cache add <folder>
10 npm cache add <tarball url>
11 npm cache add <name>@<version>
13 npm cache clean [<path>]
14 aliases: npm cache clear, npm cache rm
16 npm cache verify
21 Used to add, list, or clean the npm cache folder\.
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dunifiedcachetest.cpp98 const UnifiedCache *cache = UnifiedCache::getInstance(status); in TestEvictionUnderStress() local
99 int64_t evictedCountBefore = cache->autoEvictedCount(); in TestEvictionUnderStress()
103 int64_t evictedCountAfter = cache->autoEvictedCount(); in TestEvictionUnderStress()
105 dataerrln("%s:%d Items should have been evicted from cache", in TestEvictionUnderStress()
116 // cache API incorrectly by creating their own cache instances. in TestEvictionPolicy()
121 // their own cache! in TestEvictionPolicy()
122 UnifiedCache cache(status); in TestEvictionPolicy() local
126 cache.setEvictionPolicy(0, 100, status); in TestEvictionPolicy()
137 cache.get( in TestEvictionPolicy()
139 &cache, in TestEvictionPolicy()
[all …]
/third_party/node/deps/npm/docs/content/cli-commands/
Dnpm-cache.md3 title: npm-cache
4 description: Manipulates packages cache
7 # npm-cache(1)
9 ## Manipulates packages cache
14 npm cache add <tarball file>
15 npm cache add <folder>
16 npm cache add <tarball url>
17 npm cache add <name>@<version>
19 npm cache clean [<path>]
20 aliases: npm cache clear, npm cache rm
[all …]
/third_party/glib/gio/xdgmime/
Dxdgmimecache.c42 #warning Building xdgmime without MMAP support. Binary "mime.info" cache files will not be used.
84 #define GET_UINT16(cache,offset) (ntohs(*(xdg_uint16_t*)((cache) + (offset)))) argument
85 #define GET_UINT32(cache,offset) (ntohl(*(xdg_uint32_t*)((cache) + (offset)))) argument
88 _xdg_mime_cache_ref (XdgMimeCache *cache) in _xdg_mime_cache_ref() argument
90 cache->ref_count++; in _xdg_mime_cache_ref()
91 return cache; in _xdg_mime_cache_ref()
95 _xdg_mime_cache_unref (XdgMimeCache *cache) in _xdg_mime_cache_unref() argument
97 cache->ref_count--; in _xdg_mime_cache_unref()
99 if (cache->ref_count == 0) in _xdg_mime_cache_unref()
102 munmap (cache->buffer, cache->size); in _xdg_mime_cache_unref()
[all …]
/third_party/e2fsprogs/lib/blkid/
Dcache.c2 * cache.c - allocation/initialization/free routines for cache
62 static blkid_debug_dump_cache(int mask, blkid_cache cache)
66 if (!cache) {
67 printf("cache: NULL\n");
71 printf("cache: time = %lu\n", cache->bic_time);
72 printf("cache: flags = 0x%08X\n", cache->bic_flags);
74 list_for_each(p, &cache->bic_devs) {
83 blkid_cache cache; in blkid_get_cache() local
95 DBG(DEBUG_CACHE, printf("creating blkid cache (using %s)\n", in blkid_get_cache()
96 filename ? filename : "default cache")); in blkid_get_cache()
[all …]
/third_party/node/deps/npm/lib/
Dcache.js19 cache.usage = 'npm cache add <tarball file>' +
20 '\nnpm cache add <folder>' +
21 '\nnpm cache add <tarball url>' +
22 '\nnpm cache add <git url>' +
23 '\nnpm cache add <name>@<version>' +
24 '\nnpm cache clean' +
25 '\nnpm cache verify'
27 cache.completion = function (opts, cb) {
41 exports = module.exports = cache
42 function cache (args, cb) { function
[all …]
/third_party/node/tools/node_modules/eslint/node_modules/flat-cache/
DREADME.md1 # flat-cache
4 …[NPM Version](http://img.shields.io/npm/v/flat-cache.svg?style=flat)](https://npmjs.org/package/fl…
5 …http://img.shields.io/travis/royriojas/flat-cache.svg?style=flat)](https://travis-ci.org/royriojas…
10 npm i --save flat-cache
16 var flatCache = require('flat-cache')
17 // loads the cache, if one does not exists for the given
19 var cache = flatCache.load('cacheId');
21 // sets a key on the cache
22 cache.setKey('key', { foo: 'var' });
24 // get a key from the cache
[all …]
Dcache.js7 var cache = { variable
9 …* Load a cache identified by the given Id. If the element does not exists, then initialize an empty
10 …* cache storage. If specified `cacheDir` will be used as the directory to persist the data to. If …
11 * then the cache module directory `./cache` will be used instead
14 * @param docId {String} the id of the cache, would also be used as the name of the file cache
15 * @param [cacheDir] {String} directory for the cache entry
22 …oFile = cacheDir ? path.resolve( cacheDir, docId ) : path.resolve( __dirname, './.cache/', docId );
30 * Load the cache from the provided file
32 * @param {String} pathToFile the path to the file containing the info for the cache
65 * remove a given key from the cache
[all …]
Dchangelog.md2 # flat-cache - Changelog
5 …- upgrade node modules to latest versions - [6402ed3]( https://github.com/royriojas/flat-cache/com…
10 …- upgrade package.json lock file - [8d21c7b]( https://github.com/royriojas/flat-cache/commit/8d21c…
13 …of node_js that eslint use - [8d23379]( https://github.com/royriojas/flat-cache/commit/8d23379 ), …
17 …([#36](https://github.com/royriojas/flat-cache/issues/36)) - [b93aced]( https://github.com/royrioj…
20 …([#37](https://github.com/royriojas/flat-cache/issues/37)) - [745e65a]( https://github.com/royrioj…
40 … of files to be beautified - [9d0ca9b]( https://github.com/royriojas/flat-cache/commit/9d0ca9b ), …
45 …- Make sure package-lock.json is up to date - [a7d2598]( https://github.com/royriojas/flat-cache/c…
49 …([#33](https://github.com/royriojas/flat-cache/issues/33)) - [c429012]( https://github.com/royrioj…
65 …- remove yarn.lock file - [704c6c4]( https://github.com/royriojas/flat-cache/commit/704c6c4 ), [Ro…
[all …]
/third_party/ejdb/src/bindings/ejdb2_dart/
D.packages2 _fe_analyzer_shared:file:///home/adam/.pub-cache/hosted/pub.dartlang.org/_fe_analyzer_shared-7.0.0/…
3 analyzer:file:///home/adam/.pub-cache/hosted/pub.dartlang.org/analyzer-0.39.17/lib/
4 args:file:///home/adam/.pub-cache/hosted/pub.dartlang.org/args-1.6.0/lib/
5 async:file:///home/adam/.pub-cache/hosted/pub.dartlang.org/async-2.5.0-nullsafety.3/lib/
6 boolean_selector:file:///home/adam/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0-nullsa…
7 charcode:file:///home/adam/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0-nullsafety.3/lib/
8 cli_util:file:///home/adam/.pub-cache/hosted/pub.dartlang.org/cli_util-0.2.0/lib/
9 collection:file:///home/adam/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0-nullsafety.5/lib/
10 convert:file:///home/adam/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/
11 coverage:file:///home/adam/.pub-cache/hosted/pub.dartlang.org/coverage-0.14.0/lib/
[all …]
/third_party/node/deps/npm/node_modules/cross-spawn/node_modules/lru-cache/
DREADME.md1 # lru cache
3 A cache object that deletes the least-recently-used items.
5cache.svg?branch=master)](https://travis-ci.org/isaacs/node-lru-cache) [![Coverage Status](https:/…
10 npm install lru-cache --save
16 var LRU = require("lru-cache")
21 , cache = LRU(options)
24 cache.set("key", "value")
25 cache.get("key") // "value"
31 cache.set(someObject, 'a value')
33 cache.set('[object Object]', 'a different value')
[all …]
/third_party/node/deps/npm/node_modules/lru-cache/
DREADME.md1 # lru cache
3 A cache object that deletes the least-recently-used items.
5cache.svg?branch=master)](https://travis-ci.org/isaacs/node-lru-cache) [![Coverage Status](https:/…
10 npm install lru-cache --save
16 var LRU = require("lru-cache")
21 , cache = new LRU(options)
24 cache.set("key", "value")
25 cache.get("key") // "value"
31 cache.set(someObject, 'a value')
33 cache.set('[object Object]', 'a different value')
[all …]
/third_party/python/Lib/
Dlinecache.py1 """Cache lines from Python source files.
23 # The cache
25 # The cache. Maps filenames to either a thunk which will provide source code,
27 cache = {} variable
31 """Clear the cache entirely."""
33 global cache
34 cache = {}
38 """Get the lines for a Python source file from the cache.
39 Update the cache if it doesn't contain an entry for this file already."""
41 if filename in cache:
[all …]
/third_party/flutter/skia/tests/
DResourceCacheTest.cpp55 // Set the cache limits so we can fit 10 "src" images and the in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
353 GrResourceCache* cache = fContext->priv().getResourceCache(); in Mock() local
354 cache->purgeAllUnlocked(); in Mock()
355 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes()); in Mock()
358 GrResourceCache* cache() { return fContext->priv().getResourceCache(); } in cache() function in Mock
373 GrResourceCache* cache = mock.cache(); in test_no_key() local
383 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_no_key()
385 d->gpuMemorySize() == cache->getResourceBytes()); in test_no_key()
388 cache->purgeAllUnlocked(); in test_no_key()
395 REPORTER_ASSERT(reporter, 3 == cache->getResourceCount()); in test_no_key()
[all …]
/third_party/node/deps/npm/node_modules/cacache/
Dget.js20 module.exports = function get (cache, key, opts) { argument
21 return getData(false, cache, key, opts)
23 module.exports.byDigest = function getByDigest (cache, digest, opts) { argument
24 return getData(true, cache, digest, opts)
26 function getData (byDigest, cache, key, opts) { argument
30 ? memo.get.byDigest(cache, key, opts)
31 : memo.get(cache, key, opts)
42 byDigest ? BB.resolve(null) : index.find(cache, key, opts)
45 throw new index.NotFoundError(cache, key)
47 return read(cache, byDigest ? key : entry.integrity, {
[all …]
/third_party/boost/libs/compute/test/
Dtest_program_cache.cpp26 // get program cache in BOOST_AUTO_TEST_CASE()
27 boost::shared_ptr<compute::program_cache> cache = in BOOST_AUTO_TEST_CASE() local
31 BOOST_CHECK(cache->get(std::string()) == boost::none); in BOOST_AUTO_TEST_CASE()
34 BOOST_CHECK(cache->get("nonexistant") == boost::none); in BOOST_AUTO_TEST_CASE()
45 cache->insert("p1", p1); in BOOST_AUTO_TEST_CASE()
48 BOOST_CHECK(cache->get("p1") == p1); in BOOST_AUTO_TEST_CASE()
56 // check that the cache is the same in BOOST_AUTO_TEST_CASE()
59 BOOST_CHECK(cache_copy == cache); in BOOST_AUTO_TEST_CASE()
67 // create cache with capacity of four and insert four programs in BOOST_AUTO_TEST_CASE()
68 compute::program_cache cache(4); in BOOST_AUTO_TEST_CASE() local
[all …]
/third_party/gstreamer/gstreamer/gst/
Dgstregistrybinary.c106 BinaryRegistryCache *cache = g_slice_new0 (BinaryRegistryCache); in gst_registry_binary_cache_init() local
107 cache->location = location; in gst_registry_binary_cache_init()
108 return cache; in gst_registry_binary_cache_init()
112 gst_registry_binary_cache_write (BinaryRegistryCache * cache, in gst_registry_binary_cache_write() argument
115 cache->len = MAX (offset + length, cache->len); in gst_registry_binary_cache_write()
116 cache->mem = g_realloc (cache->mem, cache->len); in gst_registry_binary_cache_write()
118 memcpy (cache->mem + offset, data, length); in gst_registry_binary_cache_write()
124 gst_registry_binary_cache_finish (BinaryRegistryCache * cache, gboolean success) in gst_registry_binary_cache_finish() argument
128 if (!g_file_set_contents (cache->location, (const gchar *) cache->mem, in gst_registry_binary_cache_finish()
129 cache->len, &error)) { in gst_registry_binary_cache_finish()
[all …]
/third_party/boost/tools/build/src/build/
Dconfig-cache.jam25 if $(.cache-file)
27 local cache-file-native = [ path.native $(.cache-file) ] ;
28 local target = <new-cache-file>$(cache-file-native) ;
29 … local contents = "# Automatically generated by B2.\n# Do not edit.\n\nmodule config-cache {\n" ;
43 config-cache.write $(target) ;
63 rule load ( cache-file )
65 if $(.cache-file)
67 errors.error duplicate load of cache file ;
69 cache-file = [ path.native $(cache-file) ] ;
70 if [ path.exists $(cache-file) ] && ! ( --reconfigure in [ modules.peek : ARGV ] )
[all …]
/third_party/flutter/engine/flutter/flow/
Draster_cache_unittests.cc21 flutter::RasterCache cache; in TEST() local
27 flutter::RasterCache cache(threshold); in TEST() local
36 ASSERT_FALSE(cache.Prepare(NULL, picture.get(), matrix, srgb.get(), true, in TEST()
38 cache.SweepAfterFrame(); in TEST()
39 ASSERT_FALSE(cache.Prepare(NULL, picture.get(), matrix, srgb.get(), true, in TEST()
41 cache.SweepAfterFrame(); in TEST()
42 ASSERT_TRUE(cache.Prepare(NULL, picture.get(), matrix, srgb.get(), true, in TEST()
44 cache.SweepAfterFrame(); in TEST()
49 flutter::RasterCache cache(threshold); in TEST() local
58 ASSERT_FALSE(cache.Prepare(NULL, picture.get(), matrix, srgb.get(), true, in TEST()
[all …]
/third_party/node/tools/node_modules/eslint/node_modules/v8-compile-cache/
DREADME.md1 # v8-compile-cache
3 …ttps://travis-ci.org/zertosh/v8-compile-cache.svg?branch=master)](https://travis-ci.org/zertosh/v8…
5cache` attaches a `require` hook to use [V8's code cache](https://v8project.blogspot.com/2015/07/c…
7 The ability to tap into V8 to produce/consume this cache was introduced in [Node v5.7.0](https://no…
14 $ npm install --save v8-compile-cache
20 require('v8-compile-cache');
23 …ing `v8-compile-cache` in Node <5.7.0 is a noop – but you need at least Node 4.0.0 to support the …
27 Set the environment variable `DISABLE_V8_COMPILE_CACHE=1` to disable the cache.
31cache/V8_VERSION`, where there are `.BLOB` and `.MAP` files corresponding to the entry module that…
35 See https://github.com/zertosh/v8-compile-cache/tree/master/bench.
[all …]

12345678910>>...171