/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheRefreshTest.java | 43 assertEquals(Integer.valueOf(i), cache.getUnchecked(i)); in testAutoRefresh() 50 assertEquals(Integer.valueOf(0), cache.getUnchecked(0)); in testAutoRefresh() 51 assertEquals(Integer.valueOf(1), cache.getUnchecked(1)); in testAutoRefresh() 52 assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); in testAutoRefresh() 58 assertEquals(Integer.valueOf(1), cache.getUnchecked(0)); in testAutoRefresh() 60 assertEquals(Integer.valueOf(1), cache.getUnchecked(1)); in testAutoRefresh() 61 assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); in testAutoRefresh() 68 assertEquals(Integer.valueOf(1), cache.getUnchecked(0)); in testAutoRefresh() 69 assertEquals(Integer.valueOf(-1), cache.getUnchecked(1)); in testAutoRefresh() 70 assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); in testAutoRefresh() [all …]
|
D | LocalLoadingCacheTest.java | 85 cache.getUnchecked(one); in testStats() 98 cache.getUnchecked(one); in testStats() 109 cache.getUnchecked(two); in testStats() 123 cache.getUnchecked(three); in testStats() 188 cache.getUnchecked(one); in testNoStats() 191 cache.getUnchecked(one); in testNoStats() 195 cache.getUnchecked(two); in testNoStats() 199 cache.getUnchecked(three); in testNoStats() 213 cache.getUnchecked(one); in testRecordStats() 217 cache.getUnchecked(one); in testRecordStats() [all …]
|
D | AbstractLoadingCacheTest.java | 54 cache.getUnchecked(new Object()); in testGetUnchecked_checked() 62 assertSame(newValue, cache.getUnchecked(new Object())); in testGetUnchecked_checked() 85 cache.getUnchecked(new Object()); in testGetUnchecked_unchecked() 93 assertSame(newValue, cache.getUnchecked(new Object())); in testGetUnchecked_unchecked() 116 cache.getUnchecked(new Object()); in testGetUnchecked_error() 124 assertSame(newValue, cache.getUnchecked(new Object())); in testGetUnchecked_error() 147 cache.getUnchecked(new Object()); in testGetUnchecked_otherThrowable() 155 assertSame(newValue, cache.getUnchecked(new Object())); in testGetUnchecked_otherThrowable()
|
D | EmptyCachesTest.java | 54 cache.getUnchecked("a"); in testInvalidate_empty() 55 cache.getUnchecked("b"); in testInvalidate_empty() 65 cache.getUnchecked("a"); in testInvalidateAll_empty() 66 cache.getUnchecked("b"); in testInvalidateAll_empty() 67 cache.getUnchecked("c"); in testInvalidateAll_empty() 105 cache.getUnchecked(null); in testGetUnchecked_null() 173 cache.getUnchecked(1); in testKeySet_remove() 174 cache.getUnchecked(2); in testKeySet_remove() 250 cache.getUnchecked(1); in testValues_remove() 251 cache.getUnchecked(2); in testValues_remove() [all …]
|
D | CacheExpirationTest.java | 77 assertEquals(Integer.valueOf(VALUE_PREFIX + i), cache.getUnchecked(KEY_PREFIX + i)); in checkExpiration() 82 assertEquals(Integer.valueOf(VALUE_PREFIX + i), cache.getUnchecked(KEY_PREFIX + i)); in checkExpiration() 126 assertEquals(Integer.valueOf(VALUE_PREFIX + i), cache.getUnchecked(KEY_PREFIX + i)); in runExpirationTest() 131 assertEquals(Integer.valueOf(VALUE_PREFIX + i), cache.getUnchecked(KEY_PREFIX + i)); in runExpirationTest() 139 cache.getUnchecked(KEY_PREFIX + 11); in runExpirationTest() 156 assertEquals(Integer.valueOf(VALUE_PREFIX + i), cache.getUnchecked(KEY_PREFIX + i)); in runExpirationTest() 203 cache.getUnchecked(10).incrementAndGet(); in testRemovalListener_expireAfterWrite() 208 int remaining = cache.getUnchecked(10).get(); in testRemovalListener_expireAfterWrite() 259 cache.getUnchecked(i); in testExpirationOrder_access() 311 cache.getUnchecked(i); in testExpirationOrder_write() [all …]
|
D | CacheLoadingTest.java | 121 assertSame(key, cache.getUnchecked(key)); in testLoad() 185 assertSame(one, cache.getUnchecked(key)); in testReload() 200 assertSame(two, cache.getUnchecked(key)); in testReload() 236 assertSame(one, cache.getUnchecked(key)); in testRefresh() 244 assertSame(one, cache.getUnchecked(key)); in testRefresh() 252 assertSame(two, cache.getUnchecked(key)); in testRefresh() 260 assertSame(two, cache.getUnchecked(key)); in testRefresh() 296 assertSame(one, cache.getUnchecked(key)); in testRefresh_getIfPresent() 615 cache.getUnchecked(new Object()); in testLoadNull() 675 assertSame(one, cache.getUnchecked(key)); in testReloadNull() [all …]
|
D | NullCacheTest.java | 50 assertSame(computed, cache.getUnchecked(key)); in testGet() 67 assertSame(computed, cache.getUnchecked(key)); in testGet_expireAfterWrite() 84 assertSame(computed, cache.getUnchecked(key)); in testGet_expireAfterAccess() 100 cache.getUnchecked(new Object()); in testGet_computeNull() 116 map.getUnchecked(new Object()); in testGet_runtimeException()
|
D | CacheReferencesTest.java | 67 assertSame(value, cache.getUnchecked(key)); 78 assertSame(value, cache.getUnchecked(key)); 94 assertSame(value1, cache.getUnchecked(key1)); 95 assertSame(value2, cache.getUnchecked(key2)); 109 assertSame(value1, cache.getUnchecked(key1)); 110 assertSame(value2, cache.getUnchecked(key2));
|
D | CacheEvictionTest.java | 71 cache.getUnchecked(i); in testEviction_maxSizeOneSegment() 87 cache.getUnchecked(i); in testEviction_maxWeightOneSegment() 103 cache.getUnchecked(i); in testEviction_maxSize() 123 cache.getUnchecked(i); in testEviction_maxWeight() 143 cache.getUnchecked(objectWithHash(0)); in testEviction_overflow() 144 cache.getUnchecked(objectWithHash(0)); in testEviction_overflow() 157 cache.getUnchecked(entry.getKey()); in testUpdateRecency_onGet() 305 cache.getUnchecked(i); in getAll()
|
D | PopulatedCachesTest.java | 75 assertEquals(entry.getValue(), cache.getUnchecked(entry.getKey())); in testContainsKey_found() 95 assertEquals(newValue, cache.getUnchecked(entry.getKey())); in testPut_populated() 96 assertEquals(entry.getValue(), cache.getUnchecked(newKey)); in testPut_populated() 116 assertEquals(entry.getValue(), cache.getUnchecked(entry.getKey())); in testPutIfAbsent_populated() 117 assertEquals(entry.getValue(), cache.getUnchecked(newKey)); in testPutIfAbsent_populated() 134 assertEquals(newValue, cache.getUnchecked(newKey)); in testPutAll_populated() 153 assertEquals(entry.getValue(), cache.getUnchecked(entry.getKey())); in testReplace_populated() 274 cache.getUnchecked(1); in testWriteThroughEntry() 348 Object value = cache.getUnchecked(key);
|
D | CacheBuilderTest.java | 62 assertEquals(Integer.valueOf(1), cache.getUnchecked("one")); in testNewBuilder() 375 assertSame(key, nullCache.getUnchecked(key)); in testNullCache() 405 cache.getUnchecked("a"); in testRemovalNotification_clear() 413 cache.getUnchecked("b"); in testRemovalNotification_clear() 434 assertEquals("b", cache.getUnchecked("b")); in testRemovalNotification_clear() 470 cache.getUnchecked(s); in testRemovalNotification_clear_basher() 482 cache.getUnchecked(s); in testRemovalNotification_clear_basher() 571 cache.getUnchecked("key" + random.nextInt(nUniqueKeys)); in testRemovalNotification_get_basher()
|
D | ForwardingLoadingCacheTest.java | 64 expect(mock.getUnchecked("key")).andReturn(Boolean.TRUE); in testGetUnchecked() 66 assertSame(Boolean.TRUE, forward.getUnchecked("key")); in testGetUnchecked()
|
/external/clang/include/clang/AST/ |
D | ASTTypeTraits.h | 239 const T &getUnchecked() const { 240 return BaseConverter<T>::getUnchecked(NodeKind, Storage.buffer); 277 return getUnchecked<QualType>().getAsOpaquePtr() < 278 Other.getUnchecked<QualType>().getAsOpaquePtr(); 281 auto TLA = getUnchecked<TypeLoc>(); 282 auto TLB = Other.getUnchecked<TypeLoc>(); 291 auto NNSLA = getUnchecked<NestedNameSpecifierLoc>(); 292 auto NNSLB = Other.getUnchecked<NestedNameSpecifierLoc>(); 310 return getUnchecked<QualType>() == Other.getUnchecked<QualType>(); 313 return getUnchecked<TypeLoc>() == Other.getUnchecked<TypeLoc>(); [all …]
|
/external/guava/guava/src/com/google/common/cache/ |
D | AbstractLoadingCache.java | 51 public V getUnchecked(K key) { in getUnchecked() method in AbstractLoadingCache 72 return getUnchecked(key); in apply()
|
D | ForwardingLoadingCache.java | 52 public V getUnchecked(K key) { in getUnchecked() method in ForwardingLoadingCache 53 return delegate().getUnchecked(key); in getUnchecked()
|
D | LoadingCache.java | 102 V getUnchecked(K key); in getUnchecked() method
|
/external/guava/guava-tests/benchmark/com/google/common/cache/ |
D | LoadingCacheSingleThreadBenchmark.java | 70 while (cache.getUnchecked(nextRandomKey()) < maximumSize) {} in setUp() 79 dummy += cache.getUnchecked(nextRandomKey()); in time()
|
D | MapMakerComparisonBenchmark.java | 65 loadingCache.getUnchecked(TEST_KEY); in loadingCacheBuilder_stats() 71 loadingCacheNoStats.getUnchecked(TEST_KEY); in loadingCacheBuilder()
|
/external/guice/core/src/com/google/inject/internal/util/ |
D | StackTraceElements.java | 71 LineNumbers lineNumbers = lineNumbersCache.getUnchecked(declaringClass); in forMember() 88 LineNumbers lineNumbers = lineNumbersCache.getUnchecked(implementation); in forType()
|
/external/guice/core/src/com/google/inject/internal/ |
D | FailableCache.java | 51 Object resultOrError = delegate.getUnchecked(key); in get()
|
D | Annotations.java | 90 return (T) cache.getUnchecked(annotationType); in generateAnnotation() 274 return cache.getUnchecked(annotated);
|
D | ProvisionListenerCallbackStore.java | 73 cache.getUnchecked(new KeyBinding(binding.getKey(), binding)); in get()
|
/external/grpc-grpc-java/stub/src/main/java/io/grpc/stub/ |
D | ClientCalls.java | 108 return getUnchecked(futureUnaryCall(call, req)); in blockingUnaryCall() 139 return getUnchecked(responseFuture); in blockingUnaryCall() 204 private static <V> V getUnchecked(Future<V> future) { in getUnchecked() method in ClientCalls
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
D | ClassPath.java | 132 return loadedClasses.getUnchecked(type.toString()); in getClass()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | FuturesTest.java | 23 import static com.google.common.util.concurrent.Futures.getUnchecked; 2234 assertEquals("foo", getUnchecked(immediateFuture("foo"))); 2240 assertEquals("foo", getUnchecked(immediateFuture("foo"))); 2251 getUnchecked(future); 2259 getUnchecked(FAILED_FUTURE_CHECKED_EXCEPTION); 2268 getUnchecked(FAILED_FUTURE_UNCHECKED_EXCEPTION); 2277 getUnchecked(FAILED_FUTURE_ERROR); 2286 getUnchecked(FAILED_FUTURE_OTHER_THROWABLE); 2295 getUnchecked(RUNTIME_EXCEPTION_FUTURE);
|