MCPcopy Create free account
hub / github.com/RoaringBitmap/roaring / peekNext

Method peekNext

shortiterator.go:29–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29func (si *shortIterator) peekNext() uint16 {
30 return si.slice[si.loc]
31}
32
33func (si *shortIterator) advanceIfNeeded(minval uint16) {
34 if si.hasNext() && si.peekNext() < minval {

Callers 1

advanceIfNeededMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected