- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 550 for ccancel (0.08 seconds)
-
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
.body("abc") .build(), ) val call = client.newCall(request) assertFailsWith<IOException> { call.executeAsync().use { call.cancel() withContext(Dispatchers.IO) { it.body.string() } } } assertThat(call.isCanceled()).isTrue() } } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 5.3K bytes - Click Count (0) -
cmd/server-main_test.go
} } }) } } // Tests initializing new object layer. func TestNewObjectLayer(t *testing.T) { ctx, cancel := context.WithCancel(t.Context()) defer cancel() // Tests for ErasureSD object layer. nDisks := 1 disks, err := getRandomDisks(nDisks) if err != nil { t.Fatal("Failed to create drives for the backend") } defer removeRoots(disks)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
} @Test void testFailoverStateCreation() { ChannelFailover.FailoverState state = new ChannelFailover.FailoverState("test-channel"); assertEquals("test-channel", state.getChannelId()); assertEquals(0, state.getRetryCount()); assertTrue(state.shouldRetry()); assertTrue(state.getFailureTime() > 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/SimplexTransferListenerTest.java
// for technical reasons we cannot throw here, even if delegate does cancel transfer listener.transferInitiated(event(session, resource, TransferEvent.EventType.INITIATED)); Thread.sleep(500); // to make sure queue is processed, cancellation applied // subsequent call will cancel assertThrows( TransferCancelledException.class,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Feb 06 11:28:05 GMT 2025 - 5.1K bytes - Click Count (0) -
.github/workflows/ci-build.yml
branches: - master - r2.** permissions: contents: read concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} # Don't cancel in-progress jobs for master branches. cancel-in-progress: ${{ github.ref != 'master' }} jobs: #build-and-test-linux-x86-cpu: # uses: ./.github/workflows/build-reusable.yml # with: # runner: 'linux-x86-n2-16'Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Mar 28 04:33:01 GMT 2026 - 1.6K bytes - Click Count (0) -
internal/http/check_port_others.go
// It is possible to have a disconnected client in this tiny window of time. func CheckPortAvailability(host, port string, opts TCPOptions) (err error) { lc := &net.ListenConfig{} ctx, cancel := context.WithTimeout(context.Background(), time.Second) defer cancel() l, err := lc.Listen(ctx, "tcp", net.JoinHostPort(host, port)) if err != nil { return err } // As we are able to listen on this network, the port is not in use.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 03 21:12:25 GMT 2023 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/av/AvChannelBindings.java
*/ package jcifs.ntlmssp.av; /** * NTLMSSP AV pair representing channel binding information for enhanced security. * Used to bind NTLM authentication to specific communication channels. * * @author mbechler */ public class AvChannelBindings extends AvPair { /** * Constructs an AV channel bindings pair * @param channelBindingHash the channel binding hash value */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.3K bytes - Click Count (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
- [ ] Add request distribution algorithm - [ ] Create channel synchronization mechanism - [ ] Implement channel failure detection - [ ] Add automatic channel recovery - [ ] Create channel performance monitoring #### 3.3 Integration Points - Modify `SmbTransportPool` for multiple connections per session - Update `SmbSession` for multi-channel awareness - Enhance `SmbTransport` for channel management ---
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 10.7K bytes - Click Count (0) -
cmd/erasure-healing_test.go
t.Errorf("Expected dangling %t, got %t", testCase.expectedDangling, dangling) } }) } } // Tests both object and bucket healing. func TestHealing(t *testing.T) { ctx, cancel := context.WithCancel(t.Context()) defer cancel() obj, fsDirs, err := prepareErasure16(ctx) if err != nil { t.Fatal(err) } defer obj.Shutdown(t.Context()) // initialize the server and obtain the credentials and root.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 48.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
transaction.setMid(12345); // Create cancel request CommonServerMessageBlockRequest cancelRequest = transaction.createCancel(); // Verify it returns an SmbComNtCancel instance assertNotNull(cancelRequest); assertTrue(cancelRequest instanceof SmbComNtCancel); // Verify the cancel request has the correct MID assertEquals(12345, cancelRequest.getMid());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0)