- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 182 for caniuse (0.2 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
new AbstractFuture<Object>() { @Override public String pendingToString() { return "cause=[Because this test isn't done]"; } }; assertThat(testFuture.toString()) .matches( "[^\\[]+\\[status=PENDING, info=\\[cause=\\[Because this test isn't done\\]\\]\\]"); TimeoutException e =
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 46.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
assertThat(future.set(1)).isTrue(); assertSuccessful(future, 1); } public void testFailed() throws Exception { Exception cause = new Exception(); assertThat(future.setException(cause)).isTrue(); assertFailed(future, cause); } public void testCanceled() throws Exception { assertThat(future.cancel(false /* mayInterruptIfRunning */)).isTrue(); assertCancelled(future, false);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 15.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
return lockedGetOrLoad(key, hash, loader); } catch (ExecutionException ee) { Throwable cause = ee.getCause(); if (cause instanceof Error) { throw new ExecutionError((Error) cause); } else if (cause instanceof RuntimeException) { throw new UncheckedExecutionException(cause); } throw ee; } finally { postReadCleanup(); } }
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
.testNulls(); } static AssertionFailedError failureWithCause(Throwable cause, String message) { AssertionFailedError failure = new AssertionFailedError(message); failure.initCause(cause); return failure; } // This test covers a bug where an Error thrown from a callback could cause the TimeoutFuture to
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-testlib/src/com/google/common/testing/GcFinalization.java
* <li>enqueuing weak references to unreachable referents in their reference queue * </ul> * * <p>This class uses (possibly repeated) invocations of {@link java.lang.System#gc()} to cause * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
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) -
guava-tests/test/com/google/common/reflect/ParameterTest.java
} catch (ClassNotFoundException runningInAndroidVm) { /* * Parameter declares a method that returns AnnotatedType, which isn't available on Android. * This would cause NullPointerTester, which calls Class.getDeclaredMethods, to throw * NoClassDefFoundError. */ return; } for (Method method : ParameterTest.class.getDeclaredMethods()) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Apr 06 02:06:03 GMT 2023 - 2K bytes - Viewed (0) -
guava-gwt/src/com/google/common/collect/Collect.gwt.xml
have prod supersource, even if they have none. GWT is happy to ignore us when we specify a nonexistent path. (I hope that this workaround does not cause its own problems in the future.) --> <super-source path="super"/> <inherits name="com.google.common.annotations.Annotations" /> <inherits name="com.google.common.base.Base" />
XML - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 24 14:08:06 GMT 2023 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/math/StatsAccumulator.java
* cause loss of precision) */ public void addAll(Iterable<? extends Number> values) { for (Number value : values) { add(value.doubleValue()); } } /** * Adds the given values to the dataset. * * @param values a series of values, which will be converted to {@code double} values (this may * cause loss of precision) */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 17:02:53 GMT 2023 - 14.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* https://github.com/google/guava/releases/tag/v27.0) This means that the copy of ListenableFuture * in com.google.guava:guava differs from the "frozen" copy in the listenablefuture artifact. This * could in principle cause problems for some users. Still, we expect that the benefits of the * nullness annotations in particular will outweigh the costs. (And it's worth noting that we have
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:13:41 GMT 2023 - 8K bytes - Viewed (0) -
guava/src/com/google/common/cache/RemovalCause.java
*/ SIZE { @Override boolean wasEvicted() { return true; } }; /** * Returns {@code true} if there was an automatic removal due to eviction (the cause is neither * {@link #EXPLICIT} nor {@link #REPLACED}). */ abstract boolean wasEvicted();
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 2.7K bytes - Viewed (0)