- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for setSpans (0.13 sec)
-
src/runtime/mheap.go
if !typ.manual() { throw("manual span allocation called with non-manually-managed type") } return h.allocSpan(npages, typ, 0) } // setSpans modifies the span map so [spanOf(base), spanOf(base+npage*pageSize)) // is s. func (h *mheap) setSpans(base, npage uintptr, s *mspan) { p := base / pageSize ai := arenaIndex(base) ha := h.arenas[ai.l1()][ai.l2()] for n := uintptr(0); n < npage; n++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 78K bytes - Viewed (0)