- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for if (0.15 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)