Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cockroachdb/cockroachdb-parser
/ nonEmptyBitLen
Method
nonEmptyBitLen
pkg/util/bitarray/bitarray.go:83–85 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
81
}
82
83
func
(d BitArray) nonEmptyBitLen() uint {
84
return
uint(len(d.words)-1)*numBitsPerWord + uint(d.lastBitsUsed)
85
}
86
87
// String implements the fmt.Stringer interface.
88
func
(d BitArray) String() string {
Callers
2
BitLen
Method · 0.95
Concat
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected