- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for spanHasSpecials (0.23 sec)
-
src/runtime/pinner.go
// splice in record, fill in offset. rec.special.offset = uint16(offset) rec.special.kind = _KindSpecialPinCounter rec.special.next = *ref *ref = (*special)(unsafe.Pointer(rec)) spanHasSpecials(span) } else { rec = (*specialPinCounter)(unsafe.Pointer(*ref)) } rec.counter++ } // decPinCounter decreases the counter. If the counter reaches 0, the counter
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 11K bytes - Viewed (0) -
src/runtime/mheap.go
_ sys.NotInHeap next *special // linked list in span offset uint16 // span offset of object kind byte // kind of special } // spanHasSpecials marks a span as having specials in the arena bitmap. func spanHasSpecials(s *mspan) { arenaPage := (s.base() / pageSize) % pagesPerArena ai := arenaIndex(s.base()) ha := mheap_.arenas[ai.l1()][ai.l2()]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 78K bytes - Viewed (0)