Lines Matching refs:BITS_PER_UNIT
43 private static final int BITS_PER_UNIT = 8;
46 return idx / BITS_PER_UNIT;
50 return 1 << (BITS_PER_UNIT - 1 - (idx % BITS_PER_UNIT));
63 repn = new byte[(length + BITS_PER_UNIT - 1)/BITS_PER_UNIT];
79 if (a.length * BITS_PER_UNIT < length) {
86 int repLength = ((length + BITS_PER_UNIT - 1)/BITS_PER_UNIT);
87 int unusedBits = repLength*BITS_PER_UNIT - length;
258 for (int i = BITS_PER_UNIT * (repn.length - 1); i < length; i++) {
269 return new BitArray(i+1, Arrays.copyOf(repn, (i + BITS_PER_UNIT)/BITS_PER_UNIT));