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

Function setBitmapRangeAndCardinalityChange

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

Source from the content-addressed store, hash-verified

191}
192
193func setBitmapRangeAndCardinalityChange(bitmap []uint64, start int, end int) int {
194 before := wordCardinalityForBitmapRange(bitmap, start, end)
195 setBitmapRange(bitmap, start, end)
196 after := wordCardinalityForBitmapRange(bitmap, start, end)
197 return int(after - before)
198}
199
200func wordCardinalityForBitmapRange(bitmap []uint64, start int, end int) uint64 {
201 answer := uint64(0)

Callers 1

iaddRangeMethod · 0.85

Calls 2

setBitmapRangeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…