func runtime.alignDown
9 uses
runtime (current package)
mbarrier.go#L203: pwsize := alignDown(size, sys.PtrSize)
mgcscavenge.go#L517: newBase := alignDown(r.base.addr(), pallocChunkBytes)
mgcscavenge.go#L940: hugePageBelow := uint(alignDown(uintptr(start), pagesPerHugePage))
mpagealloc.go#L172: return int(alignDown(uintptr(lo), e)), int(alignUp(uintptr(hi), e))
mpagealloc.go#L357: base = alignDown(base, pallocChunkBytes)
mpagealloc_64bit.go#L117: baseOffset := alignDown(uintptr(sumIdxBase)*pallocSumBytes, physPageSize)
mpagecache.go#L134: base: chunkBase(ci) + alignDown(uintptr(j), 64)*pageSize,
mpagecache.go#L151: base: alignDown(addr, 64*pageSize),
stubs.go#L323: func alignDown(n, a uintptr) uintptr {
 |
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. |