Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
126
func
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
134
func
Or(a, b Bits) Bits {
135
if
b.IsZero() {
Callers
1
Not
Function · 0.92
Calls
2
NewFalse
Function · 0.70
Len
Method · 0.65
Tested by
no test coverage detected