Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,135 for mode (0.13 sec)

  1. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

        /**
         * Sets the merge mode used to combine repositories declared in the POM with the repositories specified in this
         * request.
         *
         * @param mode The repository merge mode, must not be {@code null}.
         * @return This request for chaining, never {@code null}.
         * @see #setRemoteRepositories(List)
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

        BigInteger x = BigInteger.TEN.pow(100);
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertEquals(100, BigIntegerMath.log10(x, mode));
        }
      }
    
      @GwtIncompatible // TODO
      public void testSqrtZeroAlwaysZero() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertEquals(ZERO, BigIntegerMath.sqrt(ZERO, mode));
        }
      }
    
      @GwtIncompatible // TODO
    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

        BigInteger x = BigInteger.TEN.pow(100);
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertEquals(100, BigIntegerMath.log10(x, mode));
        }
      }
    
      @GwtIncompatible // TODO
      public void testSqrtZeroAlwaysZero() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertEquals(ZERO, BigIntegerMath.sqrt(ZERO, mode));
        }
      }
    
      @GwtIncompatible // TODO
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/BigDecimalMath.java

      /**
       * Returns {@code x}, rounded to a {@code double} with the specified rounding mode. If {@code x}
       * is precisely representable as a {@code double}, its {@code double} value will be returned;
       * otherwise, the rounding will choose between the two nearest representable values with {@code
       * mode}.
       *
       * <p>For the case of {@link RoundingMode#HALF_DOWN}, {@code HALF_UP}, and {@code HALF_EVEN},
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/IntMath.java

      /**
       * Returns the result of dividing {@code p} by {@code q}, rounding using the specified {@code
       * RoundingMode}.
       *
       * @throws ArithmeticException if {@code q == 0}, or if {@code mode == UNNECESSARY} and {@code a}
       *     is not an integer multiple of {@code b}
       */
      @SuppressWarnings("fallthrough")
      public static int divide(int p, int q, RoundingMode mode) {
        checkNotNull(mode);
        if (q == 0) {
    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)
  6. guava-tests/test/com/google/common/math/BigDecimalMathTest.java

        RoundToDoubleTester(BigDecimal input) {
          this.input = input;
        }
    
        RoundToDoubleTester setExpectation(double expectedValue, RoundingMode... modes) {
          for (RoundingMode mode : modes) {
            Double previous = expectedValues.put(mode, expectedValue);
            if (previous != null) {
              throw new AssertionError();
            }
          }
          return this;
        }
    
    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)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/scopes/Maven4ScopeManagerConfiguration.java

                    RS_NONE,
                    InternalScopeManager.Mode.REMOVE,
                    Collections.emptySet(),
                    Collections.emptySet(),
                    allDependencyScopes));
            result.add(internalScopeManager.createResolutionScope(
                    RS_MAIN_COMPILE,
                    InternalScopeManager.Mode.ELIMINATE,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/LongMath.java

      public static int mod(long x, int m) {
        // Cast is safe because the result is guaranteed in the range [0, m)
        return (int) mod(x, (long) m);
      }
    
      /**
       * Returns {@code x mod m}, a non-negative value less than {@code m}. This differs from {@code x %
       * m}, which might be negative.
       *
       * <p>For example:
       *
       * <pre>{@code
       * mod(7, 4) == 3
       * mod(-7, 4) == 1
       * mod(-1, 4) == 3
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

                    Map.of("_default", List.of("QUERY1")), //
                    Set.of("QUERY1"), //
                    buildQuery("QUERY1^10"));
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/DoubleMathTest.java

          for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
            BigDecimal expected = new BigDecimal(d).setScale(0, mode);
            boolean isInBounds =
                expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0
                    & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0;
    
            try {
              assertEquals(
                  "Rounding " + d + " with mode " + mode,
                  expected.intValue(),
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
Back to top