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

Function newReverseBitmapContainerShortIterator

bitmapcontainer.go:185–190  ·  view source on GitHub ↗
(a *bitmapContainer)

Source from the content-addressed store, hash-verified

183}
184
185func newReverseBitmapContainerShortIterator(a *bitmapContainer) *reverseBitmapContainerShortIterator {
186 if a.cardinality == 0 {
187 return &reverseBitmapContainerShortIterator{a, -1}
188 }
189 return &reverseBitmapContainerShortIterator{a, int(a.maximum())}
190}
191
192func (bc *bitmapContainer) getReverseIterator() shortIterable {
193 return newReverseBitmapContainerShortIterator(bc)

Callers 1

getReverseIteratorMethod · 0.85

Calls 1

maximumMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…