- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for pre (0.31 sec)
-
doc/go_mem.html
For example, a compiler must not invert the conditional in this program: </p> <pre> *p = 1 if cond { *p = 2 } </pre> <p> That is, the compiler must not rewrite the program into this one: </p> <pre> *p = 2 if !cond { *p = 1 } </pre> <p> If <code>cond</code> is false and another goroutine is reading <code>*p</code>,
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0) -
doc/go1.17_spec.html
<pre> func(int) int </pre> <p> These two invocations are equivalent: </p> <pre> t.Mv(7) f := t.Mv; f(7) </pre> <p> Similarly, the expression </p> <pre> pt.Mp </pre> <p> yields a function value of type </p> <pre> func(float32) float32 </pre> <p>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
doc/go_spec.html
</p> <pre class="ebnf"> ShortVarDecl = IdentifierList ":=" ExpressionList . </pre> <p> It is shorthand for a regular <a href="#Variable_declarations">variable declaration</a> with initializer expressions but no types: </p> <pre class="grammar"> "var" IdentifierList "=" ExpressionList . </pre> <pre> i, j := 0, 10 f := func() int { return 7 }
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0)