Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/lang/invoke/
DExplicitCastArgumentsTest.java61 private static final Random RNG = Helper.RNG; field in ExplicitCastArgumentsTest
65 RANDOM_VALUES.put(Wrapper.BOOLEAN, RNG.nextBoolean()); in RANDOM_VALUES.put()
66 RANDOM_VALUES.put(Wrapper.BYTE, (byte) RNG.nextInt()); in RANDOM_VALUES.put()
67 RANDOM_VALUES.put(Wrapper.SHORT, (short) RNG.nextInt()); in RANDOM_VALUES.put()
68 RANDOM_VALUES.put(Wrapper.CHAR, (char) RNG.nextInt()); in RANDOM_VALUES.put()
69 RANDOM_VALUES.put(Wrapper.INT, RNG.nextInt()); in RANDOM_VALUES.put()
70 RANDOM_VALUES.put(Wrapper.LONG, RNG.nextLong()); in RANDOM_VALUES.put()
71 RANDOM_VALUES.put(Wrapper.FLOAT, RNG.nextFloat()); in RANDOM_VALUES.put()
72 RANDOM_VALUES.put(Wrapper.DOUBLE, RNG.nextDouble()); in RANDOM_VALUES.put()
511 int arity = 1 + RNG.nextInt(Helper.MAX_ARITY / 2 - 2); in testMultipleArgs()
[all …]
/libcore/ojluni/src/test/java/lang/invoke/common/test/java/lang/invoke/lib/
DHelper.java48 public static final Random RNG; field in Helper
53 RNG = new Random(seed);
132 result.add(classes[RNG.nextInt(classes.length)]); in randomClasses()
353 int i = RNG.nextInt(CLASSES.length + 1); in randomMethodTypeGenerator()