Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 60 for rousing (0.21 sec)

  1. android/guava/src/com/google/common/math/BigDecimalMath.java

    public class BigDecimalMath {
      private BigDecimalMath() {}
    
      /**
       * 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}.
       *
    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)
  2. android/guava/src/com/google/common/math/IntMath.java

        // http://java.sun.com/docs/books/jls/third_edition/html/conversions.html#5.1.2
        return (int) Math.sqrt(x);
      }
    
      /**
       * 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}
       */
    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. guava-tests/benchmark/com/google/common/math/IntMathRoundingBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.math.RoundingMode;
    
    /**
     * Benchmarks for the rounding methods of {@code IntMath}.
     *
     * @author Louis Wasserman
     */
    public class IntMathRoundingBenchmark {
      private static final int[] positive = new int[ARRAY_SIZE];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.6K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.math.RoundingMode;
    
    /**
     * Benchmarks for the rounding methods of {@code LongMath}.
     *
     * @author Louis Wasserman
     */
    public class LongMathRoundingBenchmark {
      @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"})
      RoundingMode mode;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.6K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.math.BigInteger;
    
    /**
     * Benchmarks for the non-rounding methods of {@code BigIntegerMath}.
     *
     * @author Louis Wasserman
     */
    public class BigIntegerMathBenchmark {
      private static final int[] factorials = new int[ARRAY_SIZE];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/math/IntMathBenchmark.java

    import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    
    /**
     * Benchmarks for the non-rounding methods of {@code IntMath}.
     *
     * @author Louis Wasserman
     */
    public class IntMathBenchmark {
      private static int[] exponent = new int[ARRAY_SIZE];
      private static int[] factorial = new int[ARRAY_SIZE];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/MathTesting.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    public class MathTesting {
      static final ImmutableSet<RoundingMode> ALL_ROUNDING_MODES =
          ImmutableSet.copyOf(RoundingMode.values());
    
      static final ImmutableList<RoundingMode> ALL_SAFE_ROUNDING_MODES =
          ImmutableList.of(DOWN, UP, FLOOR, CEILING, HALF_EVEN, HALF_UP, HALF_DOWN);
    
      // Exponents to test for the pow() function.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/PairedStats.java

       * other using {@code second = new PairedStatsAccumulator().addAll(first).snapshot()}, if both
       * were obtained by calling {@code snapshot()} on the same {@link PairedStatsAccumulator} without
       * adding any values in between the two calls, or if one is obtained from the other after
       * round-tripping through java serialization. However, floating point rounding errors mean that it
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertThrows(IllegalArgumentException.class, () -> RateLimiter.create(1.0, -1, NANOSECONDS));
      }
    
      @AndroidIncompatible // difference in String.format rounding?
      public void testWarmUp() {
        RateLimiter limiter = RateLimiter.create(2.0, 4000, MILLISECONDS, 3.0, stopwatch);
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #1
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheLoader.java

        // This will be caught by getAll(), causing it to fall back to multiple calls to
        // LoadingCache.get
        throw new UnsupportedLoadingOperationException();
      }
    
      /**
       * Returns a cache loader that uses {@code function} to load keys, without supporting either
       * reloading or bulk loading. This allows creating a cache loader using a lambda expression.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.5K bytes
    - Viewed (0)
Back to top