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

Function flipBitmapRangeAndCardinalityChange

util.go:179–184  ·  view source on GitHub ↗
(bitmap []uint64, start int, end int)

Source from the content-addressed store, hash-verified

177}
178
179func flipBitmapRangeAndCardinalityChange(bitmap []uint64, start int, end int) int {
180 before := wordCardinalityForBitmapRange(bitmap, start, end)
181 flipBitmapRange(bitmap, start, end)
182 after := wordCardinalityForBitmapRange(bitmap, start, end)
183 return int(after - before)
184}
185
186func resetBitmapRangeAndCardinalityChange(bitmap []uint64, start int, end int) int {
187 before := wordCardinalityForBitmapRange(bitmap, start, end)

Callers 1

inotMethod · 0.85

Calls 2

flipBitmapRangeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…