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

Method iandNotBitmap

arraycontainer.go:806–814  ·  view source on GitHub ↗
(value2 *bitmapContainer)

Source from the content-addressed store, hash-verified

804}
805
806func (ac *arrayContainer) iandNotBitmap(value2 *bitmapContainer) container {
807 pos := 0
808 for _, v := range ac.content {
809 ac.content[pos] = v
810 pos += 1 - int(value2.bitValue(v))
811 }
812 ac.content = ac.content[:pos]
813 return ac
814}
815
816func copyOf(array []uint16, size int) []uint16 {
817 result := make([]uint16, size)

Callers 1

iandNotMethod · 0.95

Calls 1

bitValueMethod · 0.80

Tested by

no test coverage detected