Home
last modified time | relevance | path

Searched refs:mix64 (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DSplittableRandom.java190 private static long mix64(long z) { in mix64() method in SplittableRandom
231 = new AtomicLong(mix64(System.currentTimeMillis()) ^
232 mix64(System.nanoTime()));
292 long r = mix64(nextSeed()); in internalNextLong()
300 u = mix64(nextSeed()) >>> 1) // retry in internalNextLong()
306 r = mix64(nextSeed()); in internalNextLong()
379 this.seed = mix64(s); in SplittableRandom()
459 return mix64(nextSeed()); in nextLong()
475 long r = mix64(nextSeed()); in nextLong()
482 u = mix64(nextSeed()) >>> 1) in nextLong()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadLocalRandom.java128 private static long mix64(long z) { in mix64() method in ThreadLocalRandom
160 long seed = mix64(seeder.getAndAdd(SEEDER_INCREMENT)); in localInit()
198 return (int)(mix64(nextSeed()) >>> (64 - bits)); in next()
211 long r = mix64(nextSeed()); in internalNextLong()
219 u = mix64(nextSeed()) >>> 1) // retry in internalNextLong()
225 r = mix64(nextSeed()); in internalNextLong()
334 return mix64(nextSeed()); in nextLong()
349 long r = mix64(nextSeed()); in nextLong()
356 u = mix64(nextSeed()) >>> 1) in nextLong()
387 return (mix64(nextSeed()) >>> 11) * DOUBLE_UNIT; in nextDouble()
[all …]