- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 420 for cancelFn (0.12 seconds)
-
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 Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 34.5K 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: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 40K bytes - Click Count (0) -
cmd/erasure-object.go
Healing: false, } mrfCheck := make(chan FileInfo) defer xioutil.SafeClose(mrfCheck) var rw sync.Mutex // Ask for all disks first; go func() { ctx, cancel := context.WithCancel(ctx) defer cancel() wg := sync.WaitGroup{} for i, disk := range disks { if disk == nil { done <- false continue } if !disk.IsOnline() { done <- false continue
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 80.4K 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K 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 Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0) -
cmd/iam-store.go
} store.runlock() if len(missingPolicies) > 0 { m := make(map[string]PolicyDoc) for _, policy := range missingPolicies { ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second) _ = store.loadPolicyDoc(ctx, policy, m) cancel() } cache := store.lock() maps.Copy(cache.iamPolicyDocsMap, m) store.unlock() for policy, p := range m {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 87.1K bytes - Click Count (0) -
cmd/storage-rest-server.go
w.WriteHeader(http.StatusNotFound) case errInvalidAccessKeyID, errAccessKeyDisabled, errNoAuthToken, errMalformedAuth, errAuthentication, errSkewedAuthTime: w.WriteHeader(http.StatusUnauthorized) case context.Canceled, context.DeadlineExceeded: w.WriteHeader(499) default: w.WriteHeader(http.StatusForbidden) } w.Write([]byte(err.Error())) } // DefaultSkewTime - skew time is 15 minutes between minio peers.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 45.7K bytes - Click Count (0) -
cmd/metrics-v2.go
return MetricDescription{ Namespace: s3MetricNamespace, Subsystem: requestsSubsystem, Name: canceledTotal, Help: "Total number of S3 requests that were canceled by the client", Type: counterMetric, } } func getS3RejectedAuthRequestsTotalMD() MetricDescription { return MetricDescription{ Namespace: s3MetricNamespace,Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 133.6K bytes - Click Count (0) -
fastapi/routing.py
# generators running in a thread pool. # # This context manager is entered on the request-scoped # AsyncExitStack so its __aexit__ (which cancels the # task group) is called by the exit stack after the # streaming response completes — not by async generator # finalization via GeneratorExit.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 193K bytes - Click Count (0) -
tensorflow/c/c_api_test.cc
TEST(CAPI, Status) { TF_Status* s = TF_NewStatus(); EXPECT_EQ(TF_OK, TF_GetCode(s)); EXPECT_EQ(std::string(), TF_Message(s)); TF_SetStatus(s, TF_CANCELLED, "cancel"); EXPECT_EQ(TF_CANCELLED, TF_GetCode(s)); EXPECT_EQ(std::string("cancel"), TF_Message(s)); TF_DeleteStatus(s); } void Deallocator(void* data, size_t, void* arg) { tensorflow::cpu_allocator()->DeallocateRaw(data);Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0)