- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 273 for dcancel (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
throw IllegalStateException( "Cannot stream a request body without chunked encoding or a known content length!", ) } override fun cancel() { carrier.cancel() } /** * Prepares the HTTP headers and sends them to the server. * * For streaming requests with a body, headers must be prepared **before** the output stream has
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 17.5K bytes - Click Count (7) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
assertFailsWith<IOException> { response.trailers() } assertThat(exception.message).isIn( "Socket closed", // HTTP/1.1 "stream was reset: CANCEL", // HTTP/2 ) } assertThat(trailersDelay).isGreaterThan(250.milliseconds) assertThat(trailersDelay).isLessThan(750.milliseconds) } } @Test
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 08 21:45:04 GMT 2025 - 18.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java
this.function = function; this.primarySetupOffset = NTT_PRIMARY_SETUP_OFFSET; this.secondaryParameterOffset = NTT_SECONDARY_PARAMETER_OFFSET; } /** * * @return a cancel request */ @Override public CommonServerMessageBlockRequest createCancel() { return new SmbComNtCancel(getConfig(), (int) getMid()); } @OverrideCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
assertThat(t).isInstanceOf(CancellationException.class); called = true; } } }; addCallback(f, callback, directExecutor()); f.cancel(true); } public void testThrowErrorFromGet() { Error error = new AssertionError("ASSERT!"); ListenableFuture<String> f = UncheckedThrowingFuture.throwingError(error);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 6.7K bytes - Click Count (0) -
cmd/perf-tests.go
continue } info := info wg.Add(connectionsPerPeer) for range connectionsPerPeer { go func() { defer wg.Done() ctx, cancel := context.WithTimeout(ctx, duration+10*time.Second) defer cancel() perfNetRequest( ctx, info.DeploymentID, adminPathPrefix+adminAPIVersionPrefix+adminAPISiteReplicationDevNull, r, ) }() } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
}; future = service.schedule(runnable, 5, MINUTES); future.cancel(true); assertTrue(future.isCancelled()); delegateFuture = (ScheduledFuture<?>) delegateQueue.element(); assertTrue(delegateFuture.isCancelled()); delegateQueue.clear(); future = service.scheduleAtFixedRate(runnable, 5, 5, MINUTES); future.cancel(true); assertTrue(future.isCancelled());Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 26.5K bytes - Click Count (0) -
cmd/sftp-server-driver.go
case "Rmdir": bucket, prefix := path2BucketObject(r.Filepath) if bucket == "" { return errors.New("deleting all buckets not allowed") } cctx, cancel := context.WithCancel(context.Background()) defer cancel() if prefix == "" { // if all objects are not deleted yet this call may fail. return clnt.RemoveBucket(cctx, bucket) } objectsCh := make(chan minio.ObjectInfo)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Feb 10 16:35:49 GMT 2025 - 11.6K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/SipHashFunction.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ /* * SipHash-c-d was designed by Jean-Philippe Aumasson and Daniel J. Bernstein and is described in * "SipHash: a fast short-input PRF" (available at https://131002.net/siphash/siphash.pdf). */ package com.google.common.hash;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcMessage.java
} if (this.ptype == 2 || this.ptype == 3) { /* Response or Fault */ this.alloc_hint = buf.dec_ndr_long(); buf.dec_ndr_short(); /* context id */ buf.dec_ndr_short(); /* cancel count */ } if (this.ptype == 3 || this.ptype == 13) { /* Fault */ this.result = buf.dec_ndr_long(); } else { /* Bind_ack or Response */ decode_out(buf); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
when(mockBuffer.dec_ndr_short()).thenReturn(100) // length .thenReturn(0) // auth_value length .thenReturn(0) // context id .thenReturn(0); // cancel count message.decode(mockBuffer); assertEquals(DcerpcConstants.RPC_PT_RESPONSE, message.ptype); assertEquals(100, message.alloc_hint); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.3K bytes - Click Count (0)