Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 558 for Positive (0.23 sec)

  1. android/guava/src/com/google/common/collect/DiscreteDomain.java

       *     minValue()}
       */
      @CheckForNull
      public abstract C previous(C value);
    
      /**
       * Returns a signed value indicating how many nested invocations of {@link #next} (if positive) or
       * {@link #previous} (if negative) are needed to reach {@code end} starting from {@code start}.
       * For example, if {@code end = next(next(next(start)))}, then {@code distance(start, end) == 3}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/UnsignedBytes.java

       * because it is seen as having the value of positive {@code 129}.
       *
       * @param a the first {@code byte} to compare
       * @param b the second {@code byte} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. src/fmt/format.go

    	if f.widPresent || f.precPresent {
    		// Account 3 extra bytes for possible addition of a sign and "0x".
    		width := 3 + f.wid + f.prec // wid and prec are always positive.
    		if width > len(buf) {
    			// We're going to need a bigger boat.
    			buf = make([]byte, width)
    		}
    	}
    
    	// Two ways to ask for extra leading zero digits: %.3d or %03d.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/LongMath.java

       */
      public static long gcd(long a, long b) {
        /*
         * The reason we require both arguments to be >= 0 is because otherwise, what do you return on
         * gcd(0, Long.MIN_VALUE)? BigInteger.gcd would return positive 2^63, but positive 2^63 isn't an
         * int.
         */
        checkNonNegative("a", a);
        checkNonNegative("b", b);
        if (a == 0) {
          // 0 % b == 0, so b divides a, but the converse doesn't hold.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  5. pkg/kube/inject/validate.go

    	if _, e := parsePort(port); e != nil {
    		return fmt.Errorf("excludeInboundPorts invalid: %v", e)
    	}
    	return nil
    }
    
    // validateUInt32 validates that the given annotation value is a positive integer.
    func validateUInt32(value string) error {
    	_, err := strconv.ParseUint(value, 10, 32)
    	return err
    }
    
    // validateBool validates that the given annotation value is a boolean.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption.go

    	mandatoryFieldErrFmt           = "%s is a mandatory field for a %s"
    	base64EncodingErr              = "secrets must be base64 encoded"
    	zeroOrNegativeErrFmt           = "%s should be a positive value"
    	nonZeroErrFmt                  = "%s should be a positive value, or negative to disable"
    	encryptionConfigNilErr         = "EncryptionConfiguration can't be nil"
    	invalidKMSConfigNameErrFmt     = "invalid KMS provider name %s, must not contain ':'"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  7. src/strconv/ftoaryu.go

    	//     2^(e2+24) >= 10^(-q+prec-1)
    	// or q = -mulByLog2Log10(e2+24) + prec - 1
    	q := -mulByLog2Log10(e2+24) + prec - 1
    
    	// Now compute mant*(2^e2)*(10^q).
    	// Is it an exact computation?
    	// Only small positive powers of 10 are exact (5^28 has 66 bits).
    	exact := q <= 27 && q >= 0
    
    	di, dexp2, d0 := mult64bitPow10(mant, e2, q)
    	if dexp2 >= 0 {
    		panic("not enough significant bits after mult64bitPow10")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
  8. pkg/apis/autoscaling/validation/validation.go

    	if mt.Value != nil && mt.Value.Sign() != 1 {
    		allErrs = append(allErrs, field.Invalid(fldPath.Child("value"), mt.Value, "must be positive"))
    	}
    
    	if mt.AverageValue != nil && mt.AverageValue.Sign() != 1 {
    		allErrs = append(allErrs, field.Invalid(fldPath.Child("averageValue"), mt.AverageValue, "must be positive"))
    	}
    
    	if mt.AverageUtilization != nil && *mt.AverageUtilization < 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 25 00:58:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/DoubleUtils.java

      }
    
      static boolean isNormal(double d) {
        return getExponent(d) >= MIN_EXPONENT;
      }
    
      /*
       * Returns x scaled by a power of 2 such that it is in the range [1, 2). Assumes x is positive,
       * normal, and finite.
       */
      static double scaleNormalize(double x) {
        long significand = doubleToRawLongBits(x) & SIGNIFICAND_MASK;
        return longBitsToDouble(significand | ONE_BITS);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 28 15:37:52 UTC 2021
    - 5.1K bytes
    - Viewed (0)
  10. pkg/apis/flowcontrol/v1beta3/defaults_test.go

    						LimitResponse: flowcontrolv1beta3.LimitResponse{
    							Type: flowcontrolv1beta3.LimitResponseTypeReject,
    						},
    					},
    				},
    			},
    		},
    		{
    			name: "NominalConcurrencyShares is positive, roundtrip annotation is set, annotation should be ignored",
    			original: &flowcontrolv1beta3.PriorityLevelConfiguration{
    				ObjectMeta: metav1.ObjectMeta{
    					Annotations: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top