Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/compile/internal/reflectdata/helpers.go

    	if hasRType(n, n.RType, "RType") {
    		return n.RType
    	}
    	return mapRType(pos, n.X.Type())
    }
    
    // UnsafeSliceElemRType asserts that n is an "unsafe.Slice" operation,
    // and returns an expression that yields the *runtime._type value
    // representing the result slice type's element type.
    func UnsafeSliceElemRType(pos src.XPos, n *ir.BinaryExpr) ir.Node {
    	assertOp(n, ir.OUNSAFESLICE)
    	if hasRType(n, n.RType, "RType") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 04:50:32 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top