runtime.chunkIdx.l1 (method)
6 uses
runtime (current package)
mgcscavenge.go#L656: l2 := (*[1 << pallocChunksL2Bits]pallocData)(atomic.Loadp(unsafe.Pointer(&p.chunks[i.l1()])))
mpagealloc.go#L117: func (i chunkIdx) l1() uint {
mpagealloc.go#L333: l2 := p.chunks[ci.l1()]
mpagealloc.go#L344: return &p.chunks[ci.l1()][ci.l2()]
mpagealloc.go#L392: if p.chunks[c.l1()] == nil {
mpagealloc.go#L398: atomic.StorepNoWB(unsafe.Pointer(&p.chunks[c.l1()]), r)
![]() |
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. |