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

Function newArrayContainerCapacity

arraycontainer.go:1226–1230  ·  view source on GitHub ↗
(size int)

Source from the content-addressed store, hash-verified

1224}
1225
1226func newArrayContainerCapacity(size int) *arrayContainer {
1227 p := new(arrayContainer)
1228 p.content = make([]uint16, 0, size)
1229 return p
1230}
1231
1232func newArrayContainerSize(size int) *arrayContainer {
1233 p := new(arrayContainer)

Callers 12

andArrayMethod · 0.85
AndAnyMethod · 0.85
TestRleAndOrXor16Function · 0.85
orArrayMethod · 0.85
lazyorArrayMethod · 0.85
xorArrayMethod · 0.85
andNotArrayMethod · 0.85
andNotBitmapMethod · 0.85
andBitmapMethod · 0.85
andArrayMethod · 0.85
newArrayContainerRangeFunction · 0.85
andArrayMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestRleAndOrXor16Function · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…