Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Struct (0.36 sec)

  1. doc/go_mem.html

    (accessed with “<code>go</code> <code>build</code> <code>-race</code>”)
    do exactly this.
    </p>
    
    <p>
    A read of an array, struct, or complex number
    may by implemented as a read of each individual sub-value
    (array element, struct field, or real/imaginary component),
    in any order.
    Similarly, a write of an array, struct, or complex number
    may be implemented as a write of each individual sub-value,
    in any order.
    </p>
    
    <p>
    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>
    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>
    type reader struct {
    	buf [bufSize]byte
    	r   int
    }
    </pre>
    
    <p>
    Assembly can refer to the size of this struct
    as <code>reader__size</code> and the offsets of the two fields
    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