- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Byval (0.03 sec)
-
src/cmd/compile/internal/ssagen/ssa.go
// convert Addrtaken variables to SSA anyway, no point // in promoting them either. if n.Byval() && !n.Addrtaken() && ssa.CanSSA(n.Type()) { n.Class = ir.PAUTO fn.Dcl = append(fn.Dcl, n) s.assign(n, s.load(n.Type(), ptr), false, 0) continue } if !n.Byval() { ptr = s.load(typ, ptr) } s.setHeapaddr(fn.Pos(), n, ptr) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
doc/go_spec.html
</pre> <p> Although the examples above use non-interface types, it is also legal to create a method value from a value of interface type. </p> <pre> var i interface { M(int) } = myVal f := i.M; f(7) // like i.M(7) </pre> <h3 id="Index_expressions">Index expressions</h3> <p> A primary expression of the form </p> <pre> a[x] </pre> <p>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 21:07:21 UTC 2024 - 281.5K bytes - Viewed (1)