Home
last modified time | relevance | path

Searched defs:rnd (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadLocalRandomTest.java88 ThreadLocalRandom rnd = ThreadLocalRandom.current(); in testNext() local
DArrayBlockingQueueTest.java106 ThreadLocalRandom rnd = ThreadLocalRandom.current(); in populatedQueue() local
708 final ThreadLocalRandom rnd = ThreadLocalRandom.current(); in testToArray() local
DArrayDequeTest.java75 ThreadLocalRandom rnd = ThreadLocalRandom.current(); in populatedDeque() local
DRecursiveActionTest.java1252 ThreadLocalRandom rnd = ThreadLocalRandom.current(); in testSortTaskDemo() local
DTreeSetTest.java689 Random rnd = new Random(666); field in TreeSetTest
DConcurrentSkipListSetTest.java693 Random rnd = new Random(666); field in ConcurrentSkipListSetTest
/libcore/ojluni/src/main/java/java/util/prefs/
DBase64.java242 java.util.Random rnd = new java.util.Random(); in main() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerConstructorsTest.java743 Random rnd = new Random(); in testConstructorRandom() local
750 Random rnd = new Random(); in testConstructorPrime() local
/libcore/ojluni/src/main/java/java/math/
DBigInteger.java626 public BigInteger(int numBits, @NonNull Random rnd) { in BigInteger()
630 private static byte[] randomBits(int numBits, Random rnd) { in randomBits()
664 public BigInteger(int bitLength, int certainty, @NonNull Random rnd) { in BigInteger()
697 @NonNull public static BigInteger probablePrime(int bitLength, @NonNull Random rnd) { in probablePrime()
713 private static BigInteger smallPrime(int bitLength, int certainty, @NonNull Random rnd) { in smallPrime()
757 private static BigInteger largePrime(int bitLength, int certainty, @NonNull Random rnd) { in largePrime()
1021 private boolean passesMillerRabin(int iterations, @NonNull Random rnd) { in passesMillerRabin()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DSortedMapTestBase.java46 Random rnd; field in SortedMapTestBase
DHashMapTest.java514 Random rnd = new Random(666); in test_putAllLjava_util_Map_Resize() local
/libcore/ojluni/src/main/java/java/util/
DCollections.java469 Random rnd = r; in shuffle() local
501 public static void shuffle(List<?> list, Random rnd) { in shuffle()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollections.annotated.java50 … shuffle(@libcore.util.NonNull java.util.List<?> list, @libcore.util.NonNull java.util.Random rnd)… in shuffle()
/libcore/jsr166-tests/src/test/java/jsr166/
DRecursiveActionTest.java1240 ThreadLocalRandom rnd = ThreadLocalRandom.current(); in testSortTaskDemo() local
DTreeSetTest.java666 Random rnd = new Random(666); field in TreeSetTest
DConcurrentSkipListSetTest.java663 Random rnd = new Random(666); field in ConcurrentSkipListSetTest
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentSkipListMap.java852 int rnd = ThreadLocalRandom.nextSecondarySeed(); in doPut() local
1376 int rnd = ThreadLocalRandom.current().nextInt(); in buildFromSorted() local
1481 int rnd = ThreadLocalRandom.current().nextInt(); in readObject() local
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java88 public static void shuffle(java.util.List<?> list, java.util.Random rnd) { in shuffle()