- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for if (0.2 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 Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0) -
doc/go_spec.html
</li> </ol> <h3 id="If_statements">If statements</h3> <p> "If" statements specify the conditional execution of two branches according to the value of a boolean expression. If the expression evaluates to true, the "if" branch is executed, otherwise, if present, the "else" branch is executed. </p> <pre class="ebnf">
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 00:39:16 GMT 2024 - 279.6K bytes - Viewed (0) -
doc/go1.17_spec.html
</li> </ol> <h3 id="If_statements">If statements</h3> <p> "If" statements specify the conditional execution of two branches according to the value of a boolean expression. If the expression evaluates to true, the "if" branch is executed, otherwise, if present, the "else" branch is executed. </p> <pre class="ebnf">
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0)