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

Function smatIsEmpty

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

Source from the content-addressed store, hash-verified

484}
485
486func smatIsEmpty(c *smatContext) {
487 c.withPair(c.x, func(px *smatPair) {
488 c0 := px.bm.IsEmpty()
489 c1 := px.bs.None()
490 if c0 != c1 {
491 panic("expected same is empty")
492 }
493 })
494}
495
496func smatIntersects(c *smatContext) {
497 c.withPair(c.x, func(px *smatPair) {

Callers

nothing calls this directly

Calls 2

withPairMethod · 0.80
IsEmptyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…