Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 130 for npidle (0.11 sec)

  1. 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)
  2. pkg/controller/history/controller_history.go

    // equality test. The returned slice preserves the order of revisions.
    func FindEqualRevisions(revisions []*apps.ControllerRevision, needle *apps.ControllerRevision) []*apps.ControllerRevision {
    	var eq []*apps.ControllerRevision
    	for i := range revisions {
    		if EqualRevision(revisions[i], needle) {
    			eq = append(eq, revisions[i])
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 13:33:52 UTC 2021
    - 18.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top