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

Function newRunContainer16FromContainer

runcontainer.go:2726–2736  ·  view source on GitHub ↗
(c container)

Source from the content-addressed store, hash-verified

2724}
2725
2726func newRunContainer16FromContainer(c container) *runContainer16 {
2727 switch x := c.(type) {
2728 case *runContainer16:
2729 return x.Clone()
2730 case *arrayContainer:
2731 return newRunContainer16FromArray(x)
2732 case *bitmapContainer:
2733 return newRunContainer16FromBitmapContainer(x)
2734 }
2735 panic("unsupported container type")
2736}
2737
2738// And finds the intersection of rc and b.
2739func (rc *runContainer16) And(b *Bitmap) *Bitmap {

Callers

nothing calls this directly

Calls 3

CloneMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…