/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.random/share/classes/jdk/random/ |
H A D | L128X1024MixRandom.java | 300 return new L128X1024MixRandom(source.nextLong(), brine << 1, in split() 301 source.nextLong(), source.nextLong(), in split() 302 source.nextLong(), source.nextLong(), in split() 303 source.nextLong(), source.nextLong(), in split() 304 source.nextLong(), source.nextLong(), in split() 305 source.nextLong(), source.nextLong(), in split() 306 source.nextLong(), source.nextLong(), in split() 307 source.nextLong(), source.nextLong(), in split() 308 source.nextLong(), source.nextLong(), in split() 309 source.nextLong(), source.nextLong()); in split() [all …]
|
H A D | L64X1024MixRandom.java | 287 return new L64X1024MixRandom(brine << 1, source.nextLong(), in split() 288 source.nextLong(), source.nextLong(), in split() 289 source.nextLong(), source.nextLong(), in split() 290 source.nextLong(), source.nextLong(), in split() 291 source.nextLong(), source.nextLong(), in split() 292 source.nextLong(), source.nextLong(), in split() 293 source.nextLong(), source.nextLong(), in split() 294 source.nextLong(), source.nextLong(), in split() 295 source.nextLong(), source.nextLong()); in split() 299 public long nextLong() { in nextLong() method in L64X1024MixRandom
|
H A D | L128X256MixRandom.java | 257 return new L128X256MixRandom(source.nextLong(), brine << 1, in split() 258 source.nextLong(), source.nextLong(), in split() 259 source.nextLong(), source.nextLong(), in split() 260 source.nextLong(), source.nextLong()); in split() 264 public long nextLong() { in nextLong() method in L128X256MixRandom
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/compiler/codegen/ |
H A D | BitTests.java | 58 if ((int) r.nextLong() < 0) { in testIntSignedBranch() 65 if (r.nextLong() < 0) { in testLongSignedBranch() 72 if (((int) r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 75 if (((int) r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 82 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 85 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 92 if (((r.nextLong() & 0x0800000000l) != 0)) { in testLongMaskBranch() 99 if ((((int) r.nextLong() & 0x08) != 0)) { in testIntMaskBranch() 106 if (((r.nextLong() & mask) != 0)) { in testLongMaskBranch() 113 if ((((int) r.nextLong() & mask) != 0)) { in testIntMaskBranch() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/hotspot/jtreg/compiler/codegen/ |
H A D | BitTests.java | 58 if ((int) r.nextLong() < 0) { in testIntSignedBranch() 65 if (r.nextLong() < 0) { in testLongSignedBranch() 72 if (((int) r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 75 if (((int) r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 82 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 85 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 92 if (((r.nextLong() & 0x0800000000l) != 0)) { in testLongMaskBranch() 99 if ((((int) r.nextLong() & 0x08) != 0)) { in testIntMaskBranch() 106 if (((r.nextLong() & mask) != 0)) { in testLongMaskBranch() 113 if ((((int) r.nextLong() & mask) != 0)) { in testIntMaskBranch() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/hotspot/jtreg/compiler/codegen/ |
H A D | BitTests.java | 58 if ((int) r.nextLong() < 0) { in testIntSignedBranch() 65 if (r.nextLong() < 0) { in testLongSignedBranch() 72 if (((int) r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 75 if (((int) r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 82 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 85 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 92 if (((r.nextLong() & 0x0800000000l) != 0)) { in testLongMaskBranch() 99 if ((((int) r.nextLong() & 0x08) != 0)) { in testIntMaskBranch() 106 if (((r.nextLong() & mask) != 0)) { in testLongMaskBranch() 113 if ((((int) r.nextLong() & mask) != 0)) { in testIntMaskBranch() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/hotspot/jtreg/compiler/codegen/ |
H A D | BitTests.java | 58 if ((int) r.nextLong() < 0) { in testIntSignedBranch() 65 if (r.nextLong() < 0) { in testLongSignedBranch() 72 if (((int) r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 75 if (((int) r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 82 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 85 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 92 if (((r.nextLong() & 0x0800000000l) != 0)) { in testLongMaskBranch() 99 if ((((int) r.nextLong() & 0x08) != 0)) { in testIntMaskBranch() 106 if (((r.nextLong() & mask) != 0)) { in testLongMaskBranch() 113 if ((((int) r.nextLong() & mask) != 0)) { in testIntMaskBranch() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/hotspot/jtreg/compiler/codegen/ |
H A D | BitTests.java | 58 if ((int) r.nextLong() < 0) { in testIntSignedBranch() 65 if (r.nextLong() < 0) { in testLongSignedBranch() 72 if (((int) r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 75 if (((int) r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 82 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 85 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 92 if (((r.nextLong() & 0x0800000000l) != 0)) { in testLongMaskBranch() 99 if ((((int) r.nextLong() & 0x08) != 0)) { in testIntMaskBranch() 106 if (((r.nextLong() & mask) != 0)) { in testLongMaskBranch() 113 if ((((int) r.nextLong() & mask) != 0)) { in testIntMaskBranch() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/compiler/codegen/ |
H A D | BitTests.java | 58 if ((int) r.nextLong() < 0) { in testIntSignedBranch() 65 if (r.nextLong() < 0) { in testLongSignedBranch() 72 if (((int) r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 75 if (((int) r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 82 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 85 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 92 if (((r.nextLong() & 0x0800000000l) != 0)) { in testLongMaskBranch() 99 if ((((int) r.nextLong() & 0x08) != 0)) { in testIntMaskBranch() 106 if (((r.nextLong() & mask) != 0)) { in testLongMaskBranch() 113 if ((((int) r.nextLong() & mask) != 0)) { in testIntMaskBranch() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/hotspot/jtreg/compiler/codegen/ |
H A D | BitTests.java | 58 if ((int) r.nextLong() < 0) { in testIntSignedBranch() 65 if (r.nextLong() < 0) { in testLongSignedBranch() 72 if (((int) r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 75 if (((int) r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 82 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 85 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 92 if (((r.nextLong() & 0x0800000000l) != 0)) { in testLongMaskBranch() 99 if ((((int) r.nextLong() & 0x08) != 0)) { in testIntMaskBranch() 106 if (((r.nextLong() & mask) != 0)) { in testLongMaskBranch() 113 if ((((int) r.nextLong() & mask) != 0)) { in testIntMaskBranch() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/hotspot/jtreg/compiler/codegen/ |
H A D | BitTests.java | 58 if ((int) r.nextLong() < 0) { in testIntSignedBranch() 65 if (r.nextLong() < 0) { in testLongSignedBranch() 72 if (((int) r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 75 if (((int) r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 82 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 85 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 92 if (((r.nextLong() & 0x0800000000l) != 0)) { in testLongMaskBranch() 99 if ((((int) r.nextLong() & 0x08) != 0)) { in testIntMaskBranch() 106 if (((r.nextLong() & mask) != 0)) { in testLongMaskBranch() 113 if ((((int) r.nextLong() & mask) != 0)) { in testIntMaskBranch() [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/hotspot/test/compiler/codegen/8144028/ |
H A D | BitTests.java | 53 if ((int)r.nextLong() < 0) { in testIntSignedBranch() 60 if (r.nextLong() < 0) { in testLongSignedBranch() 67 if (((int)r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 70 if (((int)r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 77 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 80 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 87 if (((r.nextLong() & 0x0800000000l) != 0)) { in testLongMaskBranch() 94 if ((((int)r.nextLong() & 0x08) != 0)) { in testIntMaskBranch() 101 if (((r.nextLong() & mask) != 0)) { in testLongMaskBranch() 108 if ((((int)r.nextLong() & mask) != 0)) { in testIntMaskBranch() [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/hotspot/test/compiler/codegen/8144028/ |
H A D | BitTests.java | 53 if ((int)r.nextLong() < 0) { in testIntSignedBranch() 60 if (r.nextLong() < 0) { in testLongSignedBranch() 67 if (((int)r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 70 if (((int)r.nextLong() & (1 << 27)) != 0) { in testIntBitBranch() 77 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 80 if ((r.nextLong() & (1l << 50)) != 0) { in testLongBitBranch() 87 if (((r.nextLong() & 0x0800000000l) != 0)) { in testLongMaskBranch() 94 if ((((int)r.nextLong() & 0x08) != 0)) { in testIntMaskBranch() 101 if (((r.nextLong() & mask) != 0)) { in testLongMaskBranch() 108 if ((((int)r.nextLong() & mask) != 0)) { in testIntMaskBranch() [all …]
|
/dports/devel/spark/spark-2.1.1/core/src/test/scala/org/apache/spark/util/random/ |
H A D | RandomSamplerSuite.scala | 67 rng.setSeed(rngSeed.nextLong) 178 sampler.setSeed(rngSeed.nextLong) 183 sampler.setSeed(rngSeed.nextLong) 188 sampler.setSeed(rngSeed.nextLong) 194 sampler.setSeed(rngSeed.nextLong) 208 sampler.setSeed(rngSeed.nextLong) 213 sampler.setSeed(rngSeed.nextLong) 218 sampler.setSeed(rngSeed.nextLong) 224 sampler.setSeed(rngSeed.nextLong) 701 val seed = rngSeed.nextLong [all …]
|
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/util/ |
H A D | TestZKSignerSecretProvider.java | 52 byte[] secret2 = Long.toString(rand.nextLong()).getBytes(); in testOne() 53 byte[] secret1 = Long.toString(rand.nextLong()).getBytes(); in testOne() 54 byte[] secret3 = Long.toString(rand.nextLong()).getBytes(); in testOne() 99 byte[] secretA2 = Long.toString(rand.nextLong()).getBytes(); in testMultipleInit() 100 byte[] secretA1 = Long.toString(rand.nextLong()).getBytes(); in testMultipleInit() 102 long seedB = System.currentTimeMillis() + rand.nextLong(); in testMultipleInit() 104 byte[] secretB2 = Long.toString(rand.nextLong()).getBytes(); in testMultipleInit() 105 byte[] secretB1 = Long.toString(rand.nextLong()).getBytes(); in testMultipleInit() 107 long seedC = System.currentTimeMillis() + rand.nextLong(); in testMultipleInit() 109 byte[] secretC2 = Long.toString(rand.nextLong()).getBytes(); in testMultipleInit() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/util/concurrent/tck/ |
H A D | SplittableRandomTest.java | 104 long f = sr.nextLong(); 106 while (i < NCALLS && sr.nextLong() == f) 132 assertEquals(sr1.nextLong(), sr2.nextLong()); 145 while (i < NCALLS && sr.nextLong() == sc.nextLong()) 160 while (i < NCALLS && sr.nextLong() == sc.nextLong()) 241 () -> sr.nextLong(-17L), 242 () -> sr.nextLong(0L), 243 () -> sr.nextLong(Long.MIN_VALUE)); 253 () -> sr.nextLong(17L, 2L), 254 () -> sr.nextLong(-42L, -42L), [all …]
|
/dports/misc/elki/elki-release0.7.1-1166-gfb1fffdf3/elki-core-util/src/main/java/de/lmu/ifi/dbs/elki/utilities/random/ |
H A D | XorShift64NonThreadsafeRandom.java | 84 public long nextLong() { in nextLong() method in XorShift64NonThreadsafeRandom 93 return (int) (nextLong() >>> (64 - bits)); in next() 98 return (int) (nextLong() >>> 32); in nextInt() 103 return ((long) nextLong() >>> 11) * 0x1.0p-53; in nextDouble() 134 return (int) (((nextLong() >>> 32) * n) >>> 32); in nextInt()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/util/concurrent/tck/ |
H A D | SplittableRandomTest.java | 101 long f = sr.nextLong(); 103 while (i < NCALLS && sr.nextLong() == f) 129 assertEquals(sr1.nextLong(), sr2.nextLong()); 142 while (i < NCALLS && sr.nextLong() == sc.nextLong()) 157 while (i < NCALLS && sr.nextLong() == sc.nextLong()) 239 () -> sr.nextLong(-17L), 240 () -> sr.nextLong(0L), 241 () -> sr.nextLong(Long.MIN_VALUE), 252 () -> sr.nextLong(17L, 2L), 253 () -> sr.nextLong(-42L, -42L), [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/util/concurrent/tck/ |
H A D | SplittableRandomTest.java | 101 long f = sr.nextLong(); 103 while (i < NCALLS && sr.nextLong() == f) 129 assertEquals(sr1.nextLong(), sr2.nextLong()); 142 while (i < NCALLS && sr.nextLong() == sc.nextLong()) 157 while (i < NCALLS && sr.nextLong() == sc.nextLong()) 238 () -> sr.nextLong(-17L), 239 () -> sr.nextLong(0L), 240 () -> sr.nextLong(Long.MIN_VALUE)); 250 () -> sr.nextLong(17L, 2L), 251 () -> sr.nextLong(-42L, -42L), [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/util/concurrent/tck/ |
H A D | SplittableRandomTest.java | 101 long f = sr.nextLong(); 103 while (i < NCALLS && sr.nextLong() == f) 129 assertEquals(sr1.nextLong(), sr2.nextLong()); 142 while (i < NCALLS && sr.nextLong() == sc.nextLong()) 157 while (i < NCALLS && sr.nextLong() == sc.nextLong()) 239 () -> sr.nextLong(-17L), 240 () -> sr.nextLong(0L), 241 () -> sr.nextLong(Long.MIN_VALUE), 252 () -> sr.nextLong(17L, 2L), 253 () -> sr.nextLong(-42L, -42L), [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/util/concurrent/tck/ |
H A D | SplittableRandomTest.java | 101 long f = sr.nextLong(); 103 while (i < NCALLS && sr.nextLong() == f) 129 assertEquals(sr1.nextLong(), sr2.nextLong()); 142 while (i < NCALLS && sr.nextLong() == sc.nextLong()) 157 while (i < NCALLS && sr.nextLong() == sc.nextLong()) 239 () -> sr.nextLong(-17L), 240 () -> sr.nextLong(0L), 241 () -> sr.nextLong(Long.MIN_VALUE), 252 () -> sr.nextLong(17L, 2L), 253 () -> sr.nextLong(-42L, -42L), [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/util/concurrent/tck/ |
H A D | SplittableRandomTest.java | 101 long f = sr.nextLong(); 103 while (i < NCALLS && sr.nextLong() == f) 129 assertEquals(sr1.nextLong(), sr2.nextLong()); 142 while (i < NCALLS && sr.nextLong() == sc.nextLong()) 157 while (i < NCALLS && sr.nextLong() == sc.nextLong()) 238 () -> sr.nextLong(-17L), 239 () -> sr.nextLong(0L), 240 () -> sr.nextLong(Long.MIN_VALUE)); 250 () -> sr.nextLong(17L, 2L), 251 () -> sr.nextLong(-42L, -42L), [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/util/concurrent/tck/ |
H A D | SplittableRandomTest.java | 101 long f = sr.nextLong(); 103 while (i < NCALLS && sr.nextLong() == f) 129 assertEquals(sr1.nextLong(), sr2.nextLong()); 142 while (i < NCALLS && sr.nextLong() == sc.nextLong()) 157 while (i < NCALLS && sr.nextLong() == sc.nextLong()) 238 () -> sr.nextLong(-17L), 239 () -> sr.nextLong(0L), 240 () -> sr.nextLong(Long.MIN_VALUE)); 250 () -> sr.nextLong(17L, 2L), 251 () -> sr.nextLong(-42L, -42L), [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/util/concurrent/tck/ |
H A D | SplittableRandomTest.java | 101 long f = sr.nextLong(); 103 while (i < NCALLS && sr.nextLong() == f) 129 assertEquals(sr1.nextLong(), sr2.nextLong()); 142 while (i < NCALLS && sr.nextLong() == sc.nextLong()) 157 while (i < NCALLS && sr.nextLong() == sc.nextLong()) 238 () -> sr.nextLong(-17L), 239 () -> sr.nextLong(0L), 240 () -> sr.nextLong(Long.MIN_VALUE)); 250 () -> sr.nextLong(17L, 2L), 251 () -> sr.nextLong(-42L, -42L), [all …]
|
/dports/databases/hbase/hbase-1.2.1/hbase-common/src/test/java/org/apache/hadoop/hbase/types/ |
H A D | TestCopyOnWriteMaps.java | 46 long o = ThreadLocalRandom.current().nextLong(MAX_RAND); in setUp() 50 long o = ThreadLocalRandom.current().nextLong(MAX_RAND); in setUp() 87 Long key = ThreadLocalRandom.current().nextLong(); in testLowerKey() 95 Long key = ThreadLocalRandom.current().nextLong(); in testFloorEntry() 103 Long key = ThreadLocalRandom.current().nextLong(); in testFloorKey() 116 Long key = ThreadLocalRandom.current().nextLong(); in testCeilingKey() 129 Long key = ThreadLocalRandom.current().nextLong(); in testHigherKey() 145 Long newValue = ThreadLocalRandom.current().nextLong(); in testReplace() 154 Long newValue = ThreadLocalRandom.current().nextLong(); in testReplace1() 174 m.put(ThreadLocalRandom.current().nextLong(), in testMultiAdd() [all …]
|