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

Method Sizeof

pkg/util/bitarray/bitarray.go:142–144  ·  view source on GitHub ↗

Sizeof returns the size in bytes of the bit array and its components.

()

Source from the content-addressed store, hash-verified

140
141// Sizeof returns the size in bytes of the bit array and its components.
142func (d BitArray) Sizeof() uintptr {
143 return unsafe.Sizeof(d) + uintptr(numBytesPerWord*cap(d.words))
144}
145
146// IsEmpty returns true iff the array is empty.
147func (d BitArray) IsEmpty() bool {

Callers 15

SizeMethod · 0.80
SizeMethod · 0.80
SizeMethod · 0.80
SizeMethod · 0.80
SizeMethod · 0.80
SizeMethod · 0.80
SizeMethod · 0.80
SizeMethod · 0.80
SizeMethod · 0.80
SizeMethod · 0.80
SizeMethod · 0.80
SizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected