func runtime/internal/sys.OnesCount64
8 uses
runtime/internal/sys (current package)
intrinsics.go#L122: func OnesCount64(x uint64) int {
runtime
mbitmap.go#L765: 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#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.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |