const runtime._PageShift
12 uses
runtime (current package)
heapdump.go#L483: n := (s.npages << _PageShift) / size
malloc.go#L117: pageShift = _PageShift
malloc.go#L126: _PageSize = 1 << _PageShift
mbitmap.go#L747: nw := (s.npages << _PageShift) / sys.PtrSize
mcache.go#L213: npages := size >> _PageShift
mcentral.go#L239: n := (npages << _PageShift) >> s.divShift * uintptr(s.divMul) >> s.divShift2
mheap.go#L473: total = s.npages << _PageShift
mheap.go#L915: memclrNoHeapPointers(unsafe.Pointer(s.base()), s.npages<<_PageShift)
mheap.go#L1414: bytes := s.npages << _PageShift
sizeclasses.go#L81: _PageShift = 13
stack.go#L190: s = mheap_.allocManual(_StackCacheSize>>_PageShift, spanAllocStack)
stack.go#L384: npage := uintptr(n) >> _PageShift
![]() |
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. |