Home
last modified time | relevance | path

Searched refs:randomBigInteger (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/benchmark/com/google/common/math/
DApacheBenchmark.java22 import static com.google.common.math.MathBenchmarking.randomBigInteger;
142 intsToAdd[i][j] = randomBigInteger(Integer.SIZE - 2).intValue(); in setUp()
147 longsToAdd[i][j] = randomBigInteger(Long.SIZE - 2).longValue(); in setUp()
152 intsToMul[i][j] = randomBigInteger(Integer.SIZE - 2).intValue(); in setUp()
157 longsToMul[i][j] = randomBigInteger(Long.SIZE - 2).longValue(); in setUp()
/external/guava/guava-tests/test/com/google/common/math/
DMathBenchmarking.java89 static BigInteger randomBigInteger(int numBits) { in randomBigInteger() method in MathBenchmarking