Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for Making_slices_maps_and_channels (0.15 seconds)

  1. doc/go_spec.html

    built-in function <a href="#Length_and_capacity"><code>cap(a)</code></a>.
    </p>
    
    <p>
    A new, initialized slice value for a given element type <code>T</code> may be
    made using the built-in function
    <a href="#Making_slices_maps_and_channels"><code>make</code></a>,
    which takes a slice type
    and parameters specifying the length and optionally the capacity.
    A slice created with <code>make</code> always allocates a new, hidden array
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
Back to Top