MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / newNulls

Function newNulls

pkg/col/coldata/nulls.go:49–53  ·  view source on GitHub ↗

gcassert:inline

(nulls []byte)

Source from the content-addressed store, hash-verified

47
48//gcassert:inline
49func newNulls(nulls []byte) Nulls {
50 n := Nulls{nulls: nulls}
51 n.UnsetNulls()
52 return n
53}
54
55// nullsStorageCap returns the length of the byte slice that is needed to
56// maintain the Nulls bitmap for n elements.

Callers 2

NewMemBatchWithCapacityFunction · 0.85
NewNullsFunction · 0.85

Calls 1

UnsetNullsMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…