internal/abi.InterfaceType.Methods (field)
44 uses
internal/abi (current package)
type.go#L445: Methods []Imethod // sorted by hash
type.go#L465: func (t *InterfaceType) NumMethod() int { return len(t.Methods) }
internal/reflectlite
type.go#L419: if len(t.Methods) == 0 {
type.go#L440: for j := 0; j < len(v.Methods); j++ {
type.go#L441: tm := &t.Methods[i]
type.go#L443: vm := &v.Methods[j]
type.go#L459: if i++; i >= len(t.Methods) {
type.go#L474: tm := &t.Methods[i]
type.go#L492: if i++; i >= len(t.Methods) {
type.go#L586: if len(t.Methods) == 0 && len(v.Methods) == 0 {
reflect
type.go#L976: if i < 0 || i >= len(t.Methods) {
type.go#L979: p := &t.Methods[i]
type.go#L994: func (t *interfaceType) NumMethod() int { return len(t.Methods) }
type.go#L1002: for i := range t.Methods {
type.go#L1003: p = &t.Methods[i]
type.go#L1414: if len(t.Methods) == 0 {
type.go#L1433: for j := 0; j < len(v.Methods); j++ {
type.go#L1434: tm := &t.Methods[i]
type.go#L1436: vm := &v.Methods[j]
type.go#L1452: if i++; i >= len(t.Methods) {
type.go#L1467: tm := &t.Methods[i]
type.go#L1485: if i++; i >= len(t.Methods) {
type.go#L1587: if len(t.Methods) == 0 && len(v.Methods) == 0 {
type.go#L2407: for _, m := range ift.Methods {
value.go#L879: if uint(i) >= uint(len(tt.Methods)) {
value.go#L882: m := &tt.Methods[i]
value.go#L2716: if uint(i) >= uint(len(tt.Methods)) {
value.go#L2719: m := &tt.Methods[i]
runtime
alg.go#L248: if len(i.Methods) == 0 {
alg.go#L292: if len(i.Methods) == 0 {
iface.go#L45: if len(inter.Methods) == 0 {
iface.go#L54: name := toRType(&inter.Type).nameOff(inter.Methods[0].Name)
iface.go#L77: m = (*itab)(persistentalloc(unsafe.Sizeof(itab{})+uintptr(len(inter.Methods)-1)*goarch.PtrSize, 0, &memstats.other_sys))
iface.go#L213: ni := len(inter.Methods)
iface.go#L221: i := &inter.Methods[k]
mfinal.go#L246: if len(ityp.Methods) != 0 {
mfinal.go#L491: if len(ityp.Methods) == 0 {
type.go#L418: if len(it.Methods) != len(iv.Methods) {
type.go#L421: for i := range it.Methods {
type.go#L422: tm := &it.Methods[i]
type.go#L423: vm := &iv.Methods[i]
![]() |
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. |