runtime.mspan.divShift (field)
8 uses
runtime (current package)
mbitmap.go#L236: return byteOffset >> s.divShift
mbitmap.go#L238: return uintptr(((uint64(byteOffset) >> s.divShift) * uint64(s.divMul)) >> s.divShift2)
mbitmap.go#L397: objIndex = (base - s.base()) >> s.divShift
mbitmap.go#L405: objIndex = uintptr(p-base) >> s.divShift * uintptr(s.divMul) >> s.divShift2
mcentral.go#L239: n := (npages << _PageShift) >> s.divShift * uintptr(s.divMul) >> s.divShift2
mheap.go#L460: divShift uint8 // for divide by elemsize - divMagic.shift
mheap.go#L1228: s.divShift = 0
mheap.go#L1237: s.divShift = m.shift
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |