MCPcopy Create free account
hub / github.com/brimdata/super / Not

Function Not

vector/bitvec/bits.go:126–132  ·  view source on GitHub ↗
(a Bits)

Source from the content-addressed store, hash-verified

124}
125
126func Not(a Bits) Bits {
127 not := NewFalse(a.Len())
128 for i := range a.bits {
129 not.bits[i] = ^a.bits[i]
130 }
131 return not
132}
133
134func Or(a, b Bits) Bits {
135 if b.IsZero() {

Callers 1

NotFunction · 0.92

Calls 2

NewFalseFunction · 0.70
LenMethod · 0.65

Tested by

no test coverage detected