Home
last modified time | relevance | path

Searched refs:randomNonNegativeBigInteger (Results 1 – 4 of 4) sorted by relevance

/external/guava/guava-tests/test/com/google/common/math/
DMathBenchmarking.java55 result = randomNonNegativeBigInteger(numBits); in randomPositiveBigInteger()
66 static BigInteger randomNonNegativeBigInteger(int numBits) { in randomNonNegativeBigInteger() method in MathBenchmarking
92 return randomNonNegativeBigInteger(numBits); in randomBigInteger()
94 BigInteger neg = randomNonNegativeBigInteger(numBits).negate(); in randomBigInteger()
/external/guava/guava-tests/benchmark/com/google/common/math/
DIntMathBenchmark.java23 import static com.google.common.math.MathBenchmarking.randomNonNegativeBigInteger;
50 nonnegative[i] = randomNonNegativeBigInteger(Integer.SIZE - 1).intValue(); in setUp()
DLongMathBenchmark.java23 import static com.google.common.math.MathBenchmarking.randomNonNegativeBigInteger;
48 nonnegative[i] = randomNonNegativeBigInteger(Long.SIZE - 1).longValue(); in setUp()
DApacheBenchmark.java23 import static com.google.common.math.MathBenchmarking.randomNonNegativeBigInteger;
137 nonnegInt[i][j] = randomNonNegativeBigInteger(Integer.SIZE - 2).intValue(); in setUp()
138 nonnegLong[i][j] = randomNonNegativeBigInteger(Long.SIZE - 2).longValue(); in setUp()