- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 130 for npidle (0.2 sec)
-
src/runtime/runtime-gdb.py
goobjfile.pretty_printers = [] # G state (runtime2.go) def read_runtime_const(varname, default): try: return int(gdb.parse_and_eval(varname)) except Exception: return int(default) G_IDLE = read_runtime_const("'runtime._Gidle'", 0) G_RUNNABLE = read_runtime_const("'runtime._Grunnable'", 1) G_RUNNING = read_runtime_const("'runtime._Grunning'", 2) G_SYSCALL = read_runtime_const("'runtime._Gsyscall'", 3)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 10 12:59:20 UTC 2023 - 15.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller_debug.go
return row(headers...) } func rowForPriorityLevel(plName string, activeQueues int, isIdle, isQuiescing bool, waitingRequests, executingRequests int, dispatchedReqeusts, rejectedRequests, timedoutRequests, cancelledRequests int) string { return row( plName, strconv.Itoa(activeQueues), strconv.FormatBool(isIdle), strconv.FormatBool(isQuiescing), strconv.Itoa(waitingRequests),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 18 17:38:43 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy
0 * _._ } def "idle millis is 0 if daemon is busy"() { given: Runnable command = Mock() when: coordinator.runCommand(command, "some command") then: 1 * command.run() >> { coordinator.getIdleMillis() == 0L } } def "idle millis is > 0 when daemon is idle"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 05 22:24:02 UTC 2024 - 16.3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apihelpers/helpers.go
func CRDHasFinalizer(crd *apiextensionsv1.CustomResourceDefinition, needle string) bool { for _, finalizer := range crd.Finalizers { if finalizer == needle { return true } } return false } // CRDRemoveFinalizer removes the finalizer if present. func CRDRemoveFinalizer(crd *apiextensionsv1.CustomResourceDefinition, needle string) { newFinalizers := []string{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 03 16:49:27 UTC 2019 - 9.5K bytes - Viewed (0) -
ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch
-} -#endif - - -/* Find the first occurrence of NEEDLE in HAYSTACK. Newer gcc versions - do this itself. */ -#if !defined _HAVE_STRING_ARCH_strstr && !__GNUC_PREREQ (2, 97) -# define strstr(haystack, needle) \ - (__extension__ (__builtin_constant_p (needle) && __string2_1bptr_p (needle) \ - ? (((const char *) (needle))[0] == '\0' \ - ? (char *) (size_t) (haystack) \
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 18 14:52:45 UTC 2023 - 42.9K bytes - Viewed (0) -
pkg/controller/clusterroleaggregation/clusterroleaggregation_controller.go
result.NonResourceURLs = rule.NonResourceURLs result.Verbs = rule.Verbs return result } func ruleExists(haystack []rbacv1.PolicyRule, needle rbacv1.PolicyRule) bool { for _, curr := range haystack { if equality.Semantic.DeepEqual(curr, needle) { return true } } return false } // Run starts the controller and blocks until stopCh is closed.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 8K bytes - Viewed (0) -
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) -
src/internal/bytealg/index_arm64.s
MOVD a_len+8(FP), R1 MOVD b_base+16(FP), R2 MOVD b_len+24(FP), R3 MOVD $ret+32(FP), R9 B indexbody<>(SB) // input: // R0: haystack // R1: length of haystack // R2: needle // R3: length of needle (2 <= len <= 32) // R9: address to put result TEXT indexbody<>(SB),NOSPLIT,$0-56 // main idea is to load 'sep' into separate register(s) // to avoid repeatedly re-load it again and again
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 23 15:54:07 UTC 2018 - 3.9K bytes - Viewed (0)