- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newSpecialsIter (0.12 sec)
-
src/runtime/mgcsweep.go
// If such object is not marked, we need to queue all finalizers at once. // Both 1 and 2 are possible at the same time. hadSpecials := s.specials != nil siter := newSpecialsIter(s) for siter.valid() { // A finalizer can be set for an inner byte of an object, find object beginning. objIndex := uintptr(siter.s.offset) / size p := s.base() + objIndex*size
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:52:18 UTC 2024 - 32.9K bytes - Viewed (0) -
src/runtime/mheap.go
special special counter uintptr } // specialsIter helps iterate over specials lists. type specialsIter struct { pprev **special s *special } func newSpecialsIter(span *mspan) specialsIter { return specialsIter{&span.specials, span.specials} } func (i *specialsIter) valid() bool { return i.s != nil } func (i *specialsIter) next() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 78K bytes - Viewed (0)