MCPcopy Index your code
hub / github.com/RoaringBitmap/roaring / andNot

Method andNot

bitmapcontainer.go:955–965  ·  view source on GitHub ↗
(a container)

Source from the content-addressed store, hash-verified

953}
954
955func (bc *bitmapContainer) andNot(a container) container {
956 switch x := a.(type) {
957 case *arrayContainer:
958 return bc.andNotArray(x)
959 case *bitmapContainer:
960 return bc.andNotBitmap(x)
961 case *runContainer16:
962 return bc.andNotRun16(x)
963 }
964 panic("unsupported container type")
965}
966
967func (bc *bitmapContainer) andNotRun16(rc *runContainer16) container {
968 rcb := rc.toBitmapContainer()

Callers

nothing calls this directly

Calls 3

andNotArrayMethod · 0.95
andNotBitmapMethod · 0.95
andNotRun16Method · 0.95

Tested by

no test coverage detected