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

Interface ManyIntIterable

roaring.go:683–688  ·  view source on GitHub ↗

ManyIntIterable allows you to iterate over the values in a Bitmap

Source from the content-addressed store, hash-verified

681
682// ManyIntIterable allows you to iterate over the values in a Bitmap
683type ManyIntIterable interface {
684 // NextMany fills buf up with values, returns how many values were returned
685 NextMany(buf []uint32) int
686 // NextMany64 fills up buf with 64 bit values, uses hs as a mask (OR), returns how many values were returned
687 NextMany64(hs uint64, buf []uint64) int
688}
689
690type manyIntIterator struct {
691 pos int

Callers 10

TestNextManyFunction · 0.65
BenchmarkIterator123Function · 0.65
BenchmarkIteratorAllocFunction · 0.65
BenchmarkOrsFunction · 0.65
BenchmarkNextsFunction · 0.65
BenchmarkNextsRLEFunction · 0.65
ToArrayMethod · 0.65
NextManyMethod · 0.65

Implementers 1

manyIntIteratorroaring.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…