- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 80 for twelve (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
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) -
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) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
requestBody.close() assertThat(responseBody.readUtf8Line()).isNull() } body.awaitSuccess() } /** * Duplex calls that have follow-ups are weird. By the time we know there's a follow-up we've * already split off another thread to stream the request body. Because we permit at most one * exchange at a time we break the request stream out from under that writer. */ @Test fun duplexWithRedirect() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 25.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) -
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/EventListenerTest.kt
* This inserts a bunch of synthetic 250 ms delays into both client and server and confirms that * the same delays make it back into the events. * * We've had bugs where we report an event when we request data rather than when the data actually * arrives. https://github.com/square/okhttp/issues/5578 */ private fun timeToFirstByte() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 70.7K 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) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
) val call1 = client.newCall(Request(server.url("/"))) val response1 = call1.execute() waitForDataFrames(Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE) // Cancel the call and discard what we've buffered for the response body. This should free up // the connection flow-control window so new requests can proceed. call1.cancel() assertThat( response1.body.source().discard(1, TimeUnit.SECONDS),Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 67.5K bytes - Click Count (0)