runtime.mspan.allocCache (field)
9 uses
runtime (current package)
malloc.go#L846: theBit := sys.Ctz64(s.allocCache) // Is there a free object in the allocCache?
malloc.go#L854: s.allocCache >>= uint(theBit + 1)
mbitmap.go#L159: s.allocCache = ^aCache
mbitmap.go#L176: aCache := s.allocCache
mbitmap.go#L189: aCache = s.allocCache
mbitmap.go#L200: s.allocCache >>= uint(bitIndex + 1)
mcentral.go#L179: s.allocCache >>= s.freeindex % 64
mheap.go#L418: allocCache uint64
mheap.go#L1245: s.allocCache = ^uint64(0) // all 1s indicating all free.
![]() |
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. |