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

Method selectInt

roaringarray.go:72–72  ·  view source on GitHub ↗

i stands for inplace, range is [firstOfRange,lastOfRange)

(x uint16)

Source from the content-addressed store, hash-verified

70 getSizeInBytes() int
71 iremoveRange(start, final int) container // i stands for inplace, range is [firstOfRange,lastOfRange)
72 selectInt(x uint16) int // selectInt returns the xth integer in the container
73 serializedSizeInBytes() int
74 writeTo(io.Writer) (int, error)
75

Callers 4

SelectMethod · 0.65
TestRunOffsetFunction · 0.65
TestBitmapOffsetFunction · 0.65
TestArrayOffsetFunction · 0.65

Implementers 3

bitmapContainerbitmapcontainer.go
runContainer16runcontainer.go
arrayContainerarraycontainer.go

Calls

no outgoing calls

Tested by 3

TestRunOffsetFunction · 0.52
TestBitmapOffsetFunction · 0.52
TestArrayOffsetFunction · 0.52