_Bits.java | 29 assertEquals(label(0), 0, Bits.makeBitSet(0).length); 32 assertEquals(label(i), 1, Bits.makeBitSet(i).length); method 36 assertEquals(label(i), 2, Bits.makeBitSet(i).length); method 44 assertEquals(label(i), expect, Bits.makeBitSet(i).length); method 54 assertEquals(label(i), expect * 32, method 63 assertFalse(label(i), Bits.get(bits, i)); method 74 assertTrue(label(i), Bits.get(bits, i)); method 87 assertTrue(label(i), Bits.get(bits, i) == expect); method 104 assertEquals(label(1), 0x41, bits[0]); 105 assertEquals(label(2), 0xfffffbf7, bits[1]) 132 assertTrue(label(i), Bits.get(bits, i) == expect); method 147 assertTrue(label(i), Bits.get(bits, i) == expect); method 165 assertTrue(label(i), Bits.get(bits, i) == expect); method 171 assertTrue(label(i), Bits.isEmpty(new int[i])); method 184 assertFalse(label(i), Bits.isEmpty(bits)); method 190 assertEquals(label(i), 0, Bits.bitCount(new int[i])); method 214 assertEquals(label(i), count, Bits.bitCount(bits)); method 222 assertFalse(label(i), Bits.anyInRange(bits, 0, i)); method 230 assertFalse(label(i), Bits.anyInRange(bits, i, 100)); method 238 assertFalse(label(i), Bits.anyInRange(bits, i, 100 - i)); method 249 assertTrue(label(i), Bits.anyInRange(bits, 0, i)); method 260 assertTrue(label(i), Bits.anyInRange(bits, i, 100)); method 271 assertTrue(label(i), Bits.anyInRange(bits, i, 100 - i)); method 279 assertEquals(label(i), -1, Bits.findFirst(bits, i)); method 290 assertEquals(label(i), i, Bits.findFirst(bits, i)); method 306 assertEquals(label(i), i + 5, Bits.findFirst(bits, i)); method 312 assertEquals(label(i), -1, Bits.findFirst(0, i)); method 318 assertEquals(label(i), i, Bits.findFirst(-1, i)); method 324 assertEquals(label(i), -1, Bits.findFirst((1 << i) >>> 1, i)); method 330 assertEquals(label(i), i, Bits.findFirst(1 << i, i)); method 336 assertEquals(label(i), i + 1, Bits.findFirst(1 << (i + 1), i)); method 344 assertEquals(label(i), i, Bits.findFirst(value, i)); method 348 private static String label(int n) { method in class:_Bits [all...] |