Home
last modified time | relevance | path

Searched refs:previousSetBit (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DBitSetTest.java179 assertEquals(-1, new BitSet().previousSetBit(666)); in test_previousSetBit()
185 assertEquals(32, bs.previousSetBit(999)); in test_previousSetBit()
186 assertEquals(32, bs.previousSetBit(33)); in test_previousSetBit()
187 assertEquals(32, bs.previousSetBit(32)); in test_previousSetBit()
188 assertEquals(-1, bs.previousSetBit(31)); in test_previousSetBit()
197 assertEquals(666, bs.previousSetBit(999)); in test_previousSetBit()
198 assertEquals(666, bs.previousSetBit(667)); in test_previousSetBit()
199 assertEquals(666, bs.previousSetBit(666)); in test_previousSetBit()
200 assertEquals(192, bs.previousSetBit(665)); in test_previousSetBit()
201 assertEquals(32, bs.previousSetBit(191)); in test_previousSetBit()
[all …]
/libcore/ojluni/src/main/java/java/util/
DBitSet.java784 public int previousSetBit(int fromIndex) { in previousSetBit() method in BitSet