func internal/runtime/sys.OnesCount64
8 uses
internal/runtime/sys (current package)
intrinsics.go#L122: func OnesCount64(x uint64) int {
runtime
mbitmap.go#L1418: count += sys.OnesCount64(mrkBits)
mpagecache.go#L63: scav := sys.OnesCount64(c.scav & mask)
mpagecache.go#L171: p.scav.index.alloc(ci, uint(sys.OnesCount64(c.cache)))
mpallocbits.go#L113: return uint(sys.OnesCount64((b[i/64] >> (i % 64)) & ((1 << n) - 1)))
mpallocbits.go#L116: s += uint(sys.OnesCount64(b[i/64] >> (i % 64)))
mpallocbits.go#L118: s += uint(sys.OnesCount64(b[k]))
mpallocbits.go#L120: s += uint(sys.OnesCount64(b[j/64] & ((1 << (j%64 + 1)) - 1)))
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)