- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for done2 (0.06 sec)
-
pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go
}, want: &preFilterState{ Constraints: []topologySpreadConstraint{zoneConstraint}, TpKeyToDomainsNum: map[string]int{"zone": 2}, TpKeyToCriticalPaths: map[string]*criticalPaths{ "zone": {{"zone1", 1}, {"zone2", 2}}, }, TpPairToMatchNum: map[topologyPair]int{ {key: "zone", value: "zone1"}: 1, {key: "zone", value: "zone2"}: 2,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 10:42:29 UTC 2024 - 143.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* done. */ public static final class DeferredCloser { @RetainedWith private final CloseableList list; DeferredCloser(CloseableList list) { this.list = list; } /** * Captures an object to be closed when a {@link ClosingFuture} pipeline is done. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 12:37:15 UTC 2024 - 98.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ClosingFuture.java
* done. */ public static final class DeferredCloser { @RetainedWith private final CloseableList list; DeferredCloser(CloseableList list) { this.list = list; } /** * Captures an object to be closed when a {@link ClosingFuture} pipeline is done. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 98.7K bytes - Viewed (0) -
src/net/http/transport_test.go
c := ts.Client() tr := c.Transport.(*Transport) donec := make(chan bool) req, _ := NewRequest("GET", ts.URL, body) req = test.newReq(req) go func() { defer close(donec) c.Do(req) }() unblockc <- true waitCondition(t, 10*time.Millisecond, func(d time.Duration) bool { test.cancel(tr, req) select { case <-donec: return true default: if d > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
src/database/sql/sql.go
// Check context first to avoid transaction leak. // If put it behind tx.done CompareAndSwap statement, we can't ensure // the consistency between tx.done and the real COMMIT operation. select { default: case <-tx.ctx.Done(): if tx.done.Load() { return ErrTxDone } return tx.ctx.Err() } if !tx.done.CompareAndSwap(false, true) { return ErrTxDone }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 103.6K bytes - Viewed (0) -
cluster/gce/util.sh
local_ssds+=("--local-ssd=interface=${ssdopts[1]}") done done fi if [[ -n ${NODE_LOCAL_SSDS+x} ]]; then # The NODE_LOCAL_SSDS check below fixes issue #49171 for ((i=1; i<=NODE_LOCAL_SSDS; i++)); do local_ssds+=('--local-ssd=interface=SCSI') done fi local address="" if [[ ${GCE_PRIVATE_CLUSTER:-} == "true" ]]; then
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 21:47:17 UTC 2024 - 161.6K bytes - Viewed (0) -
cmd/admin-handlers.go
hostMap = make(map[string]struct{}, len(hosts)) for _, k := range hosts { if k != "" { hostMap[k] = struct{}{} } } } dID := r.Form.Get("by-depID") done := ctx.Done() ticker := time.NewTicker(interval) defer ticker.Stop() w.Header().Set(xhttp.ContentType, string(mimeJSON)) enc := json.NewEncoder(w) for n > 0 { var m madmin.RealtimeMetrics
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 98K bytes - Viewed (0) -
cmd/bucket-replication.go
} go func() { <-p.ctx.Done() for i := 0; i < LargeWorkerCount; i++ { xioutil.SafeClose(p.lrgworkers[i]) } }() } // AddLargeWorker adds a replication worker to the static pool for large uploads. func (p *ReplicationPool) AddLargeWorker(input <-chan ReplicationWorkerOperation) { for { select { case <-p.ctx.Done(): return case oi, ok := <-input:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 06:56:12 UTC 2024 - 114.4K bytes - Viewed (0) -
src/net/http/serve_test.go
ctx := r.Context() select { case <-ctx.Done(): t.Error("should not be Done in ServeHTTP") default: } ctxc <- ctx })) res, err := cst.c.Get(cst.ts.URL) if err != nil { t.Fatal(err) } res.Body.Close() ctx := <-ctxc select { case <-ctx.Done(): default: t.Error("context should be done after ServeHTTP completes") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller_test.go
} _, err = client.CoreV1().Nodes().Create(context.Background(), newNode("master-0", nil), metav1.CreateOptions{}) if err != nil { t.Fatal(err) } f.Start(ctx.Done()) for ty, ok := range f.WaitForCacheSync(ctx.Done()) { if !ok { t.Fatalf("caches failed to sync: %v", ty) } } expectStableQueueLength(0) oldDS := newDaemonSet("test")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K bytes - Viewed (0)