- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for example (0.23 sec)
-
doc/go_mem.html
and it must not allow a single write to write multiple values. </p> <p> All the following examples assume that `*p` and `*q` refer to memory locations accessible to multiple goroutines. </p> <p> Not introducing data races into race-free programs means not moving writes out of conditional statements in which they appear. For example, a compiler must not invert the conditional in this program: </p> <pre> *p = 1
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
For instance, this example: </p> <pre> goto L // BAD v := 3 L: </pre> <p> is erroneous because the jump to label <code>L</code> skips the creation of <code>v</code>. </p> <p> A "goto" statement outside a <a href="#Blocks">block</a> cannot jump to a label inside that block. For instance, this example: </p> <pre> if n%2 == 1 {
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
For instance, this example: </p> <pre> goto L // BAD v := 3 L: </pre> <p> is erroneous because the jump to label <code>L</code> skips the creation of <code>v</code>. </p> <p> A "goto" statement outside a <a href="#Blocks">block</a> cannot jump to a label inside that block. For instance, this example: </p> <pre> if n%2 == 1 {
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)