- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for p2 (0.2 sec)
-
doc/go1.17_spec.html
<a href="#Allocation">new</a>. </p> <pre> p1 := &[]int{} // p1 points to an initialized, empty slice with value []int{} and length 0 p2 := new([]int) // p2 points to an uninitialized slice with value nil and length 0 </pre> <p> The length of an array literal is the length specified in the literal type.
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
doc/go_spec.html
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 00:39:16 GMT 2024 - 279.6K bytes - Viewed (0)