- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 342 for stopCh (0.19 sec)
-
pkg/xds/server.go
func (conn *Connection) InitializedCh() chan struct{} { return conn.initialized } func (conn *Connection) PushCh() chan any { return conn.pushChannel } func (conn *Connection) StopCh() chan struct{} { return conn.stop } func (conn *Connection) ErrorCh() chan error { return conn.errorChan } func (conn *Connection) StreamDone() <-chan struct{} { return conn.stream.Context().Done() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 20:55:20 UTC 2024 - 16.3K bytes - Viewed (0) -
src/net/http/httputil/reverseproxy_test.go
func TestReverseProxyFlushIntervalHeaders(t *testing.T) { const expected = "hi" stopCh := make(chan struct{}) backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { w.Header().Add("MyHeader", expected) w.WriteHeader(200) w.(http.Flusher).Flush() <-stopCh })) defer backend.Close() defer close(stopCh) backendURL, err := url.Parse(backend.URL) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 54.6K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller.go
// topologyCache tracks the distribution of Nodes and endpoints across zones // to enable TopologyAwareHints. topologyCache *topologycache.TopologyCache } // Run will not return until stopCh is closed. func (c *Controller) Run(ctx context.Context, workers int) { defer utilruntime.HandleCrash() // Start events processing pipeline. c.eventBroadcaster.StartLogging(klog.Infof)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 23.6K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework.go
o.logger = &logger } } // defaultFrameworkOptions are applied when no option corresponding to those fields exist. func defaultFrameworkOptions(stopCh <-chan struct{}) frameworkOptions { return frameworkOptions{ metricsRecorder: metrics.NewMetricsAsyncRecorder(1000, time.Second, stopCh), parallelizer: parallelize.NewParallelizer(parallelize.DefaultParallelism), } } var _ framework.Framework = &frameworkImpl{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 60.9K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
// then we close the channel and abort the loop. if kl.fastNodeStatusUpdate(ctx, kl.clock.Since(start) >= nodeReadyGracePeriod) { close(stopCh) } }, 100*time.Millisecond, stopCh) } // CheckpointContainer tries to checkpoint a container. The parameters are used to // look up the specified container. If the container specified by the given parameters
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/stress-start-stop.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.7K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance.go
ignore = true stopFn(0, nil) break } if err != nil { failure = true rebalanceLogIf(ctx, err) stopFn(0, err) continue } if err = z.rebalanceObject(ctx, bucket, gr); err != nil { failure = true rebalanceLogIf(ctx, err) stopFn(version.Size, err) continue }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 03 15:45:54 UTC 2024 - 27.3K bytes - Viewed (0) -
cmd/sftp-server-driver.go
ContentType: mimedb.TypeByExtension(path.Ext(object)), DisableContentSha256: true, }) stopFn(oi.Size, err) pr.CloseWithError(err) wa.wg.Done() }() return wa, nil } func (f *sftpDriver) Filecmd(r *sftp.Request) (err error) { stopFn := globalSftpMetrics.log(r, f.AccessKey()) defer stopFn(0, err) clnt, err := f.getMinIOClient() if err != nil { return err }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jun 05 07:51:13 UTC 2024 - 11.1K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/many-start-stop.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 786 bytes - Viewed (0) -
cmd/utils.go
return p.records } // Stop the currently running benchmark. func (p profilerWrapper) Stop() ([]byte, error) { return p.stopFn() } // Extension returns the extension without dot prefix. func (p profilerWrapper) Extension() string { return p.ext } // Returns current profile data, returns error if there is no active // profiling in progress. Stops an active profile.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jun 05 22:00:34 UTC 2024 - 31.9K bytes - Viewed (0)