type runtime.chunkIdx
12 uses
runtime (current package)
mgcscavenge.go#L636: findCandidate := func(work addrRange) (chunkIdx, bool) {
mgcscavenge.go#L710: func (p *pageAlloc) scavengeRangeLocked(ci chunkIdx, base, npages uint) uintptr {
mpagealloc.go#L97: type chunkIdx uint
mpagealloc.go#L101: func chunkIndex(p uintptr) chunkIdx {
mpagealloc.go#L102: return chunkIdx((p - arenaBaseOffset) / pallocChunkBytes)
mpagealloc.go#L106: func chunkBase(ci chunkIdx) uintptr {
mpagealloc.go#L117: func (i chunkIdx) l1() uint {
mpagealloc.go#L128: func (i chunkIdx) l2() uint {
mpagealloc.go#L248: start, end chunkIdx
mpagealloc.go#L332: func (p *pageAlloc) tryChunkOf(ci chunkIdx) *pallocData {
mpagealloc.go#L343: func (p *pageAlloc) chunkOf(ci chunkIdx) *pallocData {
mpagealloc.go#L770: ci := chunkIdx(i)
![]() |
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. |