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

Method iandNot

bitmapcontainer.go:972–982  ·  view source on GitHub ↗
(a container)

Source from the content-addressed store, hash-verified

970}
971
972func (bc *bitmapContainer) iandNot(a container) container {
973 switch x := a.(type) {
974 case *arrayContainer:
975 return bc.iandNotArray(x)
976 case *bitmapContainer:
977 return bc.iandNotBitmapSurely(x)
978 case *runContainer16:
979 return bc.iandNotRun16(x)
980 }
981 panic("unsupported container type")
982}
983
984func (bc *bitmapContainer) iandNotArray(ac *arrayContainer) container {
985 if ac.isEmpty() || bc.isEmpty() {

Callers

nothing calls this directly

Calls 3

iandNotArrayMethod · 0.95
iandNotBitmapSurelyMethod · 0.95
iandNotRun16Method · 0.95

Tested by

no test coverage detected