Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brimdata/super
/ NewTrue
Function
NewTrue
vector/bitvec/bits.go:24–30 ·
view source on GitHub ↗
(n uint32)
Source
from the content-addressed store, hash-verified
22
}
23
24
func
NewTrue(n uint32) Bits {
25
b := NewFalse(n)
26
for
i :=
range
b.bits {
27
b.bits[i] = ^uint64(0)
28
}
29
return
b
30
}
31
32
func
(b Bits) Clone() Bits {
33
return
Bits{slices.Clone(b.bits), b.length}
Callers
1
NewTrue
Function · 0.92
Calls
1
NewFalse
Function · 0.70
Tested by
no test coverage detected