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

Function newRunContainer16Range

runcontainer.go:152–156  ·  view source on GitHub ↗

newRunContainerRange makes a new container made of just the specified closed interval [rangestart,rangelast]

(rangestart uint16, rangelast uint16)

Source from the content-addressed store, hash-verified

150
151// newRunContainerRange makes a new container made of just the specified closed interval [rangestart,rangelast]
152func newRunContainer16Range(rangestart uint16, rangelast uint16) *runContainer16 {
153 rc := &runContainer16{}
154 rc.iv = append(rc.iv, newInterval16Range(rangestart, rangelast))
155 return rc
156}
157
158// newRunContainer16FromVals makes a new container from vals.
159//

Callers 14

iaddReturnMinimizedMethod · 0.85
iorMethod · 0.85
orBitmapMethod · 0.85
iorArrayMethod · 0.85
iorBitmapMethod · 0.85
xorBitmapMethod · 0.85
repairAfterLazyMethod · 0.85
TestRunArrayUnionToRunsFunction · 0.85
rangeOfOnesFunction · 0.85
TestArrayContainerEtc070Function · 0.85

Calls 1

newInterval16RangeFunction · 0.85

Tested by 5

TestRunArrayUnionToRunsFunction · 0.68
TestArrayContainerEtc070Function · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…