internal/abi.ArrayType.Len (field)
20 uses
internal/abi (current package)
type.go#L241: Len uintptr
type.go#L247: return int((*ArrayType)(unsafe.Pointer(t)).Len)
internal/reflectlite
type.go#L348: return int(tt.Len)
value.go#L335: return int(tt.Len)
reflect
abi.go#L225: switch tt.Len {
type.go#L757: return int(tt.Len)
type.go#L2672: array.Len = uintptr(length)
type.go#L2695: emitGCMask(mask, 0, typ, array.Len)
type.go#L2899: for i := 0; i < int(tt.Len); i++ {
value.go#L334: n := int((*arrayType)(unsafe.Pointer(v.typ())).Len)
value.go#L1404: if uint(i) >= uint(tt.Len) {
value.go#L1716: return int(tt.Len)
value.go#L2484: cap = int(tt.Len)
value.go#L2546: cap = int(tt.Len)
runtime
alg.go#L176: for i := uintptr(0); i < a.Len; i++ {
cgocall.go#L473: if at.Len != 1 {
cgocall.go#L479: for i := uintptr(0); i < at.Len; i++ {
cgocheck.go#L257: for i := uintptr(0); i < at.Len; i++ {
type.go#L370: return typesEqual(at.Elem, av.Elem, seen) && at.Len == av.Len
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |