- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 374 for cancelCh (0.1 seconds)
-
cmd/metacache-entries.go
// The output channel will be closed when all inputs are emptied. // If file names are equal, compareMeta is called to select which one to choose. // The entry not chosen will be discarded. // If the context is canceled the function will return the error, // otherwise the function will return nil. func mergeEntryChannels(ctx context.Context, in []chan metaCacheEntry, out chan<- metaCacheEntry, readQuorum int) error {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 08 15:29:58 GMT 2024 - 24.1K bytes - Click Count (0) -
cmd/site-replication.go
results.NodeResults = append(results.NodeResults, result) resultsMu.Unlock() }() continue } wg.Add(1) go func() { defer wg.Done() ctx, cancel := context.WithTimeout(ctx, duration+10*time.Second) defer cancel() result := perfNetRequest( ctx, info.DeploymentID, adminPathPrefix+adminAPIVersionPrefix+adminAPISiteReplicationNetPerf, nil, ) resultsMu.Lock()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 184.8K bytes - Click Count (1) -
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.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 33.2K bytes - Click Count (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.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 34.8K bytes - Click Count (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 {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 118.1K bytes - Click Count (0) -
cmd/xl-storage-disk-id-check.go
} // ReadMultiple will read multiple files and send each files as response. // Files are read and returned in the given order. // The resp channel is closed before the call returns. // Only a canceled context will return an error. func (p *xlStorageDiskIDCheck) ReadMultiple(ctx context.Context, req ReadMultipleReq, resp chan<- ReadMultipleResp) (err error) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 34.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
/** * SMB command for NT transaction operations. */ public static final byte SMB_COM_NT_TRANSACT = (byte) 0xA0; /** * SMB command to cancel an NT operation. */ public static final byte SMB_COM_NT_CANCEL = (byte) 0xA4; /** * SMB command for secondary NT transaction operations. */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
if (accessTimeoutTarget != null) { accessTimeoutTarget.stop(); if (accessTimeoutTask != null && !accessTimeoutTask.isCanceled()) { accessTimeoutTask.cancel(); } } } } /** * Retrieves response data from the FTP server for the specified URI.
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 40K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer_test.go
} else { t.Log("ok") } } result := string(buf[0:n]) if result != "hello" { t.Errorf("got: %q; want: %q", result, "hello") } } func timeout(after time.Duration) (cancel func()) { c := time.After(after) cc := make(chan struct{}) go func() { select { case <-cc: return case <-c: buf := make([]byte, 1<<20) stacklen := runtime.Stack(buf, true)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
fail("Should throw exception"); } catch (TimeoutException success) { } catch (Exception e) { threadUnexpectedException(e); } finally { future.cancel(true); } assertThat(millisElapsedSince(startTime)).isAtLeast(timeoutMillis); } /** The number of elements to place in collections, arrays, etc. */ public static final int SIZE = 20;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 37.8K bytes - Click Count (0)