Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
29
func
(si *shortIterator) peekNext() uint16 {
30
return
si.slice[si.loc]
31
}
32
33
func
(si *shortIterator) advanceIfNeeded(minval uint16) {
34
if
si.hasNext() && si.peekNext() < minval {
Callers
1
advanceIfNeeded
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected