Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for specialFindSplicePoint (0.65 sec)

  1. src/runtime/mheap.go

    	span.ensureSwept()
    
    	offset := uintptr(p) - span.base()
    	kind := s.kind
    
    	lock(&span.speciallock)
    
    	// Find splice point, check for existing record.
    	iter, exists := span.specialFindSplicePoint(offset, kind)
    	if !exists {
    		// Splice in record, fill in offset.
    		s.offset = uint16(offset)
    		s.next = *iter
    		*iter = s
    		spanHasSpecials(span)
    	}
    
    	unlock(&span.speciallock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
Back to top