HomeSort by relevance Sort by last modified time
    Searched refs:Cache (Results 1 - 25 of 190) sorted by null

1 2 3 4 5 6 7 8

  /external/chromium_org/third_party/leveldatabase/src/include/leveldb/
cache.h 5 // A Cache is an interface that maps keys to values. It has internal
8 // for new entries. Values have a specified charge against the cache
9 // capacity. For example, a cache where the values are variable
13 // A builtin cache implementation with a least-recently-used eviction
16 // custom eviction policy, variable cache sizing, etc.)
26 class Cache;
28 // Create a new cache with a fixed size capacity. This implementation
29 // of Cache uses a least-recently-used eviction policy.
30 extern Cache* NewLRUCache(size_t capacity);
32 class Cache {
    [all...]
options.h 12 class Cache;
95 // If non-NULL, use the specified cache for blocks.
96 // If NULL, leveldb will automatically create and use an 8MB internal cache.
98 Cache* block_cache;
171 // buffer cache (by calling WritableFile::Sync()) before the write
  /external/compiler-rt/lib/tsan/lit_tests/
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_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();
static_init4.cc 7 struct Cache {
9 explicit Cache(int x)
16 Cache *CreateCache() {
18 return new Cache(rand());
22 static Cache *c = CreateCache();
  /external/llvm/lib/IR/
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/chromium_org/third_party/WebKit/Source/core/svg/properties/
SVGAnimatedProperty.cpp 39 // Remove wrapper from cache.
40 Cache* cache = animatedPropertyCache(); local
41 const Cache::const_iterator end = cache->end();
42 for (Cache::const_iterator it = cache->begin(); it != end; ++it) {
44 cache->remove(it->key);
61 SVGAnimatedProperty::Cache* SVGAnimatedProperty::animatedPropertyCache()
63 static Cache* s_cache = new Cache
    [all...]
  /frameworks/volley/tests/src/com/android/volley/utils/
CacheTestUtils.java 5 import com.android.volley.Cache;
12 * Makes a random cache entry.
17 public static Cache.Entry makeRandomCacheEntry(
20 Cache.Entry entry = new Cache.Entry();
37 public static Cache.Entry makeRandomCacheEntry(byte[] data) {
  /external/llvm/unittests/ExecutionEngine/MCJIT/
MCJITObjectCacheTest.cpp 53 // Our test cache wants to maintain ownership of its object buffers
107 // We may be using a null cache, so ensure compilation is valid.
136 OwningPtr<TestObjectCache> Cache(new TestObjectCache);
143 TheJIT->setObjectCache(Cache.get());
145 // Verify that our object cache does not contain the module yet.
146 const MemoryBuffer *ObjBuffer = Cache->getObjectInternal(SavedModulePointer);
151 // Verify that MCJIT tried to look-up this module in the cache.
152 EXPECT_TRUE(Cache->wasModuleLookedUp(SavedModulePointer));
154 // Verify that our object cache now contains the module.
155 ObjBuffer = Cache->getObjectInternal(SavedModulePointer)
    [all...]
  /external/chromium_org/base/containers/
mru_cache_unittest.cc 36 typedef base::MRUCache<int, CachedItem> Cache;
37 Cache cache(Cache::NO_AUTO_EVICT);
42 EXPECT_TRUE(cache.Get(0) == cache.end());
43 EXPECT_TRUE(cache.Peek(0) == cache.end());
48 Cache::iterator inserted_item = cache.Put(kItem1Key, item1)
    [all...]
  /frameworks/volley/src/com/android/volley/toolbox/
NoCache.java 19 import com.android.volley.Cache;
22 * A cache that doesn't.
24 public class NoCache implements Cache {
ClearCacheRequest.java 19 import com.android.volley.Cache;
28 * A synthetic request used for clearing the cache.
31 private final Cache mCache;
35 * Creates a synthetic request for clearing the cache.
36 * @param cache Cache to clear
37 * @param callback Callback to make on the main thread once the cache is clear,
40 public ClearCacheRequest(Cache cache, Runnable callback) {
42 mCache = cache;
    [all...]
  /frameworks/volley/src/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;
74 private Response(T result, Cache.Entry cacheEntry) {
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
MatchedPropertiesCache.h 58 // Every N additions to the matched declaration cache trigger a sweep where entries holding
64 typedef HashMap<unsigned, CachedMatchedProperties> Cache;
65 Cache m_cache;
  /external/chromium_org/third_party/WebKit/Source/core/platform/text/
AtomicStringKeyedMRUCache.h 67 typedef Vector<Entry, capacity> Cache;
68 Cache m_cache;
  /external/chromium_org/third_party/leveldatabase/src/db/
table_cache.h 13 #include "leveldb/cache.h"
31 // the cache and should not be deleted, and is valid for as long as the
54 Cache* cache_;
56 Status FindTable(uint64_t file_number, uint64_t file_size, Cache::Handle**);
  /frameworks/volley/tests/src/com/android/volley/mock/
MockCache.java 19 import com.android.volley.Cache;
21 public class MockCache implements Cache {
  /external/llvm/lib/Analysis/
MemoryDependenceAnalysis.cpp 604 /// cache arrays are properly kept sorted.
605 static void AssertSorted(MemoryDependenceAnalysis::NonLocalDepInfo &Cache,
607 if (Count == -1) Count = Cache.size();
611 assert(!(Cache[i] < Cache[i-1]) && "Cache isn't sorted!");
632 NonLocalDepInfo &Cache = CacheP.first;
640 if (!Cache.empty()) {
641 // Okay, we have a cache entry. If we know it is not dirty, just return it
645 return Cache;
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/des/times/
aix.cc 6 Data/Instr Cache : 16 K
7 L2 Cache : 256 K
  /external/openssl/crypto/des/times/
aix.cc 6 Data/Instr Cache : 16 K
7 L2 Cache : 256 K
  /external/clang/include/clang/Basic/
FileSystemStatCache.h 36 /// \brief Abstract interface for introducing a FileManager cache for 'stat'
52 /// \brief Get the 'stat' information for the specified path, using the cache
63 int *FileDescriptor, FileSystemStatCache *Cache);
65 /// \brief Sets the next stat call cache in the chain of stat caches.
66 /// Takes ownership of the given stat cache.
67 void setNextStatCache(FileSystemStatCache *Cache) {
68 NextStatCache.reset(Cache);
71 /// \brief Retrieve the next stat call cache in the chain.
74 /// \brief Retrieve the next stat call cache in the chain, transferring
75 /// ownership of this cache (and, transitively, all of the remaining caches
    [all...]
  /external/guava/guava/src/com/google/common/cache/
ForwardingCache.java 17 package com.google.common.cache;
31 * A cache which forwards all its method calls to another cache. Subclasses should override one or
32 * more methods to modify the behavior of the backing cache as desired per the
39 public abstract class ForwardingCache<K, V> extends ForwardingObject implements Cache<K, V> {
45 protected abstract Cache<K, V> delegate();
138 * constructed {@link Cache} as the delegete.
144 private final Cache<K, V> delegate;
146 protected SimpleForwardingCache(Cache<K, V> delegate) {
151 protected final Cache<K, V> delegate()
    [all...]
  /external/guava/guava-tests/test/com/google/common/cache/
ForwardingCacheTest.java 17 package com.google.common.cache;
37 private Cache<String, Boolean> forward;
38 private Cache<String, Boolean> mock;
48 mock = createMock(Cache.class);
50 @Override protected Cache<String, Boolean> delegate() {
126 protected Cache<K, V> delegate() {

Completed in 1520 milliseconds

1 2 3 4 5 6 7 8