Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for global (0.18 sec)

  1. doc/go_mem.html

    For example, on essentially all CPUs, it is valid to rewrite
    </p>
    
    <pre>
    n := 0
    for i := 0; i < m; i++ {
    	n += *shared
    }
    </pre>
    
    into:
    
    <pre>
    n := 0
    local := *shared
    for i := 0; i < m; i++ {
    	n += local
    }
    </pre>
    
    <p>
    provided it can be proved that <code>*shared</code> will not fault on access,
    because the potential added read will not affect any existing concurrent reads or writes.
    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/asm.html

    </p>
    
    <p>
    The <code>GLOBL</code> directive declares a symbol to be global.
    The arguments are optional flags and the size of the data being declared as a global,
    which will have initial value all zeros unless a <code>DATA</code> directive
    has initialized it.
    The <code>GLOBL</code> directive must follow any corresponding <code>DATA</code> directives.
    </p>
    
    <p>
    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)
Back to top