- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 64 for call1 (0.02 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
// The first call times out. val call1 = client.newCall(Request(server.url("/"))) assertFailsWith<SocketTimeoutException> { call1.execute().use { response -> response.body.string() } } // The second call succeeds. val call2 = client.newCall(Request(server.url("/"))) call2.execute().use { response -> assertThat(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) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
.build(), ) var call = client.newCallWithListener( Request .Builder() .url(server.url("/")) .build(), ) var response = call.execute() assertThat(response.code).isEqualTo(200) response.close() eventRecorder.clearAllEvents() call = call.cloneWithListener() response = call.execute()
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) -
docs/changelogs/changelog_3x.md
* **Canceling batches of calls is now the application's responsibility.** The API to cancel calls by tag has been removed and replaced with a more general mechanism. The dispatcher now exposes all in-flight calls via its `runningCalls()` and `queuedCalls()` methods. You can write code that selects calls by tag, host, or whatever, and invokes `Call.cancel()` on the ones that are no longer necessary.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
@get:JvmName("certificateChainCleaner") val certificateChainCleaner: CertificateChainCleaner? /** * Default call timeout (in milliseconds). By default there is no timeout for complete calls, but * there is for the connect, write, and read actions within a call. * * For WebSockets and duplex calls the timeout only applies to the initial setup. */ @get:JvmName("callTimeoutMillis")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 51.5K bytes - Click Count (0) -
tensorflow/c/c_api.h
// Output status TF_Status*); // Set up the graph with the intended feeds (inputs) and fetches (outputs) for a // sequence of partial run calls. // // On success, returns a handle that is used for subsequent PRun calls. The // handle should be deleted with TF_DeletePRunHandle when it is no longer // needed. // // On failure, out_status contains a tensorflow::Status with an errorCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* the {@code Future} is already done. Second, if buggy code calls {@code getDone} on a {@code * Future} that is still pending, the program will throw instead of block. This can be important * for APIs like {@link #whenAllComplete whenAllComplete(...)}{@code .}{@link * FutureCombiner#call(Callable, Executor) call(...)}, where it is easy to use a new input from * the {@code call} implementation but forget to add it to the arguments of {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterators.java
} } /** * Returns a {@code PeekingIterator} backed by the given iterator. * * <p>Calls to the {@code peek} method with no intervening calls to {@code next} do not affect the * iteration, and hence return the same object each time. A subsequent call to {@code next} is * guaranteed to return the same object again. For example: * * {@snippet :Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterators.java
} } /** * Returns a {@code PeekingIterator} backed by the given iterator. * * <p>Calls to the {@code peek} method with no intervening calls to {@code next} do not affect the * iteration, and hence return the same object each time. A subsequent call to {@code next} is * guaranteed to return the same object again. For example: * * {@snippet :Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
} } // subsequent calls should call the loader again, not get the old exception assertThrows(UncheckedExecutionException.class, () -> cache.getUnchecked("bar")); assertThat(callCount.get()).isEqualTo(2); } /** * Test-helper method that performs {@code nThreads} concurrent calls to {@code cache.get(key)} orCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
} } // subsequent calls should call the loader again, not get the old exception assertThrows(UncheckedExecutionException.class, () -> cache.getUnchecked("bar")); assertThat(callCount.get()).isEqualTo(2); } /** * Test-helper method that performs {@code nThreads} concurrent calls to {@code cache.get(key)} orCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0)