Searched refs:multiplier (Results 1 – 9 of 9) sorted by relevance
/libcore/ojluni/src/main/java/java/util/ |
D | Random.java | 105 private static final long multiplier = 0x5DEECE66DL; field in Random 171 return (seed ^ multiplier) & mask; in initialScramble() 228 nextseed = (oldseed * multiplier + addend) & mask; in next() 548 double multiplier = StrictMath.sqrt(-2 * StrictMath.log(s)/s); in nextGaussian() local 549 nextNextGaussian = v2 * multiplier; in nextGaussian() 551 return v1 * multiplier; in nextGaussian()
|
/libcore/ojluni/src/test/java/util/HashSet/ |
D | Serialization.java | 53 float multiplier = 2*rnd.nextFloat(); // range [0,2] in createHashSet() local 54 int size = (int)(capacity*loadFactor*multiplier); in createHashSet()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | DecimalFormatTest.java | 273 …private void assertDecFmtWithMultiplierAndFraction(String value, int multiplier, int fraction, Str… in assertDecFmtWithMultiplierAndFraction() argument 275 df.setMultiplier(multiplier); in assertDecFmtWithMultiplierAndFraction() 281 …private void assertDecFmtWithMultiplierAndFractionByLocale(String value, int multiplier, int fract… in assertDecFmtWithMultiplierAndFractionByLocale() argument 283 df.setMultiplier(multiplier); in assertDecFmtWithMultiplierAndFractionByLocale()
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormat.java | 4567 int multiplier = fields.get("multiplier", 1); in readObject() local 4568 if (multiplier != icuDecimalFormat.getMultiplier()) { in readObject() 4569 icuDecimalFormat.setMultiplier(multiplier); in readObject()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Random.java | 181 private static final long multiplier = 25214903917L; // 0x5deece66dL field in Random
|
/libcore/ojluni/src/main/java/jdk/internal/util/random/ |
D | RandomSupport.java | 2383 long multiplier = (1L << SALT_SHIFT) - 1; in makeSplitsSpliterator() local 2384 long salt = multiplier << (64 - SALT_SHIFT); in makeSplitsSpliterator() 2385 while ((salt & multiplier) == 0) { in makeSplitsSpliterator() 2386 long digit = Math.multiplyHigh(bits, multiplier); in makeSplitsSpliterator() 2388 bits *= multiplier; in makeSplitsSpliterator()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Duration.java | 412 …private static long parseNumber(CharSequence text, String parsed, int multiplier, String errorText… in parseNumber() argument 419 return Math.multiplyExact(val, multiplier); in parseNumber()
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | Duration.java | 120 int multiplier, in parseNumber() argument
|
/libcore/ojluni/src/test/java/text/Format/NumberFormat/ |
D | BigDecimalFormat.java | 1019 int multiplier) { in checkFormat() argument 1023 "\n multiplier: " + multiplier + in checkFormat()
|