- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for __construct (0.18 sec)
-
doc/go1.17_spec.html
it, so these two expressions are equivalent: </p> <pre> make([]int, 50, 100) new([100]int)[0:50] </pre> <p> Like arrays, slices are always one-dimensional but may be composed to construct higher-dimensional objects. With arrays of arrays, the inner arrays are, by construction, always the same length; however with slices of slices (or arrays of slices), the inner lengths may vary dynamically.
HTML - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
doc/go_spec.html
it, so these two expressions are equivalent: </p> <pre> make([]int, 50, 100) new([100]int)[0:50] </pre> <p> Like arrays, slices are always one-dimensional but may be composed to construct higher-dimensional objects. With arrays of arrays, the inner arrays are, by construction, always the same length; however with slices of slices (or arrays of slices), the inner lengths may vary dynamically.
HTML - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 279.3K bytes - Viewed (0)