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

Method NextMany

roaring.go:685–685  ·  view source on GitHub ↗

NextMany fills buf up with values, returns how many values were returned

(buf []uint32)

Source from the content-addressed store, hash-verified

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}

Callers 12

TestNextManyFunction · 0.65
BenchmarkIterator123Function · 0.65
BenchmarkIteratorAllocFunction · 0.65
BenchmarkOrsFunction · 0.65
BenchmarkNextsFunction · 0.65
BenchmarkNextsRLEFunction · 0.65
setupRandomFunction · 0.65
parallelExecutorFunction · 0.65
MinMaxMethod · 0.65

Implementers 1

manyIntIteratorroaring.go

Calls

no outgoing calls

Tested by 9

TestNextManyFunction · 0.52
BenchmarkIterator123Function · 0.52
BenchmarkIteratorAllocFunction · 0.52
BenchmarkOrsFunction · 0.52
BenchmarkNextsFunction · 0.52
BenchmarkNextsRLEFunction · 0.52
setupRandomFunction · 0.52