MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / Clone

Method Clone

pkg/util/bitarray/bitarray.go:101–106  ·  view source on GitHub ↗

Clone makes a copy of the bit array.

()

Source from the content-addressed store, hash-verified

99
100// Clone makes a copy of the bit array.
101func (d BitArray) Clone() BitArray {
102 return BitArray{
103 words: append([]word(nil), d.words...),
104 lastBitsUsed: d.lastBitsUsed,
105 }
106}
107
108// MakeZeroBitArray creates a bit array with the specified bit size.
109func MakeZeroBitArray(bitLen uint) BitArray {

Callers 5

SetBitAtIndexMethod · 0.95
NotFunction · 0.45
AndFunction · 0.45
OrFunction · 0.45
XorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected