- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 344 for failed (0.16 sec)
-
guava/src/com/google/common/cache/CacheStats.java
* missRate =~ 1.0}. Cache misses include all requests which weren't cache hits, including * requests which resulted in either successful or failed loading attempts, and requests which * waited for other threads to finish loading. It is thus the case that {@code missCount >= * loadSuccessCount + loadExceptionCount}. Multiple concurrent misses for the same key will result
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sun Aug 07 02:38:22 GMT 2022 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* missRate =~ 1.0}. Cache misses include all requests which weren't cache hits, including * requests which resulted in either successful or failed loading attempts, and requests which * waited for other threads to finish loading. It is thus the case that {@code missCount >= * loadSuccessCount + loadExceptionCount}. Multiple concurrent misses for the same key will result
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sun Aug 07 02:38:22 GMT 2022 - 12.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
} assertTrue(millisElapsedSince(startTime) >= timeoutMillis); } /** Fails with message "should throw exception". */ public void shouldThrow() { fail("Should throw exception"); } /** Fails with message "should throw " + exceptionName. */ public void shouldThrow(String exceptionName) { fail("Should throw " + exceptionName); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("kaboom!"); executionThread.join(); assertTrue(service.startUpCalled); assertEquals(Service.State.FAILED, service.state()); assertThat(service.failureCause()).hasMessageThat().isEqualTo("kaboom!"); } private class ThrowOnStartUpService extends AbstractExecutionThreadService {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractIterator.java
} @Override public final boolean hasNext() { checkState(state != State.FAILED); switch (state) { case DONE: return false; case READY: return true; default: } return tryToComputeNext(); } private boolean tryToComputeNext() { state = State.FAILED; // temporary pessimism next = computeNext(); if (state != State.DONE) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Mar 18 02:04:10 GMT 2022 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
assertCastFails(Long.MAX_VALUE); assertCastFails(Long.MIN_VALUE); } private static void assertCastFails(long value) { try { UnsignedInts.checkedCast(value); fail("Cast to int should have failed: " + value); } catch (IllegalArgumentException ex) { assertThat(ex).hasMessageThat().contains(String.valueOf(value)); } } public void testSaturatedCast() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 12.7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
import java.util.concurrent.Executor; /** Measures the size of AbstractFuture implementations. */ public class AbstractFutureFootprintBenchmark { enum State { NOT_DONE, FINISHED, CANCELLED, FAILED } @Param State state; @Param Impl impl; @Param({"0", "1", "5", "10"}) int numListeners; @Param({"0", "1", "5", "10"}) int numThreads;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Jan 17 15:34:54 GMT 2018 - 3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
import java.util.concurrent.Executor; /** Measures the size of AbstractFuture implementations. */ public class AbstractFutureFootprintBenchmark { enum State { NOT_DONE, FINISHED, CANCELLED, FAILED } @Param State state; @Param Impl impl; @Param({"0", "1", "5", "10"}) int numListeners; @Param({"0", "1", "5", "10"}) int numThreads;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Jan 17 15:34:54 GMT 2018 - 3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
equalsTester.addEqualityGroup((Object) null); fail("Should fail on null reference"); } catch (NullPointerException e) { } } /** Test equalObjects after adding multiple instances at once with a null */ public void testAddTwoEqualObjectsAtOnceWithNull() { try { equalsTester.addEqualityGroup(reference, equalObject1, null); fail("Should fail on null equal object"); } catch (NullPointerException e) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 12.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
throw new RuntimeException("Unexpected interrupt while waiting for latch", ie); } } while (System.nanoTime() - deadline < 0); throw formatRuntimeException( "Latch failed to count down within %d second timeout", timeoutSeconds); } /** * Creates a garbage object that counts down the latch in its finalizer. Sequestered into a
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.6K bytes - Viewed (0)