func runtime.divRoundUp
10 uses
runtime (current package)
malloc.go#L1060: sizeclass = size_to_class8[divRoundUp(size, smallSizeDiv)]
malloc.go#L1062: sizeclass = size_to_class128[divRoundUp(size-smallSizeMax, largeSizeDiv)]
mbitmap.go#L776: bytes := divRoundUp(s.nelems, 8)
mbitmap.go#L1868: bitmapBytes := divRoundUp(ptrdata, 8*sys.PtrSize)
mbitmap.go#L1870: pages := divRoundUp(bitmapBytes, pageSize)
mgcmark.go#L63: return int(divRoundUp(bytes, rootBlockBytes))
mgcsweep.go#L445: for i := obj/8 + 1; i < divRoundUp(s.nelems, 8); i++ {
msize.go#L16: return uintptr(class_to_size[size_to_class8[divRoundUp(size, smallSizeDiv)]])
msize.go#L18: return uintptr(class_to_size[size_to_class128[divRoundUp(size-smallSizeMax, largeSizeDiv)]])
stubs.go#L328: func divRoundUp(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. |