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

Method EncodingParts

pkg/util/bitarray/bitarray.go:486–488  ·  view source on GitHub ↗

EncodingParts retrieves the encoding bits from the bit array. The words are presented in big-endian order, with the leftmost bits of the bitarray (MSB) in the MSB of each word.

()

Source from the content-addressed store, hash-verified

484// words are presented in big-endian order, with the leftmost bits of
485// the bitarray (MSB) in the MSB of each word.
486func (d BitArray) EncodingParts() ([]uint64, uint64) {
487 return d.words, uint64(d.lastBitsUsed)
488}
489
490// FromEncodingParts creates a bit array from the encoding parts.
491func FromEncodingParts(words []uint64, lastBitsUsed uint64) (BitArray, error) {

Callers 3

EncodeBitArrayAscendingFunction · 0.80
EncodeBitArrayDescendingFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected