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

Function New

vector/bitvec/bits.go:16–18  ·  view source on GitHub ↗
(bits []uint64, length uint32)

Source from the content-addressed store, hash-verified

14var Zero Bits
15
16func New(bits []uint64, length uint32) Bits {
17 return Bits{length: length, bits: bits}
18}
19
20func NewFalse(length uint32) Bits {
21 return Bits{length: length, bits: make([]uint64, (length+63)/64)}

Callers 3

BuildMethod · 0.92
TestBitsGetBitsFunction · 0.70
TestBitsTrueCountFunction · 0.70

Calls

no outgoing calls

Tested by 2

TestBitsGetBitsFunction · 0.56
TestBitsTrueCountFunction · 0.56