internal/abi.ArrayType.Len (field)
24 uses
internal/abi (current package)
type.go#L273: Len uintptr
type.go#L279: return int((*ArrayType)(unsafe.Pointer(t)).Len)
internal/reflectlite
type.go#L338: return int(tt.Len)
value.go#L342: return int(tt.Len)
internal/runtime/maps
map.go#L866: for i := uintptr(0); i < a.Len; i++ {
reflect
abi.go#L225: switch tt.Len {
type.go#L809: return int(tt.Len)
type.go#L2720: array.Len = uintptr(length)
type.go#L2740: emitGCMask(mask, 0, typ, array.Len)
type.go#L2927: for i := 0; i < int(tt.Len); i++ {
value.go#L322: n := int((*arrayType)(unsafe.Pointer(v.typ())).Len)
value.go#L1404: if uint(i) >= uint(tt.Len) {
value.go#L1695: n := int(typ.Len)
value.go#L1862: return int(tt.Len)
value.go#L2339: cap = int(tt.Len)
value.go#L2401: cap = int(tt.Len)
runtime
alg.go#L246: for i := uintptr(0); i < a.Len; i++ {
cgocall.go#L645: if at.Len != 1 {
cgocall.go#L651: for i := uintptr(0); i < at.Len; i++ {
type.go#L221: if a.Len == 1 {
type.go#L228: for i := uintptr(0); i < a.Len; i++ {
type.go#L553: 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.8.4. (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. |