func internal/runtime/sys.Len64
10 uses
internal/runtime/sys (current package)
intrinsics.go#L99: func Len64(x uint64) (n int) {
intrinsics.go#L153: func LeadingZeros64(x uint64) int { return 64 - Len64(x) }
internal/runtime/maps
group.go#L276: v := (uint64(1) << sys.Len64(n-1))
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
malloc.go#L593: vmaSize = sys.Len64(uint64(getg().m.g0.stack.hi)) + 1
mgcmark_greenteagc.go#L984: gcw.heapScanWork += int64(sys.Len64(uint64(ptrBits)) * goarch.PtrSize)
mgcmark_greenteagc.go#L1030: gcw.heapScanWork += int64(sys.Len64(uint64(ptrBits)) * goarch.PtrSize)
traceallocfree.go#L163: return traceArg(sys.Len64(uint64(size)))
![]() |
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. |