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

Method inot

arraycontainer.go:828–833  ·  view source on GitHub ↗

flip the values in the range [firstOfRange,endx)

(firstOfRange, endx int)

Source from the content-addressed store, hash-verified

826
827// flip the values in the range [firstOfRange,endx)
828func (ac *arrayContainer) inot(firstOfRange, endx int) container {
829 if firstOfRange >= endx {
830 return ac
831 }
832 return ac.inotClose(firstOfRange, endx-1) // remove everything in [firstOfRange,endx-1]
833}
834
835// flip the values in the range [firstOfRange,lastOfRange]
836func (ac *arrayContainer) inotClose(firstOfRange, lastOfRange int) container {

Callers

nothing calls this directly

Calls 1

inotCloseMethod · 0.95

Tested by

no test coverage detected