Home
last modified time | relevance | path

Searched refs:multiplier (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DRandom.java105 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/
DSerialization.java53 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/
DDecimalFormatTest.java273 …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/
DDecimalFormat.java4567 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/
DRandom.java181 private static final long multiplier = 25214903917L; // 0x5deece66dL field in Random
/libcore/ojluni/src/main/java/jdk/internal/util/random/
DRandomSupport.java2383 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/
DDuration.java412 …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/
DDuration.java120 int multiplier, in parseNumber() argument
/libcore/ojluni/src/test/java/text/Format/NumberFormat/
DBigDecimalFormat.java1019 int multiplier) { in checkFormat() argument
1023 "\n multiplier: " + multiplier + in checkFormat()