func math/bits.Len64
10 uses
math/bits (current package)
bits.go#L37: func LeadingZeros64(x uint64) int { return 64 - Len64(x) }
bits.go#L306: return Len64(uint64(x))
bits.go#L337: func Len64(x uint64) (n int) {
crypto/internal/fips140/sha3
shake.go#L38: n := (bits.Len64(x) + 7) / 8
crypto/x509
oid.go#L77: return (bits.Len64(n) + 6) / 7
github.com/gotd/td/telegram
cdn_pool_manager.go#L328: shift := bits.Len64(uint64(max - 1))
github.com/refraction-networking/utls/internal/hpke
hpke.go#L325: return bits.Len64(u.hi) + bits.Len64(u.lo)
internal/strconv
ftoafixed.go#L38: b := 64 - bits.Len64(mant)
runtime
stack.go#L189: return bits.Len64(uint64(n))
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |