- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 167 for errorea (0.37 sec)
-
android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
assertThat(verticalValuesAccumulatorByAddAllPartitionedPairedStats.sampleCovariance()) .isWithin(ALLOWED_ERROR) .of(0.0); assertThat(constantValuesAccumulator.sampleCovariance()).isWithin(ALLOWED_ERROR).of(0.0); assertThat(constantValuesAccumulatorByAddAllPartitionedPairedStats.sampleCovariance()) .isWithin(ALLOWED_ERROR) .of(0.0); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 23.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
assertEquals(RUNTIME_EXCEPTION, expected); } public void testGetCheckedUntimed_Error() throws TwoArgConstructorException { try { getChecked(ERROR_FUTURE, TwoArgConstructorException.class); } catch (Error expected) { assertEquals(ERROR, expected); return; } fail(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/GraphsTest.java
private static final int EDGE_COUNT = 20; // TODO(user): Consider adding both error messages from here and {@link AbstractNetworkTest} // in one class (may be a utility class for error messages). private static final String ERROR_PARALLEL_EDGE = "connected by a different edge"; private static final String ERROR_NEGATIVE_COUNT = "is non-negative"; private static final String ERROR_ADDED_PARALLEL_EDGE = "Should not be allowed to add a parallel edge.";
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 24.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N4, N5, E12)); assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE); e = assertThrows(IllegalArgumentException.class, () -> addEdge(N2, N1, E12)); assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE); } @Test public void addEdge_parallelEdge_notAllowed() { assume().that(graphIsMutable()).isTrue();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
waitForInterrupt(currentThread); } if (run) { if (error == null) { // The cast is safe because of the `run` and `error` checks. afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result)); } else { afterRanInterruptiblyFailure(error); } } } } private void waitForInterrupt(Thread currentThread) { /*
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Sep 29 21:34:48 GMT 2023 - 9.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
} catch (Exception e) { // sneaky checked exception AssertionError error = new AssertionFailedError("Serialization failed on return value of " + factory); error.initCause(e.getCause()); throw error; } catch (AssertionFailedError e) { AssertionError error = new AssertionFailedError(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 33K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
Object newValue = new Object(); valueRef.set(newValue); assertSame(newValue, cache.getUnchecked(new Object())); } public void testGetUnchecked_error() { final Error cause = new Error(); final AtomicReference<Object> valueRef = new AtomicReference<>(); LoadingCache<Object, Object> cache = new AbstractLoadingCache<Object, Object>() { @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java
throw new JudgmentError(); } @Subscribe @AllowConcurrentEvents public void threadSafeMethod(Object arg) {} /** Local Error subclass to check variety of error thrown. */ class JudgmentError extends Error { private static final long serialVersionUID = 634248373797713373L; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java
// identifiable substrings of expected error messages, from Strings that we've defined // here to provide error messages. // TODO(user): Some Strings used in the subclasses can be added as static Strings // here too. static final String ERROR_MODIFIABLE_SET = "Set returned is unexpectedly modifiable"; static final String ERROR_SELF_LOOP = "self-loops are not allowed";
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteStreams.java
* * @param from the input stream to read from * @param to the output stream to write to * @return the number of bytes copied * @throws IOException if an I/O error occurs */ @CanIgnoreReturnValue public static long copy(InputStream from, OutputStream to) throws IOException { checkNotNull(from); checkNotNull(to); byte[] buf = createBuffer();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 17 18:59:58 GMT 2024 - 29.7K bytes - Viewed (0)