Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/
DSplittableRandom.java219 private long nextSeed() { in nextSeed() method in SplittableRandom
293 long r = mix64(nextSeed()); in internalNextLong()
301 u = mix64(nextSeed()) >>> 1) // retry in internalNextLong()
307 r = mix64(nextSeed()); in internalNextLong()
322 int r = mix32(nextSeed()); in internalNextInt()
330 u = mix32(nextSeed()) >>> 1) in internalNextInt()
336 r = mix32(nextSeed()); in internalNextInt()
399 return new SplittableRandom(nextLong(), mixGamma(nextSeed())); in split()
408 return mix32(nextSeed()); in nextInt()
424 int r = mix32(nextSeed()); in nextInt()
[all …]
/libcore/luni/src/main/java/java/util/concurrent/
DThreadLocalRandom.java160 final long nextSeed() { in nextSeed() method in ThreadLocalRandom
169 return (int)(mix64(nextSeed()) >>> (64 - bits)); in next()
182 long r = mix64(nextSeed()); in internalNextLong()
190 u = mix64(nextSeed()) >>> 1) // retry in internalNextLong()
196 r = mix64(nextSeed()); in internalNextLong()
211 int r = mix32(nextSeed()); in internalNextInt()
219 u = mix32(nextSeed()) >>> 1) in internalNextInt()
225 r = mix32(nextSeed()); in internalNextInt()
254 return mix32(nextSeed()); in nextInt()
269 int r = mix32(nextSeed()); in nextInt()
[all …]