const internal/goarch.PtrBits
13 uses
internal/goarch (current package)
goarch.go#L38: const PtrBits = PtrSize * 8
internal/runtime/gc
malloc.go#L47: MinSizeForMallocHeader = goarch.PtrSize * goarch.PtrBits
internal/runtime/gc/scan
expand_reference.go#L29: if packed[i/goarch.PtrBits]&(uintptr(1)<<(i%goarch.PtrBits)) == 0 {
expand_reference.go#L36: unpacked[b/goarch.PtrBits] |= uintptr(1) << (b % goarch.PtrBits)
scan_go.go#L24: objIndex := markI*goarch.PtrBits + bitI
scan_go.go#L51: isPtr := bool2int(ptrMask[wordI/goarch.PtrBits]&(1<<(wordI%goarch.PtrBits)) != 0)
scan_reference.go#L26: if objMarks[objI/goarch.PtrBits]&(1<<(objI%goarch.PtrBits)) == 0 {
scan_reference.go#L29: if ptrMask[word/goarch.PtrBits]&(1<<(word%goarch.PtrBits)) == 0 {
![]() |
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. |