- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for Get (0.12 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
ListenableFuture<String> iFuture = inputs.allFutures.get(i).future; ListenableFuture<String> jFuture = inputs.allFutures.get(j).future; ListenableFuture<List<String>> future = merger.merged(iFuture, jFuture); // Test timed get before we've completed any delayed futures. try { List<String> result = future.get(0, MILLISECONDS);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
for (int i = 0; i < size; i++) { ReferenceEntry<K, V> expectedEntry = expectedEntries.get(i); ReferenceEntry<K, V> actualEntry = actualEntries.get(i); assertSame(expectedEntry.getKey(), actualEntry.getKey()); assertSame(expectedEntry.getValueReference().get(), actualEntry.getValueReference().get()); } } static <K, V> void checkExpirationTimes(LocalCache<K, V> map) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 14 23:06:48 GMT 2024 - 112.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
for (int i = 0; i < size; i++) { ReferenceEntry<K, V> expectedEntry = expectedEntries.get(i); ReferenceEntry<K, V> actualEntry = actualEntries.get(i); assertSame(expectedEntry.getKey(), actualEntry.getKey()); assertSame(expectedEntry.getValueReference().get(), actualEntry.getValueReference().get()); } } static <K, V> void checkExpirationTimes(LocalCache<K, V> map) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 14 23:06:48 GMT 2024 - 110.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
@Override @CheckForNull public V get(@CheckForNull Object key) { if (key == null) { return null; } int hash = hash(key); return segmentFor(hash).get(key, hash); } @CanIgnoreReturnValue // TODO(b/27479612): consider removing this V get(K key, CacheLoader<? super K, V> loader) throws ExecutionException {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 150.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
ListenableFuture<String> iFuture = inputs.allFutures.get(i).future; ListenableFuture<String> jFuture = inputs.allFutures.get(j).future; ListenableFuture<List<String>> future = merger.merged(iFuture, jFuture); // Test timed get before we've completed any delayed futures. try { List<String> result = future.get(0, MILLISECONDS);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LocalCache.java
@Override @CheckForNull public V get(@CheckForNull Object key) { if (key == null) { return null; } int hash = hash(key); return segmentFor(hash).get(key, hash); } @CanIgnoreReturnValue // TODO(b/27479612): consider removing this V get(K key, CacheLoader<? super K, V> loader) throws ExecutionException {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 144.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* .transform((closer, result) -> result.get("userName"), directExecutor()) * .catching(DBException.class, e -> "no user", directExecutor()) * .finishToValueAndCloser( * valueAndCloser -> this.userNameValueAndCloser = valueAndCloser, executor); * * // later * try { // get() will throw if the operation failed or was cancelled. * UserName userName = userNameValueAndCloser.get(); * // do something with userName
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 98.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java
} Collections.shuffle(list, rand); if (forceSlow) { // Move zero index to front to force a matching character (if percent > 0) list.set(list.indexOf(0), list.get(0)); list.set(0, 0); } // Get threshold in the range [0, length], rounding up to ensure that // non-zero percent values result in a non-zero threshold (so we always // have at least one matching character).
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 194.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
return Sets.hashCodeImpl(this); } } /** * Returns a {@link Converter} that converts values using {@link BiMap#get bimap.get()}, and whose * inverse view converts values using {@link BiMap#inverse bimap.inverse()}{@code .get()}. * * <p>To use a plain {@link Map} as a {@link Function}, see {@link * com.google.common.base.Functions#forMap(Map)} or {@link
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 159.6K bytes - Viewed (0) -
analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/references/Fe10IdeNormalAnalysisSourceModuleReferenceResolveTestGenerated.java
Java - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Sat Apr 13 09:17:40 GMT 2024 - 129.5K bytes - Viewed (0)