HomeSort by relevance Sort by last modified time
    Searched refs:Cache (Results 51 - 75 of 317) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/volley/src/main/java/com/android/volley/
Cache.java 23 /** An interface for a cache keyed by a String with a byte array as data. */
24 public interface Cache {
26 * Retrieves an entry from the cache.
28 * @param key Cache key
29 * @return An {@link Entry} or null in the event of a cache miss
34 * Adds or replaces an entry to the cache.
36 * @param key Cache key
37 * @param entry Data to store and metadata for cache coherency, TTL, etc.
42 * Performs any potentially long-running actions needed to initialize the cache; will be called
48 * Invalidates an entry in the cache
    [all...]
RequestQueue.java 35 * either cache or network on a worker thread, and then delivering a parsed response on the main
63 /** Cache lookup started for the request. */
66 * Cache lookup finished for the request and cached response is delivered or request is
100 /** The cache triage queue. */
109 /** Cache interface for retrieving and storing responses. */
110 private final Cache mCache;
121 /** The cache dispatcher. */
132 * @param cache A Cache to use for persisting responses to disk
138 Cache cache, Network network, int threadPoolSize, ResponseDelivery delivery)
    [all...]
  /device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/
D03Iort.asl 45 [0004] Cache Coherency : 00000000
76 [0004] Cache Coherency : 00000000
107 [0004] Cache Coherency : 00000000
138 [0004] Cache Coherency : 00000000
169 [0004] Cache Coherency : 00000000
200 [0004] Cache Coherency : 00000000
231 [0004] Cache Coherency : 00000000
262 [0004] Cache Coherency : 00000000
292 [0004] Cache Coherency : 00000001
321 [0004] Cache Coherency : 00000001
    [all...]
  /external/cldr/tools/java/org/unicode/cldr/util/
PatternCache.java 7 import com.google.common.cache.Cache;
8 import com.google.common.cache.CacheBuilder;
9 import com.google.common.cache.CacheStats;
13 * compilation if they are in the cache.
34 * The cache object
36 private final static Cache<String, Pattern> cache; field in class:PatternCache
48 cache = CacheBuilder.newBuilder().initialCapacity(INITIAL_CAPACITY).maximumSize(MAX_CAPACITY).recordStats().build();
50 cache = CacheBuilder.newBuilder().initialCapacity(INITIAL_CAPACITY).maximumSize(MAX_CAPACITY).build()
    [all...]
CoverageInfo.java 9 import com.google.common.cache.Cache;
10 import com.google.common.cache.CacheBuilder;
65 private Cache<String, CoverageLevel2> localeToCoverageLevelInfo = CacheBuilder.newBuilder().maximumSize(MAXLOCALES).build();
66 private Cache<XPathWithLocation, Level> coverageCache = CacheBuilder.newBuilder().maximumSize(MAXLOCALES).build();
  /external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/instrumentation/
ContextStrategyImpl.java 20 import com.google.common.cache.Cache;
21 import com.google.common.cache.CacheBuilder;
43 * routine cleanup of the underlying {@link Cache} implementation.
53 private final Cache<Thread, Context> savedContexts = CacheBuilder.newBuilder().weakKeys().build();
  /external/python/google-api-python-client/tests/
test_discovery_cache.py 18 """Discovery document cache tests."""
26 from googleapiclient.discovery_cache.base import Cache
29 from googleapiclient.discovery_cache.file_cache import Cache as FileCache
37 new='google-api-python-client-discovery-doc-tests.cache')
44 cache = FileCache(max_age=DISCOVERY_DOC_MAX_AGE)
47 cache.set(first_url, first_url_content)
50 self.assertEqual(first_url_content, cache.get(first_url))
55 cache.set('url-2', 'url-2-content')
58 self.assertEqual(None, cache.get(first_url))
  /external/guava/guava-tests/test/com/google/common/cache/
CacheTesting.java 15 package com.google.common.cache;
27 import com.google.common.cache.LocalCache.LocalLoadingCache;
28 import com.google.common.cache.LocalCache.ReferenceEntry;
29 import com.google.common.cache.LocalCache.Segment;
30 import com.google.common.cache.LocalCache.ValueReference;
52 * A collection of utilities for {@link Cache} testing.
59 * Poke into the Cache internals to simulate garbage collection of the value associated with the
65 static <K, V> void simulateValueReclamation(Cache<K, V> cache, K key) {
66 ReferenceEntry<K, V> entry = getReferenceEntry(cache, key)
    [all...]
CacheBuilderGwtTest.java 17 package com.google.common.cache;
57 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
69 cache.put(0, 10);
71 assertEquals(Integer.valueOf(10), cache.get(0, loader));
72 assertEquals(Integer.valueOf(1), cache.get(20, loader));
73 assertEquals(Integer.valueOf(2), cache.get(34, loader));
75 cache.invalidate(0);
76 assertEquals(Integer.valueOf(3), cache.get(0, loader));
78 cache.put(0, 10)
84 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
119 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() local
137 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
154 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
181 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
212 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
279 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
318 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
336 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
351 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
377 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
395 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
413 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
431 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
453 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
471 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
491 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
    [all...]
  /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/
IsaFloppyBlock.c 298 // See if the data that is being read is already in the cache
300 if (FdcDev->Cache != NULL) {
303 CopyMem ((UINT8 *) Buffer, (UINT8 *) FdcDev->Cache, BlockSize);
349 // Cache the data read
351 if (Lba0 == 0 && FdcDev->Cache == NULL) {
352 FdcDev->Cache = AllocateCopyPool (BlockSize, Buffer);
361 Free cache for a floppy disk.
371 if (FdcDev->Cache != NULL) {
372 FreePool (FdcDev->Cache);
373 FdcDev->Cache = NULL;
    [all...]
  /external/grpc-grpc-java/examples/android/clientcache/app/src/main/java/io/grpc/clientcacheexample/
SafeMethodCachingInterceptor.java 22 * An example of an on-device cache for Android implemented using the {@link ClientInterceptor} API.
24 * <p>Client-side cache-control directives are not directly supported. Instead, two call options can
25 * be added to the call: no-cache (always go to the network) or only-if-cached (never use network;
26 * if response is not in cache, the request fails).
28 * <p>This interceptor respects the cache-control directives in the server's response: max-age
29 * determines when the cache entry goes stale. no-cache, no-store, and no-transform entirely skip
30 * caching of the response. must-revalidate is ignored, as the cache does not support returning
33 * <p>Note: other response headers besides cache-control (such as Expiration, Varies) are ignored by
37 static CallOptions.Key<Boolean> NO_CACHE_CALL_OPTION = CallOptions.Key.of("no-cache", false)
    [all...]
  /device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Hi1616/D05AcpiTables/
D05Iort.asl 124 [0004] Cache Coherency : 00000000
155 [0004] Cache Coherency : 00000000
186 [0004] Cache Coherency : 00000000
217 [0004] Cache Coherency : 00000000
248 [0004] Cache Coherency : 00000000
279 [0004] Cache Coherency : 00000000
310 [0004] Cache Coherency : 00000000
341 [0004] Cache Coherency : 00000000
372 [0004] Cache Coherency : 00000000
402 [0004] Cache Coherency : 00000001
    [all...]
  /device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Pv660/Pv660AcpiTables/
Iort.asl 78 [0004] Cache Coherency : 00000000
109 [0004] Cache Coherency : 00000000
140 [0004] Cache Coherency : 00000000
171 [0004] Cache Coherency : 00000000
201 [0004] Cache Coherency : 00000001
230 [0004] Cache Coherency : 00000001
  /device/linaro/bootloader/edk2/ArmPkg/Library/ArmLib/Arm/
ArmLibSupportV7.S 74 mcr p15,2,r0,c0,c0,0 @ Write Cache Size Selection Register (CSSELR)
76 mrc p15,1,r0,c0,c0,0 @ Read current CP15 Cache Size ID Register (CCSIDR)
84 mrc p15,1,r0,c0,c0,1 @ Read CP15 Cache Level ID Register
  /external/arm-neon-tests/
InitCache.s 4 ; This code provides basic global enable for a Cortex-A8 cache
19 ORR r0, r0, #(0x1 <<12) ; enable I Cache
21 ORR r0, r0, #(0x1 <<2) ; enable D Cache
27 ; Enable Cortex-A8 Level2 Unified Cache
31 ORR r0, r0, #2 ; L2EN bit, enable L2 cache
32 ;BIC r0, r0, #(0x1 << 1) ; L2EN bit, disable L2 cache
35 ORR r0, r0, #(0x1 << 5) ;Enables caching NEON data within the L1 data cache
  /external/swiftshader/third_party/LLVM/lib/CodeGen/
MachineLoopRanges.cpp 45 DeleteContainerSeconds(Cache);
46 Cache.clear();
50 MachineLoopRange *&Range = Cache[Loop];
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DebugLoc.cpp 72 DenseMap<const MDNode *, MDNode *> &Cache,
81 if (auto *Found = Cache[IA]) {
96 Cache[MD] = Last = DILocation::getDistinct(
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ia32/
CpuFlushCache.asm 18 ;Cpu Flush Cache Function.
29 ;// Cache Flush Routine.
40 ;Flush cache with specified range.
  /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/
Atapi.c     [all...]
  /device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
HttpBootClient.h 38 // Structure for a cache item
55 // Cache info.
57 HTTP_BOOT_CACHE_CONTENT *Cache;
  /external/pdfium/xfa/fxfa/parser/
cxfa_present.cpp 13 {XFA_Element::Cache, 1, 0},
  /external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/dependency/
CachedDependencyResolver.java 22 private final Cache cache; field in class:CachedDependencyResolver
28 public CachedDependencyResolver(DependencyResolver dependencyResolver, Cache cache, CacheNamingStrategy cacheNamingStrategy, CacheValidationStrategy cacheValidationStrategy) {
30 this.cache = cache;
38 final URL urlFromCache = cache.load(cacheName, URL.class);
45 cache.write(cacheName, url);
98 interface Cache {
103 static class FileCache implements Cache {
    [all...]
  /external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
MachineLoopRanges.h 92 CacheMap Cache;
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DebugLoc.h 90 DenseMap<const MDNode *, MDNode *> &Cache,
  /external/llvm/lib/Support/
SourceMgr.cpp 40 // Delete the line # cache if allocated.
41 if (LineNoCacheTy *Cache = getCache(LineNoCache))
42 delete Cache;
91 // If we have a line number cache, and if the query is to a later point in the
94 if (LineNoCacheTy *Cache = getCache(LineNoCache))
95 if (Cache->LastQueryBufferID == BufferID &&
96 Cache->LastQuery <= Loc.getPointer()) {
97 Ptr = Cache->LastQuery;
98 LineNo = Cache->LineNoOfQuery;
106 // Allocate the line number cache if it doesn't exist
    [all...]

Completed in 6406 milliseconds

1 23 4 5 6 7 8 91011>>