Home
last modified time | relevance | path

Searched refs:LocalCache (Results 1 – 15 of 15) sorted by relevance

/external/guava/guava-tests/test/com/google/common/cache/
DCacheTesting.java26 import com.google.common.cache.LocalCache.LocalLoadingCache;
27 import com.google.common.cache.LocalCache.ReferenceEntry;
28 import com.google.common.cache.LocalCache.Segment;
29 import com.google.common.cache.LocalCache.ValueReference;
94 LocalCache<K, V> map = toLocalCache(cache); in getReferenceEntry()
103 LocalCache<K, V> map = toLocalCache(cache); in forceExpandSegment()
113 static <K, V> LocalCache<K, V> toLocalCache(Cache<K, V> cache) { in toLocalCache()
131 LocalCache<?, ?> map = toLocalCache(cache); in drainRecencyQueues()
153 static void drainReferenceQueues(LocalCache<?, ?> cchm) { in drainReferenceQueues() argument
154 for (LocalCache.Segment segment : cchm.segments) { in drainReferenceQueues()
[all …]
DLocalCacheTest.java20 import static com.google.common.cache.LocalCache.DISCARDING_QUEUE;
21 import static com.google.common.cache.LocalCache.DRAIN_THRESHOLD;
22 import static com.google.common.cache.LocalCache.nullEntry;
23 import static com.google.common.cache.LocalCache.unset;
37 import com.google.common.cache.LocalCache.EntryFactory;
38 import com.google.common.cache.LocalCache.LoadingValueReference;
39 import com.google.common.cache.LocalCache.LocalLoadingCache;
40 import com.google.common.cache.LocalCache.LocalManualCache;
41 import com.google.common.cache.LocalCache.ReferenceEntry;
42 import com.google.common.cache.LocalCache.Segment;
[all …]
DCacheBuilderTest.java89 LocalCache<?, ?> map = CacheTesting.toLocalCache(cache); in testInitialCapacity_small()
103 LocalCache<?, ?> map = CacheTesting.toLocalCache(cache); in testInitialCapacity_smallest()
141 LocalCache<?, ?> map = CacheTesting.toLocalCache(cache); in testConcurrencyLevel_small()
614 LocalCache<?, ?> map = CacheTesting.toLocalCache(cache); in testSizingDefaults()
DCacheReferencesTest.java17 import static com.google.common.cache.LocalCache.Strength.STRONG;
23 import com.google.common.cache.LocalCache.Strength;
DLocalLoadingCacheTest.java24 import com.google.common.cache.LocalCache.LocalLoadingCache;
25 import com.google.common.cache.LocalCache.Segment;
DCacheBuilderFactory.java21 import com.google.common.cache.LocalCache.Strength;
DCacheEvictionTest.java25 import com.google.common.cache.LocalCache.ReferenceEntry;
DEmptyCachesTest.java25 import com.google.common.cache.LocalCache.Strength;
DPopulatedCachesTest.java28 import com.google.common.cache.LocalCache.Strength;
DCacheLoadingTest.java70 LocalCache.logger.addHandler(logHandler); in setUp()
76 LocalCache.logger.removeHandler(logHandler); in tearDown()
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DCacheBuilder.java117 final LocalCache<K, V> localCache;
125 this.localCache = new LocalCache<K, V>(builder, loader); in LocalManualCache()
206 private static class LocalCache<K, V> extends LinkedHashMap<K, V> class in CacheBuilder
212 LocalCache(CacheBuilder<? super K, ? super V> builder, CacheLoader<? super K, V> loader) { in LocalCache() method in CacheBuilder.LocalCache
/external/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp533 MemDepResult &LocalCache = LocalDeps[QueryInst]; in getDependency() local
537 if (!LocalCache.isDirty()) in getDependency()
538 return LocalCache; in getDependency()
542 if (Instruction *Inst = LocalCache.getInst()) { in getDependency()
555 LocalCache = MemDepResult::getNonLocal(); in getDependency()
557 LocalCache = MemDepResult::getNonFuncLocal(); in getDependency()
567 LocalCache = getPointerDependencyFrom(MemLoc, isLoad, ScanPos, in getDependency()
572 LocalCache = getCallSiteDependencyFrom(QueryCS, isReadOnly, ScanPos, in getDependency()
576 LocalCache = MemDepResult::getUnknown(); in getDependency()
580 if (Instruction *I = LocalCache.getInst()) in getDependency()
[all …]
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java92 class LocalCache<K, V> extends AbstractMap<K, V> implements ConcurrentMap<K, V> { class
153 static final Logger logger = Logger.getLogger(LocalCache.class.getName());
233 LocalCache(CacheBuilder<? super K, ? super V> builder, CacheLoader<? super K, V> loader) { in LocalCache() method in LocalCache
250 ? LocalCache.<RemovalNotification<K, V>>discardingQueue() in LocalCache()
2058 final LocalCache<K, V> map;
2137 Segment(LocalCache<K, V> map, int initialCapacity, long maxSegmentWeight, in Segment()
2152 : LocalCache.<ReferenceEntry<K, V>>discardingQueue(); in Segment()
2156 : LocalCache.<ReferenceEntry<K, V>>discardingQueue(); in Segment()
2160 : LocalCache.<ReferenceEntry<K, V>>discardingQueue(); in Segment()
3504 this(LocalCache.<K, V>unset()); in LoadingValueReference()
[all …]
DCacheBuilder.java36 import com.google.common.cache.LocalCache.Strength;
739 return new LocalCache.LocalLoadingCache<K1, V1>(this, loader); in build()
757 return new LocalCache.LocalManualCache<K1, V1>(this); in build()
/external/webkit/Tools/DumpRenderTree/mac/
DDumpRenderTree.mm424 …[defaults setObject:[path stringByAppendingPathComponent:@"LocalCache"] forKey:WebKitLocalCacheDef…