Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for ten (0.27 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

                "seven", 7,
                "eight", 8,
                "nine", 9,
                "ten", 10),
            "eight",
            8,
            "five",
            5,
            "four",
            4,
            "nine",
            9,
            "one",
            1,
            "seven",
            7,
            "six",
            6,
            "ten",
            10,
            "three",
            3,
            "two",
            2);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 27K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/IntMath.java

       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
       *     is not a power of ten
       */
      @GwtIncompatible // need BigIntegerMath to adequately test
      @SuppressWarnings("fallthrough")
      public static int log10(int x, RoundingMode mode) {
        checkPositive("x", x);
        int logFloor = log10Floor(x);
    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)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                "nine", 9,
                "ten", 10),
            "one",
            1,
            "two",
            2,
            "three",
            3,
            "four",
            4,
            "five",
            5,
            "six",
            6,
            "seven",
            7,
            "eight",
            8,
            "nine",
            9,
            "ten",
            10);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/LongMathTest.java

        for (int i = 0; i < LongMath.halfPowersOf10.length; i++) {
          assertEquals(
              BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * i + 1), FLOOR),
              BigInteger.valueOf(LongMath.halfPowersOf10[i]));
        }
        BigInteger nextBigger =
            BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * LongMath.halfPowersOf10.length + 1), FLOOR);
        assertTrue(nextBigger.compareTo(BigInteger.valueOf(Long.MAX_VALUE)) > 0);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                "nine", 9,
                "ten", 10),
            "one",
            1,
            "two",
            2,
            "three",
            3,
            "four",
            4,
            "five",
            5,
            "six",
            6,
            "seven",
            7,
            "eight",
            8,
            "nine",
            9,
            "ten",
            10);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/LongMathTest.java

        for (int i = 0; i < LongMath.halfPowersOf10.length; i++) {
          assertEquals(
              BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * i + 1), FLOOR),
              BigInteger.valueOf(LongMath.halfPowersOf10[i]));
        }
        BigInteger nextBigger =
            BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * LongMath.halfPowersOf10.length + 1), FLOOR);
        assertTrue(nextBigger.compareTo(BigInteger.valueOf(Long.MAX_VALUE)) > 0);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/IntMathTest.java

        for (int i = 0; i < IntMath.halfPowersOf10.length; i++) {
          assertEquals(
              IntMath.halfPowersOf10[i],
              Math.min(
                  Integer.MAX_VALUE,
                  BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * i + 1), FLOOR).longValue()));
        }
      }
    
      public void testConstantsBiggestBinomials() {
        for (int k = 0; k < IntMath.biggestBinomials.length; k++) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/IntMathTest.java

        for (int i = 0; i < IntMath.halfPowersOf10.length; i++) {
          assertEquals(
              IntMath.halfPowersOf10[i],
              Math.min(
                  Integer.MAX_VALUE,
                  BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * i + 1), FLOOR).longValue()));
        }
      }
    
      public void testConstantsBiggestBinomials() {
        for (int k = 0; k < IntMath.biggestBinomials.length; k++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  9. android/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 ten
       */
      @GwtIncompatible // TODO
      @SuppressWarnings("fallthrough")
      // TODO(kevinb): remove after this warning is disabled globally
      public static int log10(long x, RoundingMode mode) {
        checkPositive("x", x);
    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)
Back to top