Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for npidle (0.19 sec)

  1. src/runtime/runtime2.go

    	pollUntil atomic.Int64 // time to which current poll is sleeping
    
    	lock mutex
    
    	// When increasing nmidle, nmidlelocked, nmsys, or nmfreed, be
    	// sure to call checkdead().
    
    	midle        muintptr // idle m's waiting for work
    	nmidle       int32    // number of idle m's waiting for work
    	nmidlelocked int32    // number of locked m's waiting for work
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go

    			if !hasError(errs, needle) {
    				t.Errorf("missing %q in\n%v", needle, errorsAsString(errs))
    			}
    			needle = `status.conditions[0].observedGeneration: Invalid value: -1: must be greater than or equal to zero`
    			if !hasError(errs, needle) {
    				t.Errorf("missing %q in\n%v", needle, errorsAsString(errs))
    			}
    			needle = `status.conditions[0].lastTransitionTime: Required value: must be set`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  3. pilot/pkg/model/config.go

    // matching the needle and it's value, or false if no element in the maps matches the needle.
    func MostSpecificHostMatch[V any](needle host.Name, specific map[host.Name]V, wildcard map[host.Name]V) (host.Name, V, bool) {
    	if needle.IsWildCarded() {
    		// exact match first
    		if v, ok := wildcard[needle]; ok {
    			return needle, v, true
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 08:51:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. pilot/pkg/model/config_test.go

    			} else {
    				specific.Insert(h)
    			}
    		}
    
    		t.Run(fmt.Sprintf("[%d] %s", idx, tt.needle), func(t *testing.T) {
    			actual, value, found := model.MostSpecificHostMatch(tt.needle, specific, wildcard)
    			if tt.want != "" && !found {
    				t.Fatalf("model.MostSpecificHostMatch(%q, %v) = %v, %v, %t; want: %v", tt.needle, tt.in, actual, value, found, tt.want)
    			} else if actual != tt.want {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 20 12:54:10 UTC 2023
    - 19K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top