/external/guava/guava-tests/test/com/google/common/cache/ |
CacheManualTest.java | 15 package com.google.common.cache; 30 Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(); local 31 CacheStats stats = cache.stats(); 40 assertNull(cache.getIfPresent(one)); 41 stats = cache.stats(); 46 assertNull(cache.asMap().get(one)); 47 assertFalse(cache.asMap().containsKey(one)); 48 assertFalse(cache.asMap().containsValue(two)); 50 assertNull(cache.getIfPresent(two)) 106 Cache<Integer, Integer> cache = CacheBuilder.newBuilder().recordStats().build(); local [all...] |
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
OkUrlFactoryTest.java | 37 private Cache cache; field in class:OkUrlFactoryTest 41 cache = new Cache(new File("/cache/"), 10 * 1024 * 1024, fileSystem); 42 client.setCache(cache); 47 cache.delete(); 84 .addHeader("Cache-Control: max-age=0") 100 .addHeader("Cache-Control: max-age=0") 123 assertResponseHeader(connection2, "CACHE 200") [all...] |
/external/ImageMagick/MagickCore/ |
cache-view.c | 19 % MagickCore Cache View Methods % 51 #include "MagickCore/cache.h" 52 #include "MagickCore/cache-private.h" 53 #include "MagickCore/cache-view.h" 100 % AcquireAuthenticCacheView() acquires an authentic view into the pixel cache. 137 % AcquireVirtualCacheView() acquires a virtual view into the pixel cache, 199 % CloneCacheView() makes an exact copy of the specified cache view. 207 % o cache_view: the cache view. 255 % o cache_view: the cache view. 287 % cache as defined by the geometry parameters. A pointer to the pixels i [all...] |
/external/llvm/lib/Transforms/Scalar/ |
RewriteStatepointsForGC.cpp | 155 // The type of the internal cache used inside the findBasePointers family 500 static Value *findBaseDefiningValueCached(Value *I, DefiningValueMapTy &Cache) { 501 Value *&Cached = Cache[I]; 507 assert(Cache[I] != nullptr); 513 static Value *findBaseOrBDV(Value *I, DefiningValueMapTy &Cache) { 514 Value *Def = findBaseDefiningValueCached(I, Cache); 515 auto Found = Cache.find(Def); 516 if (Found != Cache.end()) { 648 static Value *findBasePointer(Value *I, DefiningValueMapTy &Cache) { 649 Value *Def = findBaseOrBDV(I, Cache); [all...] |
/external/abi-compliance-checker/ |
abi-compliance-checker.pl | [all...] |
/bionic/libc/dns/resolv/ |
res_cache.c | 52 /* This code implements a small and *simple* DNS resolver cache. 54 * It is only used to cache DNS answers for a time defined by the smallest TTL 56 * to be a full DNS cache, since we plan to implement that in the future in a 68 * to keep an answer in the cache. 71 * (and should be solved by the later full DNS cache process). 77 * that a full DNS cache is expected to do. 81 * - the client calls _resolv_cache_get() to obtain a handle to the cache. 82 * this will initialize the cache on first usage. the result can be NULL 83 * if the cache is disabled. 92 * answer to the cache 1232 Cache* cache; member in struct:resolv_cache_info 1351 Cache* cache; local 1415 struct resolv_cache* cache; local 1627 Cache* cache; local 1716 Cache* cache = NULL; local 1829 struct resolv_cache* cache = _find_named_cache_locked(netid); local 1860 struct resolv_cache* cache = _find_named_cache_locked(netid); local [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
OkHttpClient.java | 45 * response cache, thread pool, connection re-use, etc. 130 /** Non-null if this client is caching; possibly by {@code cache}. */ 132 private Cache cache; field in class:OkHttpClient 163 this.cache = okHttpClient.cache; 164 this.internalCache = cache != null ? cache.internalCache : okHttpClient.internalCache; 287 /** Sets the response cache to be used to read and write cached responses. */ 290 this.cache = null [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Platforms/ARM/VExpress/AcpiTables/rtsm_ve-aemv8a/ |
facp.asl | 74 [0002] CPU Cache Size : 0000 75 [0002] Cache Flush Stride : 0000
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/ |
browser_backend.py | 89 @decorators.Cache
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/ |
msr_power_monitor.py | 68 @decorators.Cache
|
/external/clang/lib/Lex/ |
PTHLexer.cpp | 522 // Get the location of the spelling cache. 531 // Get the number of IdentifierInfos and pre-allocate the identifier cache. 534 // Pre-allocate the persistent ID -> IdentifierInfo* cache. We use calloc() 576 // Store the new IdentifierInfo in the cache. 691 CacheTy Cache; 695 : Cache(FL.getNumBuckets(), FL.getNumEntries(), FL.getBuckets(), 702 CacheTy::iterator I = Cache.find(Path); 705 if (I == Cache.end())
|
/external/guava/guava/src/com/google/common/cache/ |
AbstractCache.java | 17 package com.google.common.cache; 30 * This class provides a skeletal implementation of the {@code Cache} interface to minimize the 33 * <p>To implement a cache, the programmer needs only to extend this class and provide an 45 public abstract class AbstractCache<K, V> implements Cache<K, V> { 59 * This implementation of {@code getAllPresent} lacks any insight into the internal cache data 140 * Accumulates statistics during the operation of a {@link Cache} for presentation by {@link 141 * Cache#stats}. This is solely intended for consumption by {@code Cache} implementors. 148 * Records cache hits. This should be called when a cache request returns a cached value [all...] |
/external/libnl/python/netlink/route/ |
tc.py | 84 class TcCache(netlink.Cache): 85 """Cache of traffic control object""" 230 class QdiscCache(netlink.Cache): 231 """Cache of qdiscs""" 233 def __init__(self, cache=None): 234 if not cache: 235 cache = self._alloc_cache_name('route/qdisc') 238 self._nl_cache = cache 256 def _new_cache(cache): 257 return QdiscCache(cache=cache [all...] |
/external/lzma/C/ |
Ppmd7.h | 128 Byte Cache;
|
/frameworks/base/libs/hwui/ |
VectorDrawable.h | 71 * Each cache has their own generation id to track whether they are up to date with the latest 546 // Draws the VD onto a bitmap cache, then the bitmap cache will be rendered onto the input 547 // canvas. Returns the number of pixels needed for the bitmap cache. 687 struct Cache { 693 bool allocateBitmapIfNeeded(Cache& cache, int width, int height); 709 Cache mStagingCache; 710 Cache mCache;
|
/external/mesa3d/src/mesa/program/ |
program.c | 102 ctx->VertexProgram.Cache = _mesa_new_program_cache(); 110 ctx->FragmentProgram.Cache = _mesa_new_program_cache(); 118 ctx->GeometryProgram.Cache = _mesa_new_program_cache(); 139 _mesa_delete_program_cache(ctx, ctx->VertexProgram.Cache); 143 _mesa_delete_shader_cache(ctx, ctx->FragmentProgram.Cache); 147 _mesa_delete_program_cache(ctx, ctx->GeometryProgram.Cache); [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/ |
FileBuffer.c | [all...] |
/build/kati/ |
serialize.go | 758 logStats("Cache lookup time: %q", time.Since(startTime)) 763 glog.Warningf("Cache not found %q", filename) 764 return nil, fmt.Errorf("cache not found: %s", filename) 769 glog.Warning("Cache load error %q: %v", filename, err) 778 glog.Infof("Cache expired: %s", mk.Filename) 779 return nil, fmt.Errorf("cache expired: %s", mk.Filename) 784 glog.Infof("Cache expired: %s", mk.Filename) 785 return nil, fmt.Errorf("cache expired: %s", mk.Filename) 789 glog.Infof("Cache expired: %s", mk.Filename) 790 return nil, fmt.Errorf("cache expired: %s", mk.Filename [all...] |
/external/llvm/lib/IR/ |
Value.cpp | 336 static bool contains(SmallPtrSetImpl<ConstantExpr *> &Cache, ConstantExpr *Expr, 338 if (!Cache.insert(Expr).second) 347 if (contains(Cache, CE, C)) 365 SmallPtrSet<ConstantExpr *, 4> Cache; 366 return contains(Cache, CE, C);
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
win_platform_backend.py | 146 @decorators.Cache 233 @decorators.Cache 240 @decorators.Cache
|
/external/clang/lib/Frontend/ |
FrontendAction.cpp | 463 StringRef Cache = 465 if (!Cache.empty()) 467 CI.getPCHContainerReader(), Cache);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
TimeZoneGenericNames.java | 124 private static Cache GENERIC_NAMES_CACHE = new Cache(); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
TimeZoneGenericNames.java | 122 private static Cache GENERIC_NAMES_CACHE = new Cache(); [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
HttpOverSpdyTest.java | 18 import com.squareup.okhttp.Cache; 78 protected Cache cache; field in class:HttpOverSpdyTest 89 cache = new Cache(tempDir.getRoot(), Integer.MAX_VALUE); 325 client.client().setCache(cache); 327 server.enqueue(new MockResponse().addHeader("cache-control: max-age=60").setBody("A")); 330 assertEquals(1, cache.getRequestCount()); 331 assertEquals(1, cache.getNetworkCount()); 332 assertEquals(0, cache.getHitCount()) [all...] |
/frameworks/base/services/core/java/com/android/server/ |
LockSettingsStorage.java | 76 private final Cache mCache = new Cache(); 206 // Populate cache by reading the password and pattern files. 504 // framework, so only need to purge cache here. 575 * Cache consistency model: 576 * - Writes to storage write directly to the cache, but this MUST happen within the atomic 578 * cache and writes to the backing storage are guaranteed to occur in the same order 580 * - Reads can populate the cache, but because they are no strong ordering guarantees with 582 * - The cache is assigned a version number that increases every time the cache is modified [all...] |