MCPcopy Index your code
hub / github.com/RoaringBitmap/roaring / Initialize

Method Initialize

roaring.go:763–767  ·  view source on GitHub ↗

Initialize configures the existing iterator so that it can iterate through the values of the provided bitmap. The iteration results are undefined if the bitmap is modified (e.g., with Add or Remove).

(a *Bitmap)

Source from the content-addressed store, hash-verified

761// the provided bitmap.
762// The iteration results are undefined if the bitmap is modified (e.g., with Add or Remove).
763func (ii *manyIntIterator) Initialize(a *Bitmap) {
764 ii.pos = 0
765 ii.highlowcontainer = &a.highlowcontainer
766 ii.init()
767}
768
769type unsetIterator struct {
770 containerIndex int

Callers

nothing calls this directly

Calls 1

initMethod · 0.95

Tested by

no test coverage detected