MCPcopy 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
24func 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
32func (b Bits) Clone() Bits {
33 return Bits{slices.Clone(b.bits), b.length}

Callers 1

NewTrueFunction · 0.92

Calls 1

NewFalseFunction · 0.70

Tested by

no test coverage detected