- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for maxSearchAddr (0.18 sec)
-
src/runtime/mpagecache.go
// the first free page the slow way. addr, _ := p.find(1) if addr == 0 { // We failed to find adequate free space, so mark the searchAddr as OoM // and return an empty pageCache. p.searchAddr = maxSearchAddr() return pageCache{} } ci = chunkIndex(addr) chunk = p.chunkOf(ci) c = pageCache{ base: alignDown(addr, 64*pageSize), cache: ^chunk.pages64(chunkPageIndex(addr)),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 19 14:30:00 UTC 2023 - 5.6K bytes - Viewed (0) -
src/runtime/mpagealloc.go
// there should this change. pallocChunksL2Bits = heapAddrBits - logPallocChunkBytes - pallocChunksL1Bits pallocChunksL1Shift = pallocChunksL2Bits ) // maxSearchAddr returns the maximum searchAddr value, which indicates // that the heap has no free space. // // This function exists just to make it clear that this is the maximum address
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 39.2K bytes - Viewed (0)