runtime.pageCache.cache (field)
11 uses
runtime (current package)
mpagecache.go#L12: const pageCachePages = 8 * unsafe.Sizeof(pageCache{}.cache)
mpagecache.go#L20: cache uint64 // 64-bit bitmap representing free pages (1 means free)
mpagecache.go#L27: return c.cache == 0
mpagecache.go#L39: if c.cache == 0 {
mpagecache.go#L43: i := uintptr(sys.TrailingZeros64(c.cache))
mpagecache.go#L45: c.cache &^= 1 << i // set bit to mark in-use
mpagecache.go#L59: i := findBitRange64(c.cache, uint(npages))
mpagecache.go#L65: c.cache &^= mask // mark in-use bits
mpagecache.go#L91: if c.cache&(1<mpagecache.go#L135: cache: ^chunk.pages64(j),
mpagecache.go#L152: cache: ^chunk.pages64(chunkPageIndex(addr)),
![]() |
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. |