Searched refs:bitsToRandomize (Results 1 – 1 of 1) sorted by relevance
176 public static int randomizeLowestBits(Random random, int value, int bitsToRandomize) { in randomizeLowestBits() argument177 if (bitsToRandomize < 1 || bitsToRandomize >= Integer.SIZE) { in randomizeLowestBits()179 throw new IllegalArgumentException(Integer.toString(bitsToRandomize)); in randomizeLowestBits()182 int upperBitMask = 0xFFFF_FFFF << bitsToRandomize; in randomizeLowestBits()