func math/bits.Len64
4 uses
math/bits (current package)
bits.go#L31: func LeadingZeros64(x uint64) int { return 64 - Len64(x) }
bits.go#L300: return Len64(uint64(x))
bits.go#L331: func Len64(x uint64) (n int) {
google.golang.org/protobuf/encoding/protowire
wire.go#L369: return int(9*uint32(bits.Len64(v))+64) / 64
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |