Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UnsafeSliceElemRType (0.36 sec)

  1. src/cmd/compile/internal/walk/builtin.go

    	if ir.ShouldCheckPtr(ir.CurFunc, 1) {
    		fnname := "unsafeslicecheckptr"
    		fn := typecheck.LookupRuntime(fnname)
    		init.Append(mkcall1(fn, nil, init, reflectdata.UnsafeSliceElemRType(base.Pos, n), unsafePtr, typecheck.Conv(len, lenType)))
    	} else {
    		// Otherwise, open code unsafe.Slice to prevent runtime call overhead.
    		// Keep this code in sync with runtime.unsafeslice{,64}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
Back to top