/src/main/java/org/htmlunit/util/OrderedFastHashMap.java
r |= r >> 5;
r |= r >> 4;
if (x == 0) { return 1; } long r = x - 1; r |= r >> 1; r |= r >> 2; <extra_id_0> r |= r >> 8; r |= r >> 16; return (r | r >> 32) + 1; } private static int arraySize(final int expected, final double f) { final long s = Math.max(2, nextPowerOfTwo((long) Math.ceil(expected / f)));