- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 106 for npidle (0.19 sec)
-
src/net/http/httptest/server_test.go
cnew := dial() defer cnew.Close() // Keep one connection in StateIdle (idle after a request) cidle := dial() defer cidle.Close() cidle.Write([]byte("HEAD / HTTP/1.1\r\nHost: foo\r\n\r\n")) _, err := http.ReadResponse(bufio.NewReader(cidle), nil) if err != nil { t.Fatal(err) } ts.Close() // test we don't hang here forever. } // Issue 14290
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 16:57:12 UTC 2024 - 7.4K bytes - Viewed (0) -
src/slices/slices.go
} // startIdx returns the index in haystack where the needle starts. // prerequisite: the needle must be aliased entirely inside the haystack. func startIdx[E any](haystack, needle []E) int { p := &needle[0] for i := range haystack { if p == &haystack[i] { return i } } // TODO: what if the overlap is by a non-integral number of Es? panic("needle not found") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 29 14:01:59 UTC 2024 - 13.6K bytes - Viewed (0) -
cmd/metrics-v3-system-cpu.go
// stores them in resourceMetricsMap. We can use it to get the Avg values of CPU idle and IOWait. cpuResourceMetrics, found := resourceMetricsMap[cpuSubsystem] if found { if cpuIdleMetric, ok := cpuResourceMetrics[getResourceKey(cpuIdle, nil)]; ok { avgVal := math.Round(cpuIdleMetric.Avg*100) / 100 m.Set(sysCPUAvgIdle, avgVal) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Apr 23 23:56:12 UTC 2024 - 3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/interface.go
// IsIdle returns a bool indicating whether the QueueSet was idle // at the moment of the return. Idle means the QueueSet has zero // requests queued and zero executing. This bit can change only // (1) during a call to StartRequest and (2) during a call to // Request::Finish. In the latter case idleness can only change // from false to true. IsIdle() bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 26 12:55:23 UTC 2023 - 6.4K bytes - Viewed (0) -
pilot/pkg/networking/grpcgen/grpcecho_test.go
cw := tt.dialEcho("xds:///echo-app.default.svc.cluster.local:7070") distribution := map[string]int{} for i := 0; i < 100; i++ { res, err := cw.Echo(context.Background(), &proto.EchoRequest{Message: "needle"}) if err != nil { return err } distribution[res.Version]++ } if err := expectAlmost(distribution["v1"], 20); err != nil { return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 12 18:20:36 UTC 2024 - 8.3K bytes - Viewed (0) -
src/runtime/tracestatus.go
func (w traceWriter) writeProcStatusForP(pp *p, inSTW bool) traceWriter { if !pp.trace.acquireStatus(w.gen) { return w } var status traceProcStatus switch pp.status { case _Pidle, _Pgcstop: status = traceProcIdle if pp.status == _Pgcstop && inSTW { // N.B. a P that is running and currently has the world stopped will be // in _Pgcstop, but we model it as running in the tracer.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 7.2K bytes - Viewed (0) -
pkg/kube/inject/template.go
_, ok := m[key] return ok } func directory(filepath string) string { dir, _ := path.Split(filepath) return dir } func flippedContains(needle, haystack string) bool { return strings.Contains(haystack, needle) } func excludeInboundPort(port any, excludedInboundPorts string) string { portStr := strings.TrimSpace(fmt.Sprint(port)) if len(portStr) == 0 || portStr == "0" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 16 02:12:03 UTC 2023 - 9.9K bytes - Viewed (0) -
cmd/metrics-resource.go
interfaceTxErrors MetricName = "tx_errors" // cpu stats cpuUser MetricName = "user" cpuSystem MetricName = "system" cpuIOWait MetricName = "iowait" cpuIdle MetricName = "idle" cpuNice MetricName = "nice" cpuSteal MetricName = "steal" cpuLoad1 MetricName = "load1" cpuLoad5 MetricName = "load5" cpuLoad15 MetricName = "load15"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 17 15:15:13 UTC 2024 - 17.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/testing/DaemonsEventSequence.groovy
} } processChanges() } private checkForDaemonsStateChange() { def busy = registry.notIdle.size() def idle = registry.idle.size() def currentState = new DaemonsState(busy, idle) if (!lastDaemonsState.matches(currentState)) { putOnChangeQueue(currentState) lastDaemonsState = currentState
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 5.5K bytes - Viewed (0) -
src/net/tcpconn_keepalive_conf_solaris_test.go
Enable: true, Idle: 20 * time.Second, Interval: -1, Count: 10, }, { Enable: true, Idle: 20 * time.Second, Interval: 10 * time.Second, Count: -1, }, { Enable: true, Idle: -1, Interval: -1, Count: 10, }, { Enable: true, Idle: -1, Interval: 10 * time.Second, Count: -1, }, { Enable: true, Idle: 20 * time.Second,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 1.8K bytes - Viewed (0)