Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for inherit (0.19 sec)

  1. doc/go_mem.html

    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
    if cond {
    	*p = 2
    }
    </pre>
    
    <p>
    That is, the compiler must not rewrite the program into this one:
    </p>
    
    <pre>
    *p = 2
    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. api/go1.21.txt

    pkg slices, func Index[$0 interface{ ~[]$1 }, $1 comparable]($0, $1) int #57433
    pkg slices, func IndexFunc[$0 interface{ ~[]$1 }, $1 interface{}]($0, func($1) bool) int #57433
    pkg slices, func Insert[$0 interface{ ~[]$1 }, $1 interface{}]($0, int, ...$1) $0 #57433
    pkg slices, func IsSorted[$0 interface{ ~[]$1 }, $1 cmp.Ordered]($0) bool #60091
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
Back to top