Home
last modified time | relevance | path

Searched refs:MathBenchmarking (Results 1 – 10 of 10) sorted by relevance

/external/guava/guava-tests/benchmark/com/google/common/math/
DLongMathBenchmark.java19 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); in setUp()
54 RANDOM_SOURCE.nextInt(MathBenchmarking.biggestBinomials[k] - k) + k; in setUp()
DIntMathBenchmark.java19 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;
DDoubleMathBenchmark.java19 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;
DIntMathRoundingBenchmark.java19 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;
DLongMathRoundingBenchmark.java19 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;
DDoubleMathRoundingBenchmark.java19 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;
DApacheBenchmark.java19 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); in setUp()
162 binomials[i][0] = RANDOM_SOURCE.nextInt(MathBenchmarking.biggestBinomials[k] - k) + k; in setUp()
DBigIntegerMathRoundingBenchmark.java19 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;
DBigIntegerMathBenchmark.java19 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/
DMathBenchmarking.java32 final class MathBenchmarking { class