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

Method andNot

arraycontainer.go:683–693  ·  view source on GitHub ↗
(a container)

Source from the content-addressed store, hash-verified

681}
682
683func (ac *arrayContainer) andNot(a container) container {
684 switch x := a.(type) {
685 case *arrayContainer:
686 return ac.andNotArray(x)
687 case *bitmapContainer:
688 return ac.andNotBitmap(x)
689 case *runContainer16:
690 return ac.andNotRun16(x)
691 }
692 panic("unsupported container type")
693}
694
695func (ac *arrayContainer) andNotRun16(rc *runContainer16) container {
696 acb := ac.toBitmapContainer()

Callers

nothing calls this directly

Calls 3

andNotArrayMethod · 0.95
andNotBitmapMethod · 0.95
andNotRun16Method · 0.95

Tested by

no test coverage detected