private static int roundUpInt(int x, @SuppressWarnings("SameParameterValue") int blockSizePowerOf2) {
    return (x + blockSizePowerOf2 - 1) & (-blockSizePowerOf2);
  }
private static int roundUpInt(int x, @SuppressWarnings("SameParameterValue") int blockSizePowerOf2)