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

Method addOffset

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

addOffset returns the (low, high) parts of the shifted container. Whenever one of them would be empty, nil will be returned instead to avoid unnecessary allocations.

(uint16)

Source from the content-addressed store, hash-verified

15 // Whenever one of them would be empty, nil will be returned instead to
16 // avoid unnecessary allocations.
17 addOffset(uint16) (container, container)
18
19 clone() container
20 and(container) container

Callers 4

AddOffset64Function · 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