- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 129 for coroutines (0.12 sec)
-
internal/lsync/lrwmutex_test.go
} // Wait for all parallel RLock()s to succeed. for i := 0; i < numReaders; i++ { <-clocked } for i := 0; i < numReaders; i++ { cunlock <- true } // Wait for the goroutines to finish. for i := 0; i < numReaders; i++ { <-cdone } } // Borrowed from rwmutex_test.go func TestParallelReaders(t *testing.T) { defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(-1))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 05 04:57:35 UTC 2023 - 7.9K bytes - Viewed (0) -
manifests/addons/dashboards/istio-performance-dashboard.json
"expr": "go_goroutines{app=\"istiod\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "Number of Goroutines", "refId": "A", "step": 2 } ], "title": "Goroutines", "type": "timeseries" } ], "refresh": "", "schemaVersion": 38, "style": "dark", "tags": [], "templating": {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Mar 27 03:47:04 UTC 2024 - 39.6K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer.go
) // RingBuffer is a circular buffer that implement io.ReaderWriter interface. // It operates like a buffered pipe, where data written to a RingBuffer // and can be read back from another goroutine. // It is safe to concurrently read and write RingBuffer. type RingBuffer struct { buf []byte size int r int // next position to read w int // next position to write isFull bool
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 13.3K bytes - Viewed (0) -
cmd/metrics-v3-system-process.go
processCPUTotalSecondsMD = NewCounterMD(processCPUTotalSeconds, "Total user and system CPU time spent in seconds") processGoRoutineTotalMD = NewGaugeMD(processGoRoutineTotal, "Total number of go routines running") processIORCharBytesMD = NewCounterMD(processIORCharBytes, "Total bytes read by the process from the underlying storage system including cache, /proc/[pid]/io rchar")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 20 17:55:03 UTC 2024 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Name.java
System.getProperty( "file.encoding" )); public String name, scope; public int hexCode; int srcHashCode; /* srcHashCode must be set by name resolution * routines before entry into addressCache */ Name() { } public Name( String name, int hexCode, String scope ) { if( name.length() > 15 ) { name = name.substring( 0, 15 );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 6.6K bytes - Viewed (0) -
internal/rest/client.go
if sleep > cap { sleep = cap } sleep -= time.Duration(r.Float64() * float64(sleep-unit)) return sleep } } func (c *Client) runHealthCheck() bool { // Start goroutine that will attempt to reconnect. // If server is already trying to reconnect this will have no effect. if c.HealthCheckFn != nil && atomic.CompareAndSwapInt32(&c.connected, online, offline) { go func() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 26 12:55:01 UTC 2024 - 14.7K bytes - Viewed (0) -
src/bytes/reader_test.go
}(i) } wg.Wait() } func TestEmptyReaderConcurrent(t *testing.T) { // Test for the race detector, to verify a Read that doesn't yield any bytes // is okay to use from multiple goroutines. This was our historic behavior. // See golang.org/issue/7856 r := NewReader([]byte{}) var wg sync.WaitGroup for i := 0; i < 5; i++ { wg.Add(2) go func() { defer wg.Done() var buf [1]byte
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0) -
cni/pkg/cmd/root.go
installDaemonReady, watchServerReady := nodeagent.StartHealthServer() if cfg.InstallConfig.AmbientEnabled { // Start ambient controller // node agent will spawn a goroutine and watch the K8S API for events, // as well as listen for messages from the CNI binary. cniEventAddr := filepath.Join(cfg.InstallConfig.CNIAgentRunDir, constants.CNIEventSocketName)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 16 15:33:47 UTC 2024 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
*/ public String scope; /** * Type */ public int hexCode; int srcHashCode; /* * srcHashCode must be set by name resolution * routines before entry into addressCache */ private Configuration config; Name ( Configuration cfg ) { this.config = cfg; } /** * @return the name
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7.7K bytes - Viewed (0) -
internal/s3select/csv/reader.go
const csvSplitSize = 128 << 10 // startReaders will read the header if needed and spin up a parser // and a number of workers based on GOMAXPROCS. // If an error is returned no goroutines have been started and r.err will have been set. func (r *Reader) startReaders(newReader func(io.Reader) *csv.Reader) error { if r.args.FileHeaderInfo != none { // Read column names // Get one line.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 8.9K bytes - Viewed (0)