Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for unspecified (0.18 sec)

  1. doc/go_mem.html

    as word-sized memory locations,
    observing a single allowed write <i>w</i>.
    For performance reasons,
    implementations may instead treat larger operations
    as a set of individual machine-word-sized operations
    in an unspecified order.
    This means that races on multiword data structures
    can lead to inconsistent values not corresponding to a single write.
    When the values depend on the consistency
    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

    and indexing of <code>x</code> and the evaluation
    of <code>y</code> is not specified.
    </p>
    
    <pre>
    a := 1
    f := func() int { a++; return a }
    x := []int{a, f()}            // x may be [1, 2] or [2, 2]: evaluation order between a and f() is not specified
    m := map[int]int{a: 1, a: 2}  // m may be {2: 1} or {2: 2}: evaluation order between the two map assignments is not specified
    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/go_spec.html

    exactly of the methods specified by the interface.
    Interfaces whose type sets can be defined entirely by a list of methods are called
    <i>basic interfaces.</i>
    </p>
    
    <pre>
    // A simple File interface.
    interface {
    	Read([]byte) (int, error)
    	Write([]byte) (int, error)
    	Close() error
    }
    </pre>
    
    <p>
    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