Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for example (0.17 sec)

  1. 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)
  2. 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)
  3. doc/asm.html

    <p>
    Constants are of the form <code>const_<i>name</i></code>.
    For example, given the Go declaration <code>const bufSize =
    1024</code>, assembly code can refer to the value of this constant
    as <code>const_bufSize</code>.
    </p>
    
    <p>
    Field offsets are of the form <code><i>type</i>_<i>field</i></code>.
    Struct sizes are of the form <code><i>type</i>__size</code>.
    For example, consider the following Go definition:
    </p>
    
    <pre>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  4. src/test/resources/plugin/repo2/index.html

                              </td>
                <td></td>
              </tr>
                      <tr>
                <td><a href="https://oss.sonatype.org/content/repositories/snapshots/org/codelibs/fess/fess-ds-sample/">fess-ds-sample/</a></td>
                <td>Mon Jun 10 04:43:07 UTC 2019</td>
                <td align="right">
                                  &nbsp;
                              </td>
                <td></td>
              </tr>
    HTML
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Tue Aug 13 07:34:14 GMT 2019
    - 10.5K bytes
    - Viewed (0)
  5. 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)
Back to top