Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for allocated (0.2 sec)

  1. doc/go_spec.html

    corresponds to the type argument with which <code>P</code> was
    <a href="#Instantiations">instantiated</a>.
    </p>
    
    <p>
    The capacity of a slice is the number of elements for which there is
    space allocated in the underlying array.
    At any time the following relationship holds:
    </p>
    
    <pre>
    0 &lt;= len(s) &lt;= cap(s)
    </pre>
    
    <p>
    The length of a <code>nil</code> slice, map or channel is 0.
    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