Lines Matching defs:hasNext
83 // for (BasicBitVector<>::Iterator it(bv); it.hasNext();) {
91 bool hasNext() const { return !bv_.empty(); }
269 // for (TwoLevelBitVector<>::Iterator it(bv); it.hasNext();) {
281 bool hasNext() const {
282 if (it1_.hasNext()) return true;
289 // Printf("++++: %zd %zd; %d %d; size %zd\n", i0_, i1_, it1_.hasNext(),
290 // it2_.hasNext(), kSize);
291 if (!it1_.hasNext() && !it2_.hasNext()) {
295 // Printf("+i0: %zd %zd; %d %d; size %zd\n", i0_, i1_, it1_.hasNext(),
296 // it2_.hasNext(), kSize);
300 if (!it2_.hasNext()) {
301 CHECK(it1_.hasNext());
304 // Printf("++i1: %zd %zd; %d %d; size %zd\n", i0_, i1_, it1_.hasNext(),
305 // it2_.hasNext(), kSize);
307 CHECK(it2_.hasNext());
311 // it1_.hasNext(), it2_.hasNext(), kSize, res);
312 if (!it1_.hasNext() && !it2_.hasNext())