Searched refs:NCALLS (Results 1 - 1 of 1) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
H A DThreadLocalRandomTest.java32 * calls, up to NCALLS tries, produce at least one different
38 static final int NCALLS = 10000; field in class:ThreadLocalRandomTest
65 while (i < NCALLS && ThreadLocalRandom.current().nextInt() == f)
67 assertTrue(i < NCALLS);
76 while (i < NCALLS && ThreadLocalRandom.current().nextLong() == f)
78 assertTrue(i < NCALLS);
87 while (i < NCALLS && ThreadLocalRandom.current().nextBoolean() == f)
89 assertTrue(i < NCALLS);
98 while (i < NCALLS && ThreadLocalRandom.current().nextFloat() == f)
100 assertTrue(i < NCALLS);
[all...]

Completed in 28 milliseconds