MCPcopy Index your code
hub / github.com/Workiva/go-datastructures / NewBitArray

Function NewBitArray

bitarray/bitarray.go:390–392  ·  view source on GitHub ↗

NewBitArray returns a new BitArray at the specified size. The optional arg denotes whether this bitarray should be set to the bitwise complement of the empty array, ie. sets all bits.

(size uint64, args ...bool)

Source from the content-addressed store, hash-verified

388// optional arg denotes whether this bitarray should be set to the
389// bitwise complement of the empty array, ie. sets all bits.
390func NewBitArray(size uint64, args ...bool) BitArray {
391 return newBitArray(size, args...)
392}

Callers

nothing calls this directly

Calls 1

newBitArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…