Searched refs:NCALLS (Results 1 – 4 of 4) sorted by relevance
61 static final int NCALLS = 10000; field in ThreadLocalRandomTest108 for (i = 0; i < NCALLS; i++) { in testNext()112 assertTrue(i < NCALLS); in testNext()117 for (i = 0; i < NCALLS; i++) { in testNext()122 assertTrue(i < NCALLS); in testNext()132 while (i < NCALLS && ThreadLocalRandom.current().nextInt() == f)134 assertTrue(i < NCALLS);143 while (i < NCALLS && ThreadLocalRandom.current().nextLong() == f)145 assertTrue(i < NCALLS);154 while (i < NCALLS && ThreadLocalRandom.current().nextBoolean() == f)[all …]
77 static final int NCALLS = 10000; field in SplittableRandomTest96 while (i < NCALLS && sr.nextInt() == f) in testNextInt()98 assertTrue(i < NCALLS); in testNextInt()108 while (i < NCALLS && sr.nextLong() == f)110 assertTrue(i < NCALLS);120 while (i < NCALLS && sr.nextDouble() == f)122 assertTrue(i < NCALLS);147 while (i < NCALLS && sr.nextLong() == sc.nextLong())149 assertTrue(i < NCALLS);162 while (i < NCALLS && sr.nextLong() == sc.nextLong())[all …]
38 static final int NCALLS = 10000; field in ThreadLocalRandomTest65 while (i < NCALLS && ThreadLocalRandom.current().nextInt() == f) in testNextInt()67 assertTrue(i < NCALLS); in testNextInt()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);109 while (i < NCALLS && ThreadLocalRandom.current().nextDouble() == f)[all …]
57 static final int NCALLS = 10000; field in RandomTest77 while (i < NCALLS && r.nextInt() == f) in testNextInt()79 assertTrue(i < NCALLS); in testNextInt()89 while (i < NCALLS && r.nextLong() == f)91 assertTrue(i < NCALLS);101 while (i < NCALLS && r.nextBoolean() == f)103 assertTrue(i < NCALLS);113 while (i < NCALLS && r.nextFloat() == f)115 assertTrue(i < NCALLS);125 while (i < NCALLS && r.nextDouble() == f)[all …]