- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 31 for Template (1.85 sec)
-
guava-testlib/src/com/google/common/collect/testing/Platform.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Aug 04 01:39:13 GMT 2022 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java
} public void testOneBits() { assertEquals(DoubleUtils.ONE_BITS, Double.doubleToRawLongBits(1.0)); } private static void failFormat(String template, Object... args) { fail(String.format(template, args)); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 2.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
@CheckForNull private volatile Cancellable runningTask; @CheckForNull private volatile ScheduledExecutorService executorService; // This lock protects the task so we can ensure that none of the template methods (startUp, // shutDown or runOneIteration) run concurrently with one another. // TODO(lukes): why don't we use ListenableFuture to sequence things? Then we could drop the // lock.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Dec 13 19:45:20 GMT 2023 - 25.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
} @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { /* * Don't bother testing: Preconditions defines a bunch of methods that accept a template (or * even entire message) that simultaneously: * * - _shouldn't_ be null, so we don't annotate it with @Nullable *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 19.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java
} else if (superString != null) { return resultString + superString; } return null; } /** Template method for subtypes to actually run the fallback. */ @ForOverride @ParametricNullness abstract T doFallback(F fallback, X throwable) throws Exception; /** Template method for subtypes to actually set the result. */ @ForOverride abstract void setResult(@ParametricNullness T result);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 8.7K bytes - Viewed (0) -
android/guava/src/com/google/common/html/HtmlEscapers.java
* systems and high-level APIs that provide autoescaping. * One Google-authored templating system available for external use is <a * href="https://developers.google.com/closure/templates/">Closure Templates</a>. * * <p>HTML escaping is particularly tricky: For example, <a href="http://goo.gl/5TgZb">some * elements' text contents must not be HTML escaped</a>. As a result, it is impossible to escape an
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 14 22:08:54 GMT 2021 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
} catch (ArithmeticException expected) { // success } } } } private static void failFormat(String template, Object... args) { assertWithMessage(template, args).fail(); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 20:15:57 GMT 2024 - 32.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
.add("anEnum", anEnum) .toString(); } } /** Validates that the Comparator equivalent we document is correct. */ @J2ktIncompatible // TODO b/315311435 - J2kt cannot emulate Comparator<C>.<U>thenComparing() public void testComparatorEquivalent() { Comparator<Foo> comparatorUsingComparisonChain = (a, b) -> ComparisonChain.start()
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 27 13:27:08 GMT 2024 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * A {@link Closeable} that collects {@code Closeable} resources and closes them all when it is * {@linkplain #close closed}. This is intended to approximately emulate the behavior of Java 7's <a * href="http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html" * >try-with-resources</a> statement in JDK6-compatible code. Running on Java 7, code using this
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Mar 06 15:15:46 GMT 2024 - 11.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java
* Assigns a thread to the given {@link Future} to provide {@link ListenableFuture} functionality. * * <p><b>Warning:</b> If the input future does not already implement {@code ListenableFuture}, the * returned future will emulate {@link ListenableFuture#addListener} by taking a thread from an * internal, unbounded pool at the first call to {@code addListener} and holding it until the * future is {@linkplain Future#isDone() done}. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 14 20:35:03 GMT 2023 - 7.5K bytes - Viewed (0)