Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for heapBitsInSpan (0.12 sec)

  1. src/runtime/mfinal.go

    			return
    		}
    		throw("runtime.SetFinalizer: pointer not in allocated block")
    	}
    
    	// Move base forward if we've got an allocation header.
    	if !span.spanclass.noscan() && !heapBitsInSpan(span.elemsize) && span.spanclass.sizeclass() != 0 {
    		base += mallocHeaderSize
    	}
    
    	if uintptr(e.data) != base {
    		// As an implementation detail we allow to set finalizers for an inner byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top