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

Method toBitmapContainer

arraycontainer.go:262–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

260}
261
262func (ac *arrayContainer) toBitmapContainer() *bitmapContainer {
263 bc := newBitmapContainer()
264 bc.loadData(ac)
265 return bc
266}
267
268func (ac *arrayContainer) iadd(x uint16) (wasNew bool) {
269 // Special case adding to the end of the container.

Callers 8

iaddRangeMethod · 0.95
notCloseMethod · 0.95
iaddReturnMinimizedMethod · 0.95
iorArrayMethod · 0.95
iorBitmapMethod · 0.95
andNotRun16Method · 0.95
inotCloseMethod · 0.95
toEfficientContainerMethod · 0.95

Calls 2

newBitmapContainerFunction · 0.85
loadDataMethod · 0.45

Tested by

no test coverage detected