/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheTesting.java | 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; 97 LocalCache<K, V> map = toLocalCache(cache); in getReferenceEntry() 108 LocalCache<K, V> map = toLocalCache(cache); in forceExpandSegment() 118 static <K, V> LocalCache<K, V> toLocalCache(Cache<K, V> cache) { in toLocalCache() 136 LocalCache<?, ?> map = toLocalCache(cache); in drainRecencyQueues() 158 static void drainReferenceQueues(LocalCache<?, ?> cchm) { in drainReferenceQueues() argument 159 for (LocalCache.Segment<?, ?> segment : cchm.segments) { in drainReferenceQueues() [all …]
|
D | LocalCacheTest.java | 20 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; 36 import com.google.common.cache.LocalCache.EntryFactory; 37 import com.google.common.cache.LocalCache.LoadingValueReference; 38 import com.google.common.cache.LocalCache.LocalLoadingCache; 39 import com.google.common.cache.LocalCache.LocalManualCache; 40 import com.google.common.cache.LocalCache.ReferenceEntry; 41 import com.google.common.cache.LocalCache.Segment; [all …]
|
D | PackageSanityTests.java | 33 setDefault(LocalCache.class, new LocalCache<Object, Object>(CacheBuilder.newBuilder(), null)); in PackageSanityTests()
|
D | CacheReferencesTest.java | 17 import static com.google.common.cache.LocalCache.Strength.STRONG; 22 import com.google.common.cache.LocalCache.Strength;
|
D | CacheBuilderTest.java | 88 LocalCache<?, ?> map = CacheTesting.toLocalCache(cache); in testInitialCapacity_small() 102 LocalCache<?, ?> map = CacheTesting.toLocalCache(cache); in testInitialCapacity_smallest() 140 LocalCache<?, ?> map = CacheTesting.toLocalCache(cache); in testConcurrencyLevel_small() 608 LocalCache<?, ?> map = CacheTesting.toLocalCache(cache); in testSizingDefaults()
|
D | LocalLoadingCacheTest.java | 24 import com.google.common.cache.LocalCache.LocalLoadingCache; 25 import com.google.common.cache.LocalCache.Segment;
|
D | CacheBuilderFactory.java | 22 import com.google.common.cache.LocalCache.Strength;
|
D | CacheEvictionTest.java | 25 import com.google.common.cache.LocalCache.ReferenceEntry;
|
D | EmptyCachesTest.java | 25 import com.google.common.cache.LocalCache.Strength;
|
D | PopulatedCachesTest.java | 26 import com.google.common.cache.LocalCache.Strength;
|
D | CacheBuilderSpecTest.java | 23 import com.google.common.cache.LocalCache.Strength;
|
D | CacheLoadingTest.java | 71 LocalCache.logger.addHandler(logHandler); in setUp() 79 LocalCache.logger.removeHandler(logHandler); in tearDown()
|
/external/guava/guava-tests/benchmark/com/google/common/cache/ |
D | ChainBenchmark.java | 22 import com.google.common.cache.LocalCache.ReferenceEntry; 23 import com.google.common.cache.LocalCache.Segment; 40 LocalCache<Object, Object> cache = new LocalCache<Object, Object>( in setUp()
|
D | SegmentBenchmark.java | 24 import com.google.common.cache.LocalCache.ReferenceEntry; 25 import com.google.common.cache.LocalCache.Segment; 42 LocalCache<Object, Object> cache = new LocalCache<Object, Object>( in setUp()
|
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
D | LocalCache.java | 53 public class LocalCache<K, V> implements ConcurrentMap<K, V> { class 64 LocalCache(CacheBuilder<? super K, ? super V> builder, CacheLoader<? super K, V> loader) { in LocalCache() method in LocalCache 348 final LocalCache<K, V> localCache; 356 this.localCache = new LocalCache<K, V>(builder, loader); in LocalManualCache() 546 this.iterator = LocalCache.this.cachingHashMap.entrySet().iterator(); in EntryIterator() 582 LocalCache.this.remove(lastEntry.getKey(), lastEntry.getValue()); in remove() 814 V v = LocalCache.this.get(key); in contains() 826 return (key != null) && LocalCache.this.remove(key, e.getValue()); in remove()
|
D | CacheBuilder.java | 32 import com.google.common.cache.LocalCache.Strength; 544 return new LocalCache.LocalLoadingCache<K1, V1>(this, loader); in build() 562 return new LocalCache.LocalManualCache<K1, V1>(this); in build()
|
/external/llvm/lib/Analysis/ |
D | MemoryDependenceAnalysis.cpp | 736 MemDepResult &LocalCache = LocalDeps[QueryInst]; in getDependency() local 740 if (!LocalCache.isDirty()) in getDependency() 741 return LocalCache; in getDependency() 745 if (Instruction *Inst = LocalCache.getInst()) { in getDependency() 758 LocalCache = MemDepResult::getNonLocal(); in getDependency() 760 LocalCache = MemDepResult::getNonFuncLocal(); in getDependency() 770 LocalCache = getPointerDependencyFrom( in getDependency() 775 LocalCache = getCallSiteDependencyFrom( in getDependency() 779 LocalCache = MemDepResult::getUnknown(); in getDependency() 783 if (Instruction *I = LocalCache.getInst()) in getDependency() [all …]
|
/external/guava/guava/src/com/google/common/cache/ |
D | CacheBuilder.java | 34 import com.google.common.cache.LocalCache.Strength; 789 return new LocalCache.LocalLoadingCache<K1, V1>(this, loader); in build() 807 return new LocalCache.LocalManualCache<K1, V1>(this); in build()
|
D | LocalCache.java | 96 class LocalCache<K, V> extends AbstractMap<K, V> implements ConcurrentMap<K, V> { class 157 static final Logger logger = Logger.getLogger(LocalCache.class.getName()); 235 LocalCache( in LocalCache() method in LocalCache 253 ? LocalCache.<RemovalNotification<K, V>>discardingQueue() in LocalCache() 2010 final LocalCache<K, V> map; 2089 Segment(LocalCache<K, V> map, int initialCapacity, long maxSegmentWeight, in Segment() 2104 : LocalCache.<ReferenceEntry<K, V>>discardingQueue(); in Segment() 2108 : LocalCache.<ReferenceEntry<K, V>>discardingQueue(); in Segment() 2112 : LocalCache.<ReferenceEntry<K, V>>discardingQueue(); in Segment() 3474 this(LocalCache.<K, V>unset()); in LoadingValueReference() [all …]
|
D | CacheBuilderSpec.java | 26 import com.google.common.cache.LocalCache.Strength;
|