- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for computed (0.16 sec)
-
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
} public void testInvalidateDuringLoading() throws InterruptedException, ExecutionException { // computation starts; invalidate() is called on the key being computed, computation finishes final CountDownLatch computationStarted = new CountDownLatch(2); final CountDownLatch letGetFinishSignal = new CountDownLatch(1);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 86.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
// Ensure that referenceMap, which doesn't use WithExpectedSize, ends up with the same table // size as the other two maps. If it ended up with a smaller size that would imply that we // computed the wrong initial capacity. for (int i = 0; i < size; i++) { referenceMap.put(i, null); } assertWithMessage("table size after adding " + size + " elements") .that(initialBuckets)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:06:01 GMT 2024 - 67.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
} public void testInvalidateDuringLoading() throws InterruptedException, ExecutionException { // computation starts; invalidate() is called on the key being computed, computation finishes final CountDownLatch computationStarted = new CountDownLatch(2); final CountDownLatch letGetFinishSignal = new CountDownLatch(1);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 86.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
// Ensure that referenceMap, which doesn't use WithExpectedSize, ends up with the same table // size as the other two maps. If it ended up with a smaller size that would imply that we // computed the wrong initial capacity. for (int i = 0; i < size; i++) { referenceMap.put(i, null); } assertWithMessage("table size after adding " + size + " elements") .that(initialBuckets)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 16:06:01 GMT 2024 - 64.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 91.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
* } * }</pre> * * <p>would be flagged as having called {@code sqrt()} with an illegal argument. * * <h3>Performance</h3> * * <p>Avoid passing message arguments that are expensive to compute; your code will always compute * them, even though they usually won't be needed. If you have such arguments, use the conventional * if/throw idiom instead. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 11 11:52:14 GMT 2024 - 52.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
if (i > 0 && comparator.compare((K) sortedKeys[i - 1], (K) sortedKeys[i]) == 0) { throw new IllegalArgumentException( "keys required to be distinct but compared as equal: " + sortedKeys[i - 1] + " and " + sortedKeys[i]); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 53.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
message += "delay)"; } // It's confusing to see a completed future in a timeout message; if isDone() returns false, // then we know it must have given a pending toString value earlier. If not, then the future // completed after the timeout expired, and the message might be success. if (isDone()) { throw new TimeoutException(message + " but future completed as timeout expired"); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 63K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
log.debug("Session setup failed", se); if ( this.connectionState.compareAndSet(1, 0) ) { // only try to logoff if we have not completed the session setup, ignore errors from chained // responses logoff(true, true); } throw se; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Nov 14 17:41:04 GMT 2021 - 49K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
@SuppressWarnings("nullness") ListenableFuture<List<V>> nonNull = nullable; return nonNull; } /** * Creates a {@link FutureCombiner} that processes the completed futures whether or not they're * successful. * * <p>Any failures from the input futures will not be propagated to the returned future. * * @since 20.0 */ @SafeVarargs
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 59.6K bytes - Viewed (0)