func internal/runtime/sys.OnesCount64
14 uses
internal/runtime/sys (current package)
intrinsics.go#L122: func OnesCount64(x uint64) int {
internal/runtime/gc/scan
scan_go.go#L20: for range sys.OnesCount64(uint64(markWord)) {
internal/runtime/maps
group.go#L111: return sys.OnesCount64(uint64(b))
runtime
mbitmap.go#L1508: count += sys.OnesCount64(mrkBits)
mgcmark_greenteagc.go#L975: objsMarked += sys.OnesCount64(uint64(toGrey))
mgcmark_greenteagc.go#L986: n := sys.OnesCount64(uint64(ptrBits))
mgcmark_greenteagc.go#L1021: n := sys.OnesCount64(uint64(bits))
mgcmark_greenteagc.go#L1032: n := sys.OnesCount64(uint64(ptrBits))
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.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. |