- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for walkBytesRunesToString (0.22 sec)
-
src/cmd/compile/internal/walk/convert.go
args = []ir.Node{arg} } call := ir.NewCallExpr(base.Pos, ir.OCALL, fn, nil) call.Args = args return safeExpr(walkExpr(typecheck.Expr(call), init), init) } // walkBytesRunesToString walks an OBYTES2STR or ORUNES2STR node. func walkBytesRunesToString(n *ir.ConvExpr, init *ir.Nodes) ir.Node { a := typecheck.NodNil() if n.Esc() == ir.EscNone { // Create temporary buffer for string on stack.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 17:28:22 UTC 2023 - 18.2K bytes - Viewed (0) -
src/cmd/compile/internal/walk/expr.go
return walkMakeSliceCopy(n, init) case ir.ORUNESTR: n := n.(*ir.ConvExpr) return walkRuneToString(n, init) case ir.OBYTES2STR, ir.ORUNES2STR: n := n.(*ir.ConvExpr) return walkBytesRunesToString(n, init) case ir.OBYTES2STRTMP: n := n.(*ir.ConvExpr) return walkBytesToStringTemp(n, init) case ir.OSTR2BYTES: n := n.(*ir.ConvExpr) return walkStringToBytes(n, init)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 27.6K bytes - Viewed (0)