internal/abi.ArrayType.Len (field)
23 uses
internal/abi (current package)
type.go#L268: Len uintptr
type.go#L274: return int((*ArrayType)(unsafe.Pointer(t)).Len)
internal/reflectlite
type.go#L338: return int(tt.Len)
value.go#L340: return int(tt.Len)
reflect
abi.go#L225: switch tt.Len {
type.go#L789: return int(tt.Len)
type.go#L2830: array.Len = uintptr(length)
type.go#L2853: emitGCMask(mask, 0, typ, array.Len)
type.go#L3065: for i := 0; i < int(tt.Len); i++ {
value.go#L322: n := int((*arrayType)(unsafe.Pointer(v.typ())).Len)
value.go#L1398: if uint(i) >= uint(tt.Len) {
value.go#L1604: n := int(typ.Len)
value.go#L1768: return int(tt.Len)
value.go#L2540: cap = int(tt.Len)
value.go#L2602: cap = int(tt.Len)
runtime
alg.go#L254: for i := uintptr(0); i < a.Len; i++ {
alg.go#L319: for i := uintptr(0); i < a.Len; i++ {
cgocall.go#L591: if at.Len != 1 {
cgocall.go#L597: for i := uintptr(0); i < at.Len; i++ {
cgocheck.go#L257: for i := uintptr(0); i < at.Len; i++ {
type.go#L388: return typesEqual(at.Elem, av.Elem, seen) && at.Len == av.Len
unique
clone.go#L76: for range atyp.Len {
![]() |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |