func runtime/internal/sys.OnesCount64
7 uses
runtime/internal/sys (current package)
intrinsics_common.go#L71: func OnesCount64(x uint64) int {
runtime
mbitmap.go#L787: count += sys.OnesCount64(mrkBits)
mpagecache.go#L64: scav := sys.OnesCount64(c.scav & mask)
mpallocbits.go#L105: return uint(sys.OnesCount64((b[i/64] >> (i % 64)) & ((1 << n) - 1)))
mpallocbits.go#L108: s += uint(sys.OnesCount64(b[i/64] >> (i % 64)))
mpallocbits.go#L110: s += uint(sys.OnesCount64(b[k]))
mpallocbits.go#L112: s += uint(sys.OnesCount64(b[j/64] & ((1 << (j%64 + 1)) - 1)))
![]() |
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. |