- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for fruits (0.27 sec)
-
doc/go1.17_spec.html
<p> The built-in functions <code>len</code> and <code>cap</code> take arguments of various types and return a result of type <code>int</code>. The implementation guarantees that the result always fits into an <code>int</code>. </p> <pre class="grammar"> Call Argument type Result len(s) string type string length in bytes [n]T, *[n]T array length (== n)
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
</pre> <p> If the capacity of <code>s</code> is not large enough to fit the additional values, <code>append</code> <a href="#Allocation">allocates</a> a new, sufficiently large underlying array that fits both the existing slice elements and the additional values. Otherwise, <code>append</code> re-uses the underlying array. </p> <pre> s0 := []int{0, 0}
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)