Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for example (0.2 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 Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. doc/go1.22.html

      Go 1.22 also includes a preview of an enhanced implementation of the compiler's inlining phase that uses heuristics to boost inlinability at call sites deemed "important" (for example, in loops) and discourage inlining at call sites deemed "unimportant" (for example, on panic paths).
      Building with <code>GOEXPERIMENT=newinliner</code> enables the new call-site
      heuristics; see <a href="https://go.dev/issue/61502">issue #61502</a> for
    HTML
    - Registered: Tue Feb 06 11:13:10 GMT 2024
    - Last Modified: Wed Jan 31 20:51:56 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  3. 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 Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  4. 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 Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  5. 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 Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  6. 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 Apr 22 08:04:10 GMT 2024
    - Last Modified: Tue Aug 13 07:34:14 GMT 2019
    - 10.5K bytes
    - Viewed (0)
Back to top