- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 107 for twelve (0.08 seconds)
-
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
* assertTrue(Thread.interrupted())} except that this version tolerates late interrupts. */ private static void assertInterrupted() { try { /* * The sleep() will end immediately if we've already been interrupted or * wait patiently for the interrupt if not. */ Thread.sleep(LONG_DELAY_MS); fail("Dude, where's my interrupt?"); } catch (InterruptedException expected) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
* returns 0, but if we had a SingletonImmutableSortedSet, this might no * longer be the case.) * * javax.naming.Name and java.util.concurrent.Delayed might work, but * they're fairly obscure, we've invented our own interface and class. */ Interface a = new Impl(); Interface b = new Impl(); ImmutableSortedSet<Interface> set = ImmutableSortedSet.of(a, b); Object[] unused1 = set.toArray();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 46.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Streams.java
void set(T value) { this.set = true; this.value = value; } T get() { /* * requireNonNull is safe because we call get() only if we've previously called set(). * * (For further discussion of nullness, see the comment above the method.) */ return requireNonNull(value); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
} /** * This test causes two connections to become available simultaneously, one from a TCP connect and * one from the pool. We must take the pooled connection because by taking it from the pool, we've * fully acquired it. * * This test yields threads to force the decision of plan1 to be deliberate and not lucky. In * particular, we set up this sequence of events: * * 1. take plan 0
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 20.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
? new Cancellation( mayInterruptIfRunning, new CancellationException("Future.cancel() was called.")) /* * requireNonNull is safe because we've initialized these if * !GENERATE_CANCELLATION_CAUSES. * * TODO(cpovirk): Maybe it would be cleaner to define a CancellationSupplier interface
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 43.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/DoubleMathTest.java
for (double tolerance : BAD_TOLERANCE_CANDIDATES) { assertThrows(IllegalArgumentException.class, () -> DoubleMath.fuzzyEquals(1, 2, tolerance)); } } /* * We've split testFuzzyCompare() into multiple tests so that our internal Android test runner has * a better chance of completing each within its per-test-method timeout. */ public void testFuzzyCompare0() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 03 16:20:39 GMT 2026 - 27.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
return output(uncheckedCastNullableTToT(key), valueIterator.next()); } @Override public void remove() { valueIterator.remove(); /* * requireNonNull is safe because we've already initialized `collection`. If we hadn't, then * valueIterator.remove() would have failed. */ if (requireNonNull(collection).isEmpty()) { keyIterator.remove(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 40.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt
} /** * Earlier implementations of Android's hostname verifier required that wildcard names wouldn't * match "*.com" or similar. This was a nonstandard check that we've since dropped. It is the CA's * responsibility to not hand out certificates that match so broadly. */ @Test fun wildcardsDoesNotNeedTwoDots() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 40.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Converter.java
*/ /* * Just as Converter could implement `Function<@Nullable A, @Nullable B>` instead of `Function<A, * B>`, convertAll could accept and return iterables with nullable element types. In both cases, * we've chosen to instead use a signature that benefits existing users -- and is still safe. * * For convertAll, I haven't looked as closely at *how* much existing users benefit, so we should
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 18 21:43:06 GMT 2025 - 22.8K bytes - Click Count (0)