- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 273 for dcancel (0.09 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
val interceptor = Interceptor { chain: Interceptor.Chain -> val call = chain.call() callRef.set(call) assertThat(call.isCanceled()).isFalse() call.cancel() assertThat(call.isCanceled()).isTrue() chain.proceed(chain.request()) } client = client .newBuilder() .addInterceptor(interceptor) .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 28.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
* * <p>The valid values are: * * <ul> * <li>{@code null} initial state, nothing has happened. * <li>{@link Cancellation} terminal state, {@code cancel} was called. * <li>{@link Failure} terminal state, {@code setException} was called. * <li>{@link DelegatingToFuture} intermediate state, {@code setFuture} was called.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
assertThat(readAscii(in1, 5)).isEqualTo("ABCDE") in1.close() call1.cancel() val call2 = client.newCall(newRequest("/")) val response2 = call2.execute() val in2 = response2.body.byteStream() assertThat(readAscii(in2, 5)).isEqualTo("LMNOP") in2.close() call2.cancel() assertThat(server.takeRequest().exchangeIndex).isEqualTo(0) // Connection is pooled!
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
assertNull(testBlock.split()); assertNull(testBlock.createCancel()); assertNull(testBlock.getNextResponse()); assertFalse(testBlock.isCancel()); assertEquals(1, testBlock.getCreditCost()); assertEquals(1, testBlock.getGrantedCredits()); } @Test @DisplayName("Test prepare method")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractFutureState.java
* * <p>The valid values are: * * <ul> * <li>{@code null} initial state, nothing has happened. * <li>{@link Cancellation} terminal state, {@code cancel} was called. * <li>{@link Failure} terminal state, {@code setException} was called. * <li>{@link DelegatingToFuture} intermediate state, {@code setFuture} was called.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
execJob.timeout = 10; execJob.sessionId = "test-session"; TimeoutTask task = execJob.testCreateTimeoutTask(); assertNotNull(task); // Clean up timeout task task.cancel(); } // Test createSystemProperties method public void test_createSystemProperties() throws IOException { List<String> cmdList = new ArrayList<>(); cmdList.add("test");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
cmd/object-api-utils.go
rng := rand.New(rand.NewSource(time.Now().UTC().UnixNano())) var d net.Dialer var retry int for retry < len(hosts) { ctx, cancel := context.WithTimeout(GlobalContext, 300*time.Millisecond) host = hosts[rng.Intn(len(hosts))] conn, err := d.DialContext(ctx, "tcp", host) cancel() if err != nil { retry++ continue } conn.Close() break } return host }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 25 15:08:54 UTC 2025 - 37.3K bytes - Viewed (0) -
cmd/server_test.go
} func (s *TestSuiteCommon) RestartTestServer(c *check) { // Shutdown. s.testServer.cancel() s.testServer.Server.Close() s.testServer.Obj.Shutdown(context.Background()) // Restart. ctx, cancel := context.WithCancel(context.Background()) s.testServer.cancel = cancel s.testServer = initTestServerWithBackend(ctx, c, s.testServer, s.testServer.Obj, s.testServer.rawDiskPaths) if s.secure {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118.1K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public final class okhttp3/CacheControl$Companion { public final fun parse (Lokhttp3/Headers;)Lokhttp3/CacheControl; } public abstract interface class okhttp3/Call : java/lang/Cloneable { public abstract fun cancel ()V public abstract fun clone ()Lokhttp3/Call; public abstract fun enqueue (Lokhttp3/Callback;)V public abstract fun execute ()Lokhttp3/Response; public abstract fun isCanceled ()Z public abstract fun isExecuted ()Z
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0) -
RELEASE.md
Liu, Chen Guoyin, chenchc, chengchingwen, chie8842, Christian Hansen, Christoph Boeddeker, Christopher Yeh, Clayne Robison, Coady, Patrick, crafet, csukuangfj, ctiijima, Dan Jarvis, Dan Lazewatsky, Daniel Ingram, Daniel Rasmussen, Daniel Salvadori, Dave Airlie, David Norman, Dayananda V, delock, Denis Khalikov, Deven Desai, Dheeraj Rajaram Reddy, Diego Caballero, dmitrievanthony, Donovan Ong,
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Aug 18 20:54:38 UTC 2025 - 740K bytes - Viewed (1)