... 数组名 array name; arrayname 数组片 array slice; slice of array 数组项 array item; array members ...
基于1个网页-相关网页
The segment of the array that the slice references can be changed by assigning a new slice to the same variable.
该切片所引用的数组分段可以通过将新的切片赋值给同一变量来更改。
A slice represents a contiguous segment of an array, allowing a programmer to refer to specific sections of the underlying storage.
一个切片(slice)表示一个数组内的连续分段,支持程序员指定底层存储的明确部分。
The capacity of a slice s is the size of the array from s [0] to the end of the array, and is returned by the cap built-in function.
切片s的容量是数组从s[0]到数组尾端的大小,并由内建的cap函数返回。
应用推荐