func runtime/internal/sys.OnesCount64
7 uses
runtime/internal/sys (current package)
intrinsics_common.go#L71: func OnesCount64(x uint64) int {
runtime
mbitmap.go#L804: count += sys.OnesCount64(mrkBits)
mpagecache.go#L64: scav := sys.OnesCount64(c.scav & mask)
mpallocbits.go#L117: return uint(sys.OnesCount64((b[i/64] >> (i % 64)) & ((1 << n) - 1)))
mpallocbits.go#L120: s += uint(sys.OnesCount64(b[i/64] >> (i % 64)))
mpallocbits.go#L122: s += uint(sys.OnesCount64(b[k]))
mpallocbits.go#L124: s += uint(sys.OnesCount64(b[j/64] & ((1 << (j%64 + 1)) - 1)))
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)