Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for Positive (0.14 sec)

  1. pkg/controller/statefulset/stateful_set_utils_test.go

    	set2.Name = "foo2"
    	pod := newStatefulSetPod(set, 1)
    	if !isMemberOf(set, pod) {
    		t.Error("isMemberOf returned false negative")
    	}
    	if isMemberOf(set2, pod) {
    		t.Error("isMemberOf returned false positive")
    	}
    }
    
    func TestIdentityMatches(t *testing.T) {
    	set := newStatefulSet(3)
    	pod := newStatefulSetPod(set, 1)
    	if !identityMatches(set, pod) {
    		t.Error("Newly created Pod has a bad identity")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  2. maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

         *
         * @param first the first version.
         * @param second the second version.
         * @return negative if the first version is newer than the second version, zero if they are the same or positive if
         * the second version is the newer.
         */
        private static int compareModelVersions(String first, String second) {
            // we use a dedicated comparator because we control our model version scheme.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat May 18 14:09:22 UTC 2024
    - 76K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    		// Here be dragons:
    		// Since the etcd feature checker needs to check all members
    		// to determine whether a given feature is supported,
    		// we may receive a positive response even if the feature is not supported.
    		//
    		// In this very rare scenario, the worst case will be that this
    		// request will wait for 3 seconds before it fails.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  4. src/time/format.go

    	for ; i < len(s); i++ {
    		c := s[i]
    		if c < '0' || c > '9' {
    			break
    		}
    		if overflow {
    			continue
    		}
    		if x > (1<<63-1)/10 {
    			// It's possible for overflow to give a positive number, so take care.
    			overflow = true
    			continue
    		}
    		y := x*10 + uint64(c) - '0'
    		if y > 1<<63 {
    			overflow = true
    			continue
    		}
    		x = y
    		scale *= 10
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  5. src/runtime/mprof.go

    // skip is the number of frames to omit from the traceback associated with the event.
    // The traceback will be recorded from the stack of the goroutine associated with the current m.
    // skip should be positive if this event is recorded from the current stack
    // (e.g. when this is not called from a system stack)
    func saveblockevent(cycles, rate int64, skip int, which bucketType) {
    	if debug.profstackdepth == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. tests/integration/ambient/baseline_test.go

    				expectSuccess := c.ExpectSuccess(src, opt)
    				expectMTLS := c.ExpectMTLS(src, opt)
    
    				var tpe string
    				if expectSuccess {
    					tpe = "positive"
    					opt.Check = check.And(
    						check.OK(),
    						check.ReachedTargetClusters(t))
    					if expectMTLS {
    						opt.Check = check.And(opt.Check, check.MTLSForHTTP())
    					}
    				} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    func eventually(t test.Failer, cond func() bool) {
    	t.Helper()
    	retry.UntilSuccessOrFail(t, func() error {
    		if !cond() {
    			return fmt.Errorf("failed to get positive condition")
    		}
    		return nil
    	}, retry.Timeout(time.Second), retry.Delay(time.Millisecond*10))
    }
    
    func TestServices(t *testing.T) {
    	networksWatcher := mesh.NewFixedNetworksWatcher(&meshconfig.MeshNetworks{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         *
         * @param otherProject The project to compare the nesting level with.
         * @return a negative integer, zero, or a positive integer as this project has a nesting level less than, equal to,
         *         or greater than the specified object.
         * @see #getDepth()
         */
        int depthCompare(Project otherProject);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  9. src/runtime/pprof/pprof_test.go

    	maxDiff := 0.10
    	if testing.Short() {
    		maxDiff = 0.40
    	}
    
    	compare := func(a, b time.Duration, maxDiff float64) error {
    		if a <= 0 || b <= 0 {
    			return fmt.Errorf("Expected both time reports to be positive")
    		}
    
    		if a < b {
    			a, b = b, a
    		}
    
    		diff := float64(a-b) / float64(a)
    		if diff > maxDiff {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  10. src/testing/testing.go

    		//
    		// See go.dev/issue/33419.
    		realStderr = os.Stderr
    		os.Stderr = os.Stdout
    	}
    
    	if *parallel < 1 {
    		fmt.Fprintln(os.Stderr, "testing: -parallel can only be given a positive integer")
    		flag.Usage()
    		m.exitCode = 2
    		return
    	}
    	if *matchFuzz != "" && *fuzzCacheDir == "" {
    		fmt.Fprintln(os.Stderr, "testing: -test.fuzzcachedir must be set if -test.fuzz is set")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top