(minval uint16)
| 150 | } |
| 151 | |
| 152 | func (bcsi *bitmapContainerShortIterator) advanceIfNeeded(minval uint16) { |
| 153 | if bcsi.hasNext() && bcsi.peekNext() < minval { |
| 154 | bcsi.i = bcsi.ptr.NextSetBit(uint(minval)) |
| 155 | } |
| 156 | } |
| 157 | |
| 158 | func newBitmapContainerShortIterator(a *bitmapContainer) *bitmapContainerShortIterator { |
| 159 | return &bitmapContainerShortIterator{a, a.NextSetBit(0)} |
nothing calls this directly
no test coverage detected