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

Method iremoveReturnMinimized

bitmapcontainer.go:385–392  ·  view source on GitHub ↗
(i uint16)

Source from the content-addressed store, hash-verified

383}
384
385func (bc *bitmapContainer) iremoveReturnMinimized(i uint16) container {
386 if bc.iremove(i) {
387 if bc.cardinality == arrayDefaultMaxSize {
388 return bc.toArrayContainer()
389 }
390 }
391 return bc
392}
393
394// iremove returns true if i was found.
395func (bc *bitmapContainer) iremove(i uint16) bool {

Callers

nothing calls this directly

Calls 2

iremoveMethod · 0.95
toArrayContainerMethod · 0.95

Tested by

no test coverage detected