do { int savePtr = ptr; parseKey(); cmp = compare(key, 0, key.length, nameBuf, 0, nameLen); if (cmp <= 0) {
@Override public boolean next() throws IOException { for (;;) { if (block == null || block.type() != LOG_BLOCK_TYPE) { return false; } else if (!block.next()) { long pos = block.endPosition(); if (pos >= scanEnd) { return false; } block = readBlock(pos, scanEnd); continue; } block.parseKey(); if (match != null && !block.match(match, false)) { block.skipValue(); return false; } refName = block.name(); updateIndex = block.readLogUpdateIndex(); entry = block.readLogEntry(); if (entry == null && !includeDeletes) { continue; } return true; } }
@Override public boolean next() throws IOException { for (;;) { if (block == null || block.type() != REF_BLOCK_TYPE) { return false; } else if (!block.next()) { long pos = block.endPosition(); if (pos >= scanEnd) { return false; } block = readBlock(pos, scanEnd); continue; } block.parseKey(); if (match != null && !block.match(match, prefix)) { block.skipValue(); return false; } updateIndex = minUpdateIndex + block.readUpdateIndexDelta(); ref = block.readRef(); if (!includeDeletes && wasDeleted()) { continue; } return true; } }
b.seekKey(key); while (b.next()) { b.parseKey(); if (b.match(key, false)) { blockPos = b.readBlockPositionList();
block.parseKey(); updateIndex = minUpdateIndex + block.readUpdateIndexDelta(); ref = block.readRef();
do { int savePtr = ptr; parseKey(); cmp = compare(key, 0, key.length, nameBuf, 0, nameLen); if (cmp <= 0) {
@Override public boolean next() throws IOException { for (;;) { if (block == null || block.type() != REF_BLOCK_TYPE) { return false; } else if (!block.next()) { long pos = block.endPosition(); if (pos >= scanEnd) { return false; } block = readBlock(pos, scanEnd); continue; } block.parseKey(); if (match != null && !block.match(match, prefix)) { block.skipValue(); return false; } updateIndex = minUpdateIndex + block.readUpdateIndexDelta(); ref = block.readRef(); if (!includeDeletes && wasDeleted()) { continue; } return true; } }
@Override public boolean next() throws IOException { for (;;) { if (block == null || block.type() != LOG_BLOCK_TYPE) { return false; } else if (!block.next()) { long pos = block.endPosition(); if (pos >= scanEnd) { return false; } block = readBlock(pos, scanEnd); continue; } block.parseKey(); if (match != null && !block.match(match, false)) { block.skipValue(); return false; } refName = block.name(); updateIndex = block.readLogUpdateIndex(); entry = block.readLogEntry(); if (entry == null && !includeDeletes) { continue; } return true; } }
b.seekKey(key); while (b.next()) { b.parseKey(); if (b.match(key, false)) { blockPos = b.readBlockPositionList();
block.parseKey(); updateIndex = minUpdateIndex + block.readUpdateIndexDelta(); ref = block.readRef();