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

Method xor

arraycontainer.go:619–629  ·  view source on GitHub ↗
(a container)

Source from the content-addressed store, hash-verified

617}
618
619func (ac *arrayContainer) xor(a container) container {
620 switch x := a.(type) {
621 case *arrayContainer:
622 return ac.xorArray(x)
623 case *bitmapContainer:
624 return a.xor(ac)
625 case *runContainer16:
626 return x.xorArray(ac)
627 }
628 panic("unsupported container type")
629}
630
631func (ac *arrayContainer) ixor(a container) container {
632 switch x := a.(type) {

Callers

nothing calls this directly

Calls 2

xorArrayMethod · 0.95
xorMethod · 0.65

Tested by

no test coverage detected