func runtime/internal/sys.Len64
6 uses
runtime/internal/sys (current package)
intrinsics.go#L99: func Len64(x uint64) (n int) {
intrinsics.go#L153: func LeadingZeros64(x uint64) int { return 64 - Len64(x) }
runtime
histogram.go#L119: if l := sys.Len64(uint64(duration)); l < timeHistMinBucketBits {
iface.go#L522: newN = 1 << sys.Len64(uint64(newN-1)) // round up to a power of 2
iface.go#L628: newN = 1 << sys.Len64(uint64(newN-1)) // round up to a power of 2
traceallocfree.go#L161: return traceArg(sys.Len64(uint64(size)))
![]() |
The pages are generated with Golds v0.7.6. (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. |