/external/volley/src/test/java/com/android/volley/toolbox/ |
CacheTest.java | 21 import com.android.volley.Cache; 32 assertNotNull(Cache.class.getMethod("get", String.class)); 33 assertNotNull(Cache.class.getMethod("put", String.class, Cache.Entry.class)); 34 assertNotNull(Cache.class.getMethod("initialize")); 35 assertNotNull(Cache.class.getMethod("invalidate", String.class, boolean.class)); 36 assertNotNull(Cache.class.getMethod("remove", String.class)); 37 assertNotNull(Cache.class.getMethod("clear"));
|
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/ |
OkCacheContainer.java | 20 * {@link Cache}. 23 Cache getCache();
|
/external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/ |
OkCacheContainer.java | 21 * {@link Cache}. 25 Cache getCache();
|
/external/compiler-rt/test/tsan/ |
static_init2.cc | 6 struct Cache { 8 explicit Cache(int x) 13 void foo(Cache *my) { 14 static Cache *c = my ? my : new Cache(rand()); 20 foo(new Cache(rand()));
|
static_init3.cc | 7 struct Cache { 11 Cache g_cache; 13 Cache *CreateCache() { 18 _Atomic(Cache*) queue; 21 static Cache *c = CreateCache(); 27 Cache *c = 0;
|
static_init4.cc | 7 struct Cache { 9 explicit Cache(int x) 16 Cache *CreateCache() { 18 return new Cache(rand()); 22 static Cache *c = CreateCache();
|
static_init5.cc | 7 struct Cache { 9 explicit Cache(int x) 15 return new Cache((int)(long)p); 18 Cache *CreateCache() { 23 return (Cache*)res; 27 static Cache *c = CreateCache();
|
static_init6.cc | 7 struct Cache { 9 explicit Cache(int x) 15 return new Cache((int)(long)p); 18 Cache *CreateCache() { 23 return (Cache*)res; 27 static Cache *c = CreateCache();
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
LeaksContext.h | 33 Cache(0), Name(name) { } 36 Cache = 0; 51 if (Cache) { 52 assert(Cache != o && "Object already in set!"); 53 Ts.insert(Cache); 55 Cache = o; 59 if (o == Cache) 60 Cache = 0; // Cache hit 66 addGarbage(0); // Flush the Cache [all...] |
/external/okhttp/android/src/main/java/com/android/okhttp/internalandroidapi/ |
HasCacheHolder.java | 19 import com.squareup.okhttp.Cache; 37 * A holder for an OkHttp internal Cache object. This class exists as an opaque layer over 44 private final Cache okHttpCache; 46 private CacheHolder(Cache okHttpCache) { 52 // okhttp.Cache that we don't want. 59 * Returns the underlying {@link Cache} object. 62 public Cache getCache() { 67 * Returns a new {@link CacheHolder} containing an OKHttp Cache with the specified settings. 70 * @param maxSizeBytes the maximum number of bytes this cache should use to store 74 Cache cache = new Cache(directory, maxSizeBytes) local [all...] |
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internalandroidapi/ |
HasCacheHolder.java | 20 import com.android.okhttp.Cache; 39 * A holder for an OkHttp internal Cache object. This class exists as an opaque layer over 46 private final Cache okHttpCache; 48 private CacheHolder(Cache okHttpCache) { 54 // okhttp.Cache that we don't want. 61 * Returns the underlying {@link Cache} object. 64 public Cache getCache() { 69 * Returns a new {@link CacheHolder} containing an OKHttp Cache with the specified settings. 72 * @param maxSizeBytes the maximum number of bytes this cache should use to store 76 Cache cache = new Cache(directory, maxSizeBytes) local [all...] |
/external/volley/src/test/java/com/android/volley/utils/ |
CacheTestUtils.java | 19 import com.android.volley.Cache; 25 * Makes a random cache entry. 31 public static Cache.Entry makeRandomCacheEntry( 34 Cache.Entry entry = new Cache.Entry(); 51 public static Cache.Entry makeRandomCacheEntry(byte[] data) {
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
NoCache.java | 19 import com.android.volley.Cache; 21 /** A cache that doesn't. */ 22 public class NoCache implements Cache {
|
ClearCacheRequest.java | 21 import com.android.volley.Cache; 26 /** A synthetic request used for clearing the cache. */ 28 private final Cache mCache; 32 * Creates a synthetic request for clearing the cache. 34 * @param cache Cache to clear 35 * @param callback Callback to make on the main thread once the cache is clear, or null for none 37 public ClearCacheRequest(Cache cache, Runnable callback) { 39 mCache = cache; [all...] |
/external/ImageMagick/MagickCore/ |
cache-private.h | 16 MagickCore cache private methods. 21 #include "MagickCore/cache.h" 22 #include "MagickCore/distribute-cache.h" 34 *Cache; 116 *cache, member in struct:_NexusInfo 231 extern MagickPrivate Cache 233 ClonePixelCache(const Cache), 234 DestroyPixelCache(Cache), 235 ReferencePixelCache(Cache); 238 GetPixelCacheStorageClass(const Cache); [all...] |
/external/skia/src/core/ |
SkColorSpaceXformer.h | 49 using Cache = SkTHashMap<sk_sp<T>, sk_sp<T>>; 52 sk_sp<T> cachedApply(const T*, Cache<T>*, sk_sp<T> (*)(const T*, SkColorSpaceXformer*)); 65 size_t fReentryCount; // tracks the number of nested apply() calls for cache purging. 67 Cache<SkImage > fImageCache; 68 Cache<SkColorFilter> fColorFilterCache; 69 Cache<SkImageFilter> fImageFilterCache;
|
/external/skqp/src/core/ |
SkColorSpaceXformer.h | 49 using Cache = SkTHashMap<sk_sp<T>, sk_sp<T>>; 52 sk_sp<T> cachedApply(const T*, Cache<T>*, sk_sp<T> (*)(const T*, SkColorSpaceXformer*)); 65 size_t fReentryCount; // tracks the number of nested apply() calls for cache purging. 67 Cache<SkImage > fImageCache; 68 Cache<SkColorFilter> fColorFilterCache; 69 Cache<SkImageFilter> fImageFilterCache;
|
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_dense_alloc_test.cc | 26 typedef Alloc::Cache Cache; 31 Cache cache; local 32 alloc.InitCache(&cache); 37 IndexT idx = alloc.Alloc(&cache); 48 alloc.Free(&cache, idx); 51 alloc.FlushCache(&cache);
|
/external/python/google-api-python-client/googleapiclient/discovery_cache/ |
appengine_memcache.py | 15 """App Engine memcache based cache for the discovery document.""" 32 class Cache(base.Cache): 33 """A cache with app engine memcache API.""" 39 max_age: Cache expiration in seconds. 55 cache = Cache(max_age=DISCOVERY_DOC_MAX_AGE) variable
|
/external/volley/src/main/java/com/android/volley/ |
Response.java | 42 public static <T> Response<T> success(T result, Cache.Entry cacheEntry) { 57 /** Cache metadata for this response, or null in the case of error. */ 58 public final Cache.Entry cacheEntry; 71 private Response(T result, Cache.Entry cacheEntry) {
|
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/ |
ClassLoaderReferenceImpl.java | 35 private static class Cache extends ObjectReferenceImpl.Cache { 39 protected ObjectReferenceImpl.Cache newCache() { 40 return new Cache(); 66 Cache local = (Cache)getCache();
|
ThreadGroupReferenceImpl.java | 40 private static class Cache extends ObjectReferenceImpl.Cache { 44 protected ObjectReferenceImpl.Cache newCache() { 45 return new Cache(); 111 Cache local = (Cache)getCache();
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
MCJITObjectCacheTest.cpp | 41 // Our test cache wants to maintain ownership of its object buffers 96 // We may be using a null cache, so ensure compilation is valid. 124 std::unique_ptr<TestObjectCache> Cache(new TestObjectCache); 131 TheJIT->setObjectCache(Cache.get()); 133 // Verify that our object cache does not contain the module yet. 134 const MemoryBuffer *ObjBuffer = Cache->getObjectInternal(SavedModulePointer); 139 // Verify that MCJIT tried to look-up this module in the cache. 140 EXPECT_TRUE(Cache->wasModuleLookedUp(SavedModulePointer)); 142 // Verify that our object cache now contains the module. 143 ObjBuffer = Cache->getObjectInternal(SavedModulePointer) [all...] |
/external/python/httplib2/test/no-store/ |
no-store.asis | 5 Cache-Control: max-age=7200, no-store
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/MCJIT/ |
MCJITObjectCacheTest.cpp | 41 // Our test cache wants to maintain ownership of its object buffers 96 // We may be using a null cache, so ensure compilation is valid. 124 std::unique_ptr<TestObjectCache> Cache(new TestObjectCache); 131 TheJIT->setObjectCache(Cache.get()); 133 // Verify that our object cache does not contain the module yet. 134 const MemoryBuffer *ObjBuffer = Cache->getObjectInternal(SavedModulePointer); 139 // Verify that MCJIT tried to look-up this module in the cache. 140 EXPECT_TRUE(Cache->wasModuleLookedUp(SavedModulePointer)); 142 // Verify that our object cache now contains the module. 143 ObjBuffer = Cache->getObjectInternal(SavedModulePointer) [all...] |