Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cyprus (0.14 sec)

  1. doc/go_mem.html

    </p>
    
    <p>
    Note that the prohibition on introducing data races
    does not apply if the compiler can prove that the races
    do not affect correct execution on the target platform.
    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
    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)
Back to top