Home | History | Annotate | Download | only in util

Lines Matching defs:Bits

27     int[] bits;
35 bits = Bits.makeBitSet(max);
41 Bits.set(bits, value, true);
50 if (value >= Bits.getMax(bits)) {
51 int[] newBits = Bits.makeBitSet(
52 Math.max(value + 1, 2 * Bits.getMax(bits)));
53 System.arraycopy(bits, 0, newBits, 0, bits.length);
54 bits = newBits;
60 if (value < Bits.getMax(bits)) {
61 Bits.set(bits, value, false);
67 return (value < Bits.getMax(bits)) && Bits.get(bits, value);
74 ensureCapacity(Bits.getMax(o.bits) + 1);
75 Bits.or(bits, o.bits);
84 Bits.set(bits, o.ints.get(i), true);
96 return Bits.bitCount(bits);
102 private int idx = Bits.findFirst(bits, 0);
117 idx = Bits.findFirst(bits, idx+1);
131 for (int i = Bits.findFirst(bits, 0)
133 ; i = Bits.findFirst(bits, i + 1)) {