Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkptrBase (0.11 sec)

  1. src/runtime/checkptr.go

    	// into the same object.
    	base := checkptrBase(p)
    	if base == 0 {
    		return
    	}
    
    	for _, original := range originals {
    		if base == checkptrBase(original) {
    			return
    		}
    	}
    
    	throw("checkptr: pointer arithmetic result points to invalid allocation")
    }
    
    // checkptrBase returns the base address for the allocation containing
    // the address p.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top