Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 120 for npidle (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/runtime/string_test.go

    	// See issue 25864.
    	haystack := []byte("hello")
    	needle := "ll"
    	n := testing.AllocsPerRun(1000, func() {
    		if strings.Index(string(haystack), needle) != 2 {
    			t.Fatalf("needle not found")
    		}
    	})
    	if n != 0 {
    		t.Fatalf("want 0 allocs, got %v", n)
    	}
    }
    
    func TestStringIndexNeedle(t *testing.T) {
    	// See issue 25864.
    	haystack := "hello"
    	needle := []byte("ll")
    	n := testing.AllocsPerRun(1000, func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 13 14:05:23 UTC 2022
    - 13.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/testing/DaemonsState.groovy

     */
    package org.gradle.launcher.daemon.testing
    
    /**
     * Represents the number of given busy and idle daemons in a registry at a particular time.
     */
    class DaemonsState {
        final int busy
        final int idle
    
        DaemonsState(int busy, int idle) {
            this.busy = Math.max(busy, 0)
            this.idle = Math.max(idle, 0)
        }
    
        static getWildcardState() {
            new DaemonsState()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/cases/context.go

    	offset := 2 + e[0]&lengthMask // size of header + fold string
    
    	nFirst := (e[1] >> lengthBits) & lengthMask
    	if nTitle := e[1] & lengthMask; nTitle != noChange {
    		if nFirst != noChange {
    			e = e[nFirst:]
    		}
    		return c.writeString(e[offset : offset+nTitle])
    	}
    	if ct == cLower && nFirst != noChange {
    		// Use the uppercase version instead.
    		return c.writeString(e[offset : offset+nFirst])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. src/strings/strings_test.go

    	{"", "a", false},
    
    	// cases to cover code in runtime/asm_amd64.s:indexShortStr
    	// 2-byte needle
    	{"xxxxxx", "01", false},
    	{"01xxxx", "01", true},
    	{"xx01xx", "01", true},
    	{"xxxx01", "01", true},
    	{"01xxxxx"[1:], "01", false},
    	{"xxxxx01"[:6], "01", false},
    	// 3-byte needle
    	{"xxxxxxx", "012", false},
    	{"012xxxx", "012", true},
    	{"xx012xx", "012", true},
    	{"xxxx012", "012", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

        const char* needle_expr, const char* haystack_expr,
        const char* needle, const char* haystack);
    GTEST_API_ AssertionResult IsSubstring(
        const char* needle_expr, const char* haystack_expr,
        const wchar_t* needle, const wchar_t* haystack);
    GTEST_API_ AssertionResult IsNotSubstring(
        const char* needle_expr, const char* haystack_expr,
        const char* needle, const char* haystack);
    GTEST_API_ AssertionResult IsNotSubstring(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
Back to top