Home | History | Annotate | Download | only in util

Lines Matching defs:bits

27     int[] bits;
35 bits = Bits.makeBitSet(max);
42 Bits.set(bits, value, true);
51 if (value >= Bits.getMax(bits)) {
52 int[] newBits = Bits.makeBitSet(
53 Math.max(value + 1, 2 * Bits.getMax(bits)));
54 System.arraycopy(bits, 0, newBits, 0, bits.length);
55 bits = newBits;
62 if (value < Bits.getMax(bits)) {
63 Bits.set(bits, value, false);
70 return (value < Bits.getMax(bits)) && Bits.get(bits, value);
78 ensureCapacity(Bits.getMax(o.bits) + 1);
79 Bits.or(bits, o.bits);
88 Bits.set(bits, o.ints.get(i), true);
101 return Bits.bitCount(bits);
108 private int idx = Bits.findFirst(bits, 0);
125 idx = Bits.findFirst(bits, idx+1);
140 for (int i = Bits.findFirst(bits, 0)
142 ; i = Bits.findFirst(bits, i + 1)) {