Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for monde (0.02 sec)

  1. guava/src/com/google/common/math/BigIntegerMath.java

       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
       *     is not a power of two
       */
      @SuppressWarnings("fallthrough")
      // TODO(kevinb): remove after this warning is disabled globally
      public static int log2(BigInteger x, RoundingMode mode) {
        checkPositive("x", checkNotNull(x));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/IntMathTest.java

                  new BigDecimal(valueOf(p)).divide(new BigDecimal(valueOf(q)), 0, mode).intValue();
              assertEquals(p + "/" + q, force32(expected), IntMath.divide(p, q, mode));
              // Check the assertions we make in the javadoc.
              if (mode == DOWN) {
                assertEquals(p + "/" + q, p / q, IntMath.divide(p, q, mode));
              } else if (mode == FLOOR) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. android/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(),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertThrows(IllegalArgumentException.class, () -> BigIntegerMath.log2(ZERO, mode));
        }
      }
    
      public void testLog2NegativeAlwaysThrows() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertThrows(
              IllegalArgumentException.class, () -> BigIntegerMath.log2(BigInteger.valueOf(-1), mode));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/LongMathTest.java

        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertThrows(IllegalArgumentException.class, () -> LongMath.log2(0L, mode));
        }
      }
    
      public void testLog2NegativeAlwaysThrows() {
        for (long x : NEGATIVE_LONG_CANDIDATES) {
          for (RoundingMode mode : ALL_ROUNDING_MODES) {
            assertThrows(IllegalArgumentException.class, () -> LongMath.log2(x, mode));
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/LongMath.java

       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
       *     is not a power of two
       */
      @SuppressWarnings("fallthrough")
      // TODO(kevinb): remove after this warning is disabled globally
      public static int log2(long x, RoundingMode mode) {
        checkPositive("x", x);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

        //                                                                        ============
    
        /**
         * Verifies that the current CRUD mode matches the expected mode, throwing a validation error if not.
         *
         * @param crudMode   the actual CRUD mode value
         * @param expectedMode the expected CRUD mode value
         */
        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
            if (crudMode != expectedMode) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

        //                                                                        ============
        /**
         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the actual CRUD mode
         * @param expectedMode the expected CRUD mode
         */
        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
            if (crudMode != expectedMode) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

        /**
         * Verifies that the provided CRUD mode matches the expected mode.
         * Throws a validation error if the modes do not match.
         *
         * @param crudMode the actual CRUD mode
         * @param expectedMode the expected CRUD mode
         */
        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
            if (crudMode != expectedMode) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

        //                                                                        ============
        /**
         * Verify the CRUD mode.
         * @param crudMode The CRUD mode.
         * @param expectedMode The expected mode.
         */
        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
            if (crudMode != expectedMode) {
                throwValidationError(messages -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top