Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for X2 (0.16 sec)

  1. doc/go1.17_spec.html

    Thus the length and capacity of a slice literal are the maximum
    element index plus one. A slice literal has the form
    </p>
    
    <pre>
    []T{x1, x2, … xn}
    </pre>
    
    <p>
    and is shorthand for a slice operation applied to an array:
    </p>
    
    <pre>
    tmp := [n]T{x1, x2, … xn}
    tmp[0 : n]
    </pre>
    
    <p>
    Within a composite literal of array, slice, or map type <code>T</code>,
    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)
  2. doc/go_spec.html

    Thus the length and capacity of a slice literal are the maximum
    element index plus one. A slice literal has the form
    </p>
    
    <pre>
    []T{x1, x2, … xn}
    </pre>
    
    <p>
    and is shorthand for a slice operation applied to an array:
    </p>
    
    <pre>
    tmp := [n]T{x1, x2, … xn}
    tmp[0 : n]
    </pre>
    
    <p>
    Within a composite literal of array, slice, or map type <code>T</code>,
    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