Searched refs:nextLong (Results 1 - 25 of 28) sorted by relevance

12

/openjdk7/jdk/test/java/util/Random/
H A DDistinctSeeds.java49 if (new Random().nextLong() == new Random().nextLong() ||
50 new Random().nextLong() == new Random().nextLong())
58 randoms[i] = new Random().nextLong();
/openjdk7/jdk/src/share/classes/sun/security/krb5/
H A DConfounder.java53 return srand.nextLong();
/openjdk7/jdk/test/java/lang/Long/
H A DBitTwiddle.java55 long x = rnd.nextLong();
75 long x = rnd.nextLong();
92 long x = rnd.nextLong();
98 long x = rnd.nextLong();
119 long x = rnd.nextLong();
129 long x = rnd.nextLong();
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DThreadLocalRandom.java158 public long nextLong(long n) { method in class:ThreadLocalRandom
188 public long nextLong(long least, long bound) { method in class:ThreadLocalRandom
191 return nextLong(bound - least) + least;
/openjdk7/jdk/src/share/classes/java/math/
H A DBitSieve.java198 long nextLong = ~bits[i];
200 if ((nextLong & 1) == 1) {
206 nextLong >>>= 1;
/openjdk7/hotspot/test/compiler/7177917/
H A DTest7177917.java63 double x = Math.abs(Double.longBitsToDouble(r.nextLong()));
65 x = Math.abs(Double.longBitsToDouble(r.nextLong()));
/openjdk7/hotspot/test/compiler/7100757/
H A DTest7100757.java48 ra[r] = rnd.nextLong();
/openjdk7/jdk/test/javax/management/mxbean/
H A DThreadMXBeanTest.java53 ids2[i] = Math.abs(r.nextLong());
/openjdk7/jdk/test/java/io/Serializable/sanityCheck/
H A DSanityCheck.java66 j = rand.nextLong();
86 jary[i] = rand.nextLong();
/openjdk7/jdk/src/share/classes/java/rmi/server/
H A DObjID.java119 objNum = secureRandom.nextLong();
/openjdk7/jdk/test/java/lang/
H A DToString.java81 long l = generator.nextLong();
H A DCompare.java115 rnd.nextLong(),
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DPipeImpl.java100 long secret = rnd.nextLong();
/openjdk7/jdk/test/java/lang/reflect/Proxy/
H A DBoxing.java84 j = random.nextLong();
/openjdk7/jdk/test/java/util/BitSet/
H A DImportExport.java111 longs[i] = rnd.nextLong();
115 b2.put(i, rnd.nextLong());
/openjdk7/jdk/test/java/util/UUID/
H A DUUIDTest.java228 long l = generator.nextLong();
229 long l2 = generator.nextLong();
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DTempFileHelper.java58 long n = random.nextLong();
/openjdk7/jdk/src/share/classes/java/util/
H A DRandom.java316 * contract of {@code nextLong} is that one {@code long} value is
319 * <p>The method {@code nextLong} is implemented by class {@code Random}
322 * public long nextLong() {
332 public long nextLong() { method in class:Random
H A DScanner.java62 * long aLong = sc.nextLong();
2173 * {@link #nextLong} method. The scanner does not advance past any input.
2186 * {@link #nextLong} method. The scanner does not advance past any input.
2213 * <tt>nextLong()</tt> behaves in exactly the same way as the
2214 * invocation <tt>nextLong(radix)</tt>, where <code>radix</code>
2224 public long nextLong() { method in class:Scanner
2225 return nextLong(defaultRadix);
2254 public long nextLong(int radix) { method in class:Scanner
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/
H A DCramMD5Server.java120 long rand = random.nextLong();
/openjdk7/hotspot/test/compiler/6661247/
H A DTest.java141 long l = r.nextLong();
/openjdk7/jdk/test/java/util/Arrays/
H A DArrayObjectMethods.java202 public static long nextLong() { method in class:Rnd
209 default: return rnd.nextLong();
304 result[i] = Rnd.nextLong();
/openjdk7/jdk/test/java/lang/Math/
H A DLog10Tests.java100 double input = Double.longBitsToDouble(rand.nextLong());
/openjdk7/jdk/test/java/nio/file/attribute/FileTime/
H A DBasic.java75 for (int i=0; i<100; i++) { to(rand.nextLong(), unit); }
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DCDRInputStream_1_0.java370 int nextLong = read_long();
376 if (nextLong < 0)
1529 int nextLong = read_long();
1537 if (nextLong < 0)
1540 if (nextLong == 0 || nextLong >= maxBlockLength) {
1561 new Integer( nextLong ), new Integer( get_offset() ) ) ;

Completed in 96 milliseconds

12