/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ThreadLocalRandomTest.java | 74 long f = ThreadLocalRandom.current().nextLong(); 76 while (i < NCALLS && ThreadLocalRandom.current().nextLong() == f) 204 rnd.nextLong(bound); 222 rnd.nextLong(badBounds[0], badBounds[1]); 234 long f = ThreadLocalRandom.current().nextLong(bound); 239 (j = ThreadLocalRandom.current().nextLong(bound)) == f) { 254 long f = ThreadLocalRandom.current().nextLong(least, bound); 259 (j = ThreadLocalRandom.current().nextLong(least, bound)) == f) { 328 rand.set(current.nextLong());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | RandomTest.java | 213 long lastNum = r.nextLong(); in test_nextLong() 217 nextNum = r.nextLong(); in test_nextLong() 244 random1Values[i] = random1.nextLong(); in test_setSeedJ() 245 random2Values[i] = random2.nextLong(); in test_setSeedJ() 246 random3Values[i] = random3.nextLong(); in test_setSeedJ() 256 random3Values[i] = random3.nextLong(); in test_setSeedJ() 295 mr.nextLong(); in test_next()
|
D | ScannerTest.java | 2163 assertEquals(123, s.nextLong(10)); in test_nextLongI() 2164 assertEquals(456, s.nextLong(10)); in test_nextLongI() 2166 s.nextLong(10); in test_nextLongI() 2173 assertEquals(38, s.nextLong(5)); in test_nextLongI() 2175 s.nextLong(5); in test_nextLongI() 2183 s.nextLong(10); in test_nextLongI() 2195 s.nextLong(10); in test_nextLongI() 2201 assertEquals(23456, s.nextLong(10)); in test_nextLongI() 2202 assertEquals(23456, s.nextLong(10)); in test_nextLongI() 2210 s.nextLong(10); in test_nextLongI() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | PrimitiveIterator.java | 168 long nextLong(); in nextLong() method 189 action.accept(nextLong()); in forEachRemaining() 202 return nextLong(); in next()
|
D | SplittableRandom.java | 349 double r = (nextLong() >>> 11) * DOUBLE_UNIT; in internalNextDouble() 398 return new SplittableRandom(nextLong(), mixGamma(nextSeed())); in split() 458 public long nextLong() { in nextLong() method in SplittableRandom 471 public long nextLong(long bound) { in nextLong() method in SplittableRandom 499 public long nextLong(long origin, long bound) { in nextLong() method in SplittableRandom
|
D | Random.java | 245 long r = nextLong(); in internalNextLong() 253 u = nextLong() >>> 1) // retry in internalNextLong() 259 r = nextLong(); in internalNextLong() 422 public long nextLong() { in nextLong() method in Random
|
D | Spliterators.java | 776 public long nextLong() { in iterator() method in Spliterators.Adapter 1990 do { a[j] = i.nextLong(); } while (++j < n && i.hasNext()); in trySplit() 2009 action.accept(it.nextLong()); in tryAdvance()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | RandomTest.java | 126 rands[i] = rand.nextLong(); in test_longs$() 139 rands[i] = rand.nextLong(); in test_longs$L() 159 rands[i] = (rand.nextLong() & 127) + origin; in test_longs$II() 178 rands[i] = (rand.nextLong() & 127) + origin; in test_longs$LII()
|
D | PrimitiveIteratorTest.java | 61 public long nextLong() { in nextLong() method in PrimitiveIteratorTest.CannedLongIterator
|
/libcore/ojluni/src/test/java/time/jdk/testlibrary/ |
D | RandomFactory.java | 60 return new Random().nextLong(); in getRandomSeed()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | LongPrimitiveOpsTests.java | 103 long[] content = LongStream.generate(() -> r.nextLong()).limit(10).toArray(); in testSort() 121 long[] content = LongStream.generate(() -> r.nextLong()).limit(10).toArray(); in testSortSort()
|
D | FindFirstOpTest.java | 112 assertEquals(i.nextLong(), r.getAsLong()); in exerciseLongStream()
|
D | FindAnyOpTest.java | 129 contained = r == it.nextLong(); in exerciseLongStream()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | EmulatedStackFrameTest.java | 52 assertEquals(56, reader.nextLong()); in testReaderWriter_allParamTypes() 95 assertEquals(72, reader.nextLong()); in testReaderWriter_allReturnTypes()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | Transformers.java | 532 filterWriter.putNextLong(returnValueReader.nextLong()); in transform() 587 arguments[i] = reader.nextLong(); in transform() 739 case 'J': { o = reader.nextLong(); break; } in referenceArray() 776 case 'J': { arityArray[i] = reader.nextLong(); break; } in longArray() 851 case 'J': { arityArray[i] = reader.nextLong(); break; } in floatArray() 872 case 'J': { arityArray[i] = reader.nextLong(); break; } in doubleArray() 939 case 'J': { writer.putNextLong(reader.nextLong()); break; } in copyParameter() 1388 array[i] = reader.nextLong(); in transform() 1854 return (byte) reader.nextLong(); in readPrimitiveAsByte() 1878 return (char) reader.nextLong(); in readPrimitiveAsChar() [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ThreadLocalRandom.java | 268 double r = (nextLong() >>> 11) * DOUBLE_UNIT; in internalNextDouble() 333 public long nextLong() { in nextLong() method in ThreadLocalRandom 346 public long nextLong(long bound) { in nextLong() method in ThreadLocalRandom 373 public long nextLong(long origin, long bound) { in nextLong() method in ThreadLocalRandom
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | EmulatedStackFrame.java | 405 writer.putNextLong(reader.nextLong()); in copyNext() 491 public long nextLong() { in nextLong() method in EmulatedStackFrame.StackFrameReader
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | FileTimeTest.java | 117 for (int i=0; i<100; i++) { to(rand.nextLong(), unit); } in main() 126 long value = rand.nextLong(); in main() 156 long v = rand.nextLong(); in main()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | TempFileHelper.java | 58 long n = random.nextLong(); in generatePath()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | SecureRandom2Test.java | 306 assertTrue(6180693691264871500l != sr1.nextLong()); in testSetSeedComplimentsAfterFirstRandomNumber()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Random.java | 82 public long nextLong() { in nextLong() method in Random
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | LongStream.java | 745 public long nextLong() { in iterate()
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | LongNodeTest.java | 103 long i = it.nextLong(); in degenerateTree()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | LongStreamTestScenario.java | 74 b.accept(seqIter.nextLong()); in STREAM_ITERATOR()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | LongStreamTestScenario.java | 71 b.accept(seqIter.nextLong()); in STREAM_ITERATOR()
|