Lines Matching refs:index
44 Assert.that(offset>=0 && offset < size(), "BitMap index out of bounds");
50 int index = indexFor(offset);
53 data[index] = Bits.setNthBit(data[index], pos);
55 data[index] = Bits.clearNthBit(data[index], pos);
78 for (int index = 0; index < sizeInWords(); index++) {
79 int rest = data[index];
80 for (int offset = index * bitsPerWord; rest != Bits.NoBits; offset++) {
101 for (int index = 0; index < sizeInWords(); index++) {
102 int temp = data[index] | other.data[index];
103 changed = changed || (temp != data[index]);
104 data[index] = temp;
115 for (int index = 0; index < sizeInWords(); index++) {
116 data[index] = data[index] & (other.data[index]);
126 for (int index = 0; index < sizeInWords(); index++) {
127 data[index] = other.data[index];
140 for (int index = 0; index < sizeInWords(); index++) {
141 int temp = data[index] & ~(other.data[index]);
142 changed = changed || (temp != data[index]);
143 data[index] = temp;
153 for (int index = 0; index < sizeInWords(); index++) {
154 if (data[index] != (other.data[index])) return false;
164 int index = indexFor(l_offset);
169 int res = data[index] >> pos;
179 for (index++; index < r_index; index++) {
180 res = data[index];
183 for (res_offset = index * bitsPerWord; (res & 1) == 0; res_offset++) {