Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 477 for Down (0.23 sec)

  1. guava-tests/test/com/google/common/math/BigDecimalMathTest.java

        double twoToThe53 = Math.pow(2, 53);
        // the representable doubles are 2^53 and 2^53 + 2.
        // 2^53+1 is halfway between, so HALF_UP will go up and HALF_DOWN will go down.
        new RoundToDoubleTester(BigDecimal.valueOf((1L << 53) + 1))
            .setExpectation(twoToThe53, DOWN, FLOOR, HALF_DOWN, HALF_EVEN)
            .setExpectation(Math.nextUp(twoToThe53), CEILING, UP, HALF_UP)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

        double twoToThe53 = Math.pow(2, 53);
        // the representable doubles are 2^53 and 2^53 + 2.
        // 2^53+1 is halfway between, so HALF_UP will go up and HALF_DOWN will go down.
        new RoundToDoubleTester(BigInteger.valueOf((1L << 53) + 1))
            .setExpectation(twoToThe53, DOWN, FLOOR, HALF_DOWN, HALF_EVEN)
            .setExpectation(Math.nextUp(twoToThe53), CEILING, UP, HALF_UP)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

        double twoToThe53 = Math.pow(2, 53);
        // the representable doubles are 2^53 and 2^53 + 2.
        // 2^53+1 is halfway between, so HALF_UP will go up and HALF_DOWN will go down.
        new RoundToDoubleTester(BigInteger.valueOf((1L << 53) + 1))
            .setExpectation(twoToThe53, DOWN, FLOOR, HALF_DOWN, HALF_EVEN)
            .setExpectation(Math.nextUp(twoToThe53), CEILING, UP, HALF_UP)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

        double twoToThe53 = Math.pow(2, 53);
        // the representable doubles are 2^53 and 2^53 + 2.
        // 2^53+1 is halfway between, so HALF_UP will go up and HALF_DOWN will go down.
        new RoundToDoubleTester(BigDecimal.valueOf((1L << 53) + 1))
            .setExpectation(twoToThe53, DOWN, FLOOR, HALF_DOWN, HALF_EVEN)
            .setExpectation(Math.nextUp(twoToThe53), CEILING, UP, HALF_UP)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/ToDoubleRounder.java

        checkNotNull(x, "x");
        checkNotNull(mode, "mode");
        double roundArbitrarily = roundToDoubleArbitrarily(x);
        if (Double.isInfinite(roundArbitrarily)) {
          switch (mode) {
            case DOWN:
            case HALF_EVEN:
            case HALF_DOWN:
            case HALF_UP:
              return Double.MAX_VALUE * sign(x);
            case FLOOR:
              return (roundArbitrarily == Double.POSITIVE_INFINITY)
                  ? Double.MAX_VALUE
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. internal/config/batch/help.go

    			Key:         ReplicationWorkersWait,
    			Description: `maximum sleep duration between objects to slow down batch replication operation` + defaultHelpPostfix(ReplicationWorkersWait),
    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         KeyRotationWorkersWait,
    			Description: `maximum sleep duration between objects to slow down batch keyrotation operation` + defaultHelpPostfix(KeyRotationWorkersWait),
    			Optional:    true,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

      // considered while scaling up or scaling down.
      // StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour).
      // If not set, use the default values:
      // - For scale up: 0 (i.e. no stabilization is done).
      // - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
      // +optional
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       *   Thread.currentThread().setUncaughtExceptionHandler(UncaughtExceptionHandlers.systemExit());
       *   ...
       * </pre>
       *
       * <p>The returned handler logs any exception at severity {@code SEVERE} and then shuts down the
       * process with an exit status of 1, indicating abnormal termination.
       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime());
      }
    
      @VisibleForTesting
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/IntMath.java

            checkRoundingUnnecessary(isPowerOfTwo(x));
            // fall through
          case DOWN:
          case FLOOR:
            return (Integer.SIZE - 1) - Integer.numberOfLeadingZeros(x);
    
          case UP:
          case CEILING:
            return Integer.SIZE - Integer.numberOfLeadingZeros(x - 1);
    
          case HALF_DOWN:
          case HALF_UP:
          case HALF_EVEN:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  10. cmd/healthcheck-handler.go

    		w.Header().Set(xhttp.MinIOHealingDrives, strconv.Itoa(result.HealingDrives))
    	}
    	if !result.Healthy {
    		// As a maintenance call we are purposefully asked to be taken
    		// down, this is for orchestrators to know if we can safely
    		// take this server down, return appropriate error.
    		if opts.Maintenance {
    			writeResponse(w, http.StatusPreconditionFailed, nil, mimeNone)
    		} else {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 03 21:13:20 GMT 2024
    - 6.5K bytes
    - Viewed (0)
Back to top