MCPcopy
hub / github.com/RoaringBitmap/roaring / next

Method next

bitmapcontainer.go:138–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136}
137
138func (bcsi *bitmapContainerShortIterator) next() uint16 {
139 j := bcsi.i
140 bcsi.i = bcsi.ptr.NextSetBit(uint(bcsi.i) + 1)
141 return uint16(j)
142}
143
144func (bcsi *bitmapContainerShortIterator) hasNext() bool {
145 return bcsi.i >= 0

Callers 1

iterateMethod · 0.95

Calls 1

NextSetBitMethod · 0.80

Tested by

no test coverage detected