Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 115 for npidle (0.34 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top