MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Clone

Method Clone

postgres/parser/utils/bitarray.go:115–120  ·  view source on GitHub ↗

Clone makes a copy of the bit array.

()

Source from the content-addressed store, hash-verified

113
114// Clone makes a copy of the bit array.
115func (d BitArray) Clone() BitArray {
116 return BitArray{
117 words: append([]word(nil), d.words...),
118 lastBitsUsed: d.lastBitsUsed,
119 }
120}
121
122// MakeZeroBitArray creates a bit array with the specified bit size.
123func MakeZeroBitArray(bitLen uint) BitArray {

Callers 6

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

Calls

no outgoing calls

Tested by

no test coverage detected