MCPcopy Create free account
hub / github.com/RoaringBitmap/roaring / not

Method not

runcontainer.go:2079–2085  ·  view source on GitHub ↗

not flip the values in the range [firstOfRange,endx)

(firstOfRange, endx int)

Source from the content-addressed store, hash-verified

2077
2078// not flip the values in the range [firstOfRange,endx)
2079func (rc *runContainer16) not(firstOfRange, endx int) container {
2080 if firstOfRange > endx {
2081 panic(fmt.Sprintf("invalid %v = endx > firstOfRange = %v", endx, firstOfRange))
2082 }
2083
2084 return rc.Not(firstOfRange, endx)
2085}
2086
2087// Not flips the values in the range [firstOfRange,endx).
2088// This is not inplace. Only the returned value has the flipped bits.

Callers

nothing calls this directly

Calls 1

NotMethod · 0.95

Tested by

no test coverage detected