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

Method iand

arraycontainer.go:591–604  ·  view source on GitHub ↗
(a container)

Source from the content-addressed store, hash-verified

589}
590
591func (ac *arrayContainer) iand(a container) container {
592 switch x := a.(type) {
593 case *arrayContainer:
594 return ac.iandArray(x)
595 case *bitmapContainer:
596 return ac.iandBitmap(x)
597 case *runContainer16:
598 if x.isFull() {
599 return ac
600 }
601 return x.andArray(ac)
602 }
603 panic("unsupported container type")
604}
605
606func (ac *arrayContainer) iandBitmap(bc *bitmapContainer) container {
607 pos := 0

Callers

nothing calls this directly

Calls 4

iandArrayMethod · 0.95
iandBitmapMethod · 0.95
isFullMethod · 0.65
andArrayMethod · 0.45

Tested by

no test coverage detected