Home
last modified time | relevance | path

Searched refs:nextSetBit (Results 1 – 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DBitSetTest.java1153 bs.nextSetBit(-1); in test_nextSetBitI()
1157 assertEquals(5, bs.nextSetBit(0)); in test_nextSetBitI()
1158 assertEquals(5, bs.nextSetBit(5)); in test_nextSetBitI()
1159 assertEquals(32, bs.nextSetBit(6)); in test_nextSetBitI()
1160 assertEquals(32, bs.nextSetBit(32)); in test_nextSetBitI()
1161 assertEquals(63, bs.nextSetBit(33)); in test_nextSetBitI()
1164 assertEquals(63, bs.nextSetBit(63)); in test_nextSetBitI()
1165 assertEquals(64, bs.nextSetBit(64)); in test_nextSetBitI()
1168 assertEquals(71, bs.nextSetBit(65)); in test_nextSetBitI()
1169 assertEquals(71, bs.nextSetBit(71)); in test_nextSetBitI()
[all …]
/libcore/ojluni/src/main/java/java/util/
DBitSet.java710 public int nextSetBit(int fromIndex) { in nextSetBit() method in BitSet
1189 int i = nextSetBit(0); in toString()
1194 if ((i = nextSetBit(i)) < 0) break; in toString()
1221 int next = nextSetBit(0); in stream()
1232 next = nextSetBit(next+1); in stream()
/libcore/jsr166-tests/src/test/java/jsr166/
DTreeSetTest.java910 int result = bs.nextSetBit(element); in check()
DConcurrentSkipListSetTest.java909 int result = bs.nextSetBit(element); in check()
DTreeMapTest.java1013 int result = bs.nextSetBit(key);
DConcurrentSkipListMapTest.java1208 int result = bs.nextSetBit(key);