Searched refs:LocalCache (Results 1 - 25 of 25) sorted by relevance

/external/guava/guava-tests/test/com/google/common/cache/
H A DPackageSanityTests.java33 setDefault(LocalCache.class, new LocalCache<Object, Object>(CacheBuilder.newBuilder(), null));
H A DCacheTesting.java27 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);
108 LocalCache<K, V> map = toLocalCache(cache);
115 * Gets the {@link LocalCache} used by the given {@link Cache}, if any, or throws an
116 * IllegalArgumentException if this is a Cache type that doesn't have a LocalCache.
118 static <K, V> LocalCache<K, V> toLocalCache(Cache<K, V> cache) {
123 + " doesn't have a LocalCache
419 expireEntries( LocalCache<?, ?> cchm, long expiringTime, FakeTicker ticker) argument
[all...]
H A 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;
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
365 checkStrength( LocalCache<Object, Object> map, Strength keyStrength, Strength valueStrength) argument
993 assertConnected( LocalCache<K, V> map, ReferenceEntry<K, V> one, ReferenceEntry<K, V> two) argument
1861 assertNotificationEnqueued( LocalCache<K, V> map, K key, V value, int hash) argument
[all...]
H A DCacheReferencesTest.java17 import static com.google.common.cache.LocalCache.Strength.STRONG;
22 import com.google.common.cache.LocalCache.Strength;
H A DCacheBuilderTest.java88 LocalCache<?, ?> map = CacheTesting.toLocalCache(cache);
102 LocalCache<?, ?> map = CacheTesting.toLocalCache(cache);
140 LocalCache<?, ?> map = CacheTesting.toLocalCache(cache);
608 LocalCache<?, ?> map = CacheTesting.toLocalCache(cache);
H A DCacheBuilderFactory.java22 import com.google.common.cache.LocalCache.Strength;
H A DLocalLoadingCacheTest.java24 import com.google.common.cache.LocalCache.LocalLoadingCache;
25 import com.google.common.cache.LocalCache.Segment;
H A DCacheEvictionTest.java25 import com.google.common.cache.LocalCache.ReferenceEntry;
H A DEmptyCachesTest.java25 import com.google.common.cache.LocalCache.Strength;
H A DCacheBuilderSpecTest.java23 import com.google.common.cache.LocalCache.Strength;
H A DPopulatedCachesTest.java26 import com.google.common.cache.LocalCache.Strength;
H A DCacheLoadingTest.java71 LocalCache.logger.addHandler(logHandler);
79 LocalCache.logger.removeHandler(logHandler);
/external/guava/guava-tests/benchmark/com/google/common/cache/
H A DChainBenchmark.java22 import com.google.common.cache.LocalCache.ReferenceEntry;
23 import com.google.common.cache.LocalCache.Segment;
26 * Benchmark for {@code LocalCache.Segment.removeEntryFromChain}.
40 LocalCache<Object, Object> cache = new LocalCache<Object, Object>(
H A DSegmentBenchmark.java24 import com.google.common.cache.LocalCache.ReferenceEntry;
25 import com.google.common.cache.LocalCache.Segment;
30 * Benchmark for {@code LocalCache.Segment.expand()}.
42 LocalCache<Object, Object> cache = new LocalCache<Object, Object>(
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
H A DLocalCache.java46 * LocalCache emulation for GWT.
53 public class LocalCache<K, V> implements ConcurrentMap<K, V> { class in inherits:ConcurrentMap
64 LocalCache(CacheBuilder<? super K, ? super V> builder, CacheLoader<? super K, V> loader) { method in class:LocalCache
342 * LocalManualCache is a wrapper around LocalCache for a cache without loading.
348 final LocalCache<K, V> localCache;
356 this.localCache = new LocalCache<K, V>(builder, loader);
411 * LocalLoadingCache is a wrapper around LocalCache for a cache with loading.
501 * Any updates to LocalCache.Strength used in CacheBuilder need to be matched in this class for
546 this.iterator = LocalCache.this.cachingHashMap.entrySet().iterator();
582 LocalCache
[all...]
H A DCacheBuilder.java32 import com.google.common.cache.LocalCache.Strength;
544 return new LocalCache.LocalLoadingCache<K1, V1>(this, loader);
562 return new LocalCache.LocalManualCache<K1, V1>(this);
/external/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp736 MemDepResult &LocalCache = LocalDeps[QueryInst]; local
740 if (!LocalCache.isDirty())
741 return LocalCache;
745 if (Instruction *Inst = LocalCache.getInst()) {
758 LocalCache = MemDepResult::getNonLocal();
760 LocalCache = MemDepResult::getNonFuncLocal();
770 LocalCache = getPointerDependencyFrom(
775 LocalCache = getCallSiteDependencyFrom(
779 LocalCache = MemDepResult::getUnknown();
783 if (Instruction *I = LocalCache
[all...]
/external/guava/guava/src/com/google/common/cache/
H A DCacheBuilder.java34 import com.google.common.cache.LocalCache.Strength;
789 return new LocalCache.LocalLoadingCache<K1, V1>(this, loader);
807 return new LocalCache.LocalManualCache<K1, V1>(this);
H A DLocalCache.java96 class LocalCache<K, V> extends AbstractMap<K, V> implements ConcurrentMap<K, V> { class in inherits:AbstractMap,ConcurrentMap
157 static final Logger logger = Logger.getLogger(LocalCache.class.getName());
235 LocalCache( method in class:LocalCache
253 ? LocalCache.<RemovalNotification<K, V>>discardingQueue()
2010 final LocalCache<K, V> map;
2089 Segment(LocalCache<K, V> map, int initialCapacity, long maxSegmentWeight,
2104 : LocalCache.<ReferenceEntry<K, V>>discardingQueue();
2108 : LocalCache.<ReferenceEntry<K, V>>discardingQueue();
2112 : LocalCache.<ReferenceEntry<K, V>>discardingQueue();
2795 * LocalCache#containsValu
[all...]
H A DCacheBuilderSpec.java26 import com.google.common.cache.LocalCache.Strength;
/external/guice/lib/
H A Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/dagger2/lib/
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 347 milliseconds