- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Products (0.14 sec)
-
doc/go_spec.html
A slice created with <code>make</code> always allocates a new, hidden array to which the returned slice value refers. That is, executing </p> <pre> make([]T, length, capacity) </pre> <p> produces the same slice as allocating an array and <a href="#Slice_expressions">slicing</a> it, so these two expressions are equivalent: </p> <pre> make([]int, 50, 100) new([100]int)[0:50] </pre>
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)