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

Method ior

arraycontainer.go:373–386  ·  view source on GitHub ↗
(a container)

Source from the content-addressed store, hash-verified

371}
372
373func (ac *arrayContainer) ior(a container) container {
374 switch x := a.(type) {
375 case *arrayContainer:
376 return ac.iorArray(x)
377 case *bitmapContainer:
378 return a.(*bitmapContainer).orArray(ac)
379 case *runContainer16:
380 if x.isFull() {
381 return x.clone()
382 }
383 return ac.iorRun16(x)
384 }
385 panic("unsupported container type")
386}
387
388func (ac *arrayContainer) iorArray(value2 *arrayContainer) container {
389 value1 := ac

Callers

nothing calls this directly

Calls 5

iorArrayMethod · 0.95
iorRun16Method · 0.95
isFullMethod · 0.65
cloneMethod · 0.65
orArrayMethod · 0.45

Tested by

no test coverage detected