MCPcopy
hub / github.com/RoaringBitmap/roaring / smatRemoveBit

Function smatRemoveBit

smat.go:362–370  ·  view source on GitHub ↗
(c *smatContext)

Source from the content-addressed store, hash-verified

360}
361
362func smatRemoveBit(c *smatContext) {
363 c.withPair(c.x, func(p *smatPair) {
364 p.Validate()
365 y := uint32(c.y)
366 p.bm.Remove(y)
367 p.bs.Clear(uint(y))
368 p.checkEquals()
369 })
370}
371
372func smatAnd(c *smatContext) {
373 c.withPair(c.x, func(px *smatPair) {

Callers

nothing calls this directly

Calls 5

withPairMethod · 0.80
checkEqualsMethod · 0.80
ValidateMethod · 0.45
RemoveMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…