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

Function toBitmapContainer

parallel.go:131–141  ·  view source on GitHub ↗
(c container)

Source from the content-addressed store, hash-verified

129}
130
131func toBitmapContainer(c container) container {
132 switch t := c.(type) {
133 case *arrayContainer:
134 return t.toBitmapContainer()
135 case *runContainer16:
136 if !t.isFull() {
137 return t.toBitmapContainer()
138 }
139 }
140 return c
141}
142
143func appenderRoutine(bitmapChan chan<- *Bitmap, resultChan <-chan keyedContainer, expectedKeysChan <-chan int) {
144 expectedKeys := -1

Callers 1

ParHeapOrFunction · 0.85

Calls 2

isFullMethod · 0.65
toBitmapContainerMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…