HomeSort by relevance Sort by last modified time
    Searched refs:MathBenchmarking (Results 1 - 10 of 10) sorted by null

  /external/guava/guava-tests/benchmark/com/google/common/math/
LongMathBenchmark.java 19 import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
20 import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
21 import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
22 import static com.google.common.math.MathBenchmarking.randomExponent;
23 import static com.google.common.math.MathBenchmarking.randomNonNegativeBigInteger;
24 import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
51 binomialArguments[i][1] = RANDOM_SOURCE.nextInt(MathBenchmarking.biggestBinomials.length);
54 RANDOM_SOURCE.nextInt(MathBenchmarking.biggestBinomials[k] - k) + k;
DoubleMathBenchmark.java 19 import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
20 import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
21 import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
22 import static com.google.common.math.MathBenchmarking.randomDouble;
23 import static com.google.common.math.MathBenchmarking.randomPositiveDouble;
IntMathRoundingBenchmark.java 19 import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
20 import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
21 import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
22 import static com.google.common.math.MathBenchmarking.randomNonZeroBigInteger;
23 import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
LongMathRoundingBenchmark.java 19 import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
20 import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
21 import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
22 import static com.google.common.math.MathBenchmarking.randomNonZeroBigInteger;
23 import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
IntMathBenchmark.java 19 import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
20 import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
21 import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
22 import static com.google.common.math.MathBenchmarking.randomExponent;
23 import static com.google.common.math.MathBenchmarking.randomNonNegativeBigInteger;
24 import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
BigIntegerMathRoundingBenchmark.java 19 import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
20 import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
21 import static com.google.common.math.MathBenchmarking.randomNonZeroBigInteger;
22 import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
DoubleMathRoundingBenchmark.java 19 import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
20 import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
21 import static com.google.common.math.MathBenchmarking.randomDouble;
22 import static com.google.common.math.MathBenchmarking.randomPositiveDouble;
ApacheBenchmark.java 19 import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
20 import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
21 import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
22 import static com.google.common.math.MathBenchmarking.randomBigInteger;
23 import static com.google.common.math.MathBenchmarking.randomNonNegativeBigInteger;
161 int k = binomials[i][1] = RANDOM_SOURCE.nextInt(MathBenchmarking.biggestBinomials.length);
162 binomials[i][0] = RANDOM_SOURCE.nextInt(MathBenchmarking.biggestBinomials[k] - k) + k;
BigIntegerMathBenchmark.java 19 import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
20 import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
21 import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
  /external/guava/guava-tests/test/com/google/common/math/
MathBenchmarking.java 32 final class MathBenchmarking {

Completed in 529 milliseconds