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

Function newArrayContainerSize

arraycontainer.go:1232–1236  ·  view source on GitHub ↗
(size int)

Source from the content-addressed store, hash-verified

1230}
1231
1232func newArrayContainerSize(size int) *arrayContainer {
1233 p := new(arrayContainer)
1234 p.content = make([]uint16, size, size)
1235 return p
1236}
1237
1238func newArrayContainerRange(firstOfRun, lastOfRun int) *arrayContainer {
1239 valuesInRange := lastOfRun - firstOfRun + 1

Callers 4

xorBitmapMethod · 0.85
andBitmapMethod · 0.85
ixorBitmapMethod · 0.85
andNotBitmapMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…