Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for uten (0.12 sec)

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

        for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
          for (RoundingMode mode : asList(FLOOR, DOWN)) {
            int result = BigIntegerMath.log10(x, mode);
            assertTrue(TEN.pow(result).compareTo(x) <= 0);
            assertTrue(TEN.pow(result + 1).compareTo(x) > 0);
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testLog10Ceiling() {
        for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
    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)
  2. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

        for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
          for (RoundingMode mode : asList(FLOOR, DOWN)) {
            int result = BigIntegerMath.log10(x, mode);
            assertTrue(TEN.pow(result).compareTo(x) <= 0);
            assertTrue(TEN.pow(result + 1).compareTo(x) > 0);
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testLog10Ceiling() {
        for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
    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)
  3. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    looked round, eager to see the Queen.
    
      First came ten soldiers carrying clubs; these were all shaped
    like the three gardeners, oblong and flat, with their hands and
    feet at the corners:  next the ten courtiers; these were
    ornamented all over with diamonds, and walked two and two, as the
    soldiers did.  After these came the royal children; there were
    ten of them, and the little dears came jumping merrily along hand
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  5. 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)
  6. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.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: Wed Feb 21 10:16:44 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/LongsTest.java

            .that(Longs.tryParse(BigInteger.valueOf(MAX_VALUE).multiply(BigInteger.TEN).toString()))
            .isNull();
        assertWithMessage("Min long - 1")
            .that(Longs.tryParse(BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString()))
            .isNull();
        assertWithMessage("Min long * 10")
            .that(Longs.tryParse(BigInteger.valueOf(MIN_VALUE).multiply(BigInteger.TEN).toString()))
            .isNull();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/LongsTest.java

            .that(Longs.tryParse(BigInteger.valueOf(MAX_VALUE).multiply(BigInteger.TEN).toString()))
            .isNull();
        assertWithMessage("Min long - 1")
            .that(Longs.tryParse(BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString()))
            .isNull();
        assertWithMessage("Min long * 10")
            .that(Longs.tryParse(BigInteger.valueOf(MIN_VALUE).multiply(BigInteger.TEN).toString()))
            .isNull();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top