internal/abi.InterfaceType.Methods (field)

43 uses

	internal/abi (current package)
		type.go#L418: 	Methods []Imethod // sorted by hash
		type.go#L438: func (t *InterfaceType) NumMethod() int { return len(t.Methods) }

	internal/reflectlite
		type.go#L430: 	if len(t.Methods) == 0 {
		type.go#L451: 		for j := 0; j < len(v.Methods); j++ {
		type.go#L452: 			tm := &t.Methods[i]
		type.go#L454: 			vm := &v.Methods[j]
		type.go#L470: 				if i++; i >= len(t.Methods) {
		type.go#L485: 		tm := &t.Methods[i]
		type.go#L503: 			if i++; i >= len(t.Methods) {
		type.go#L597: 		if len(t.Methods) == 0 && len(v.Methods) == 0 {

	reflect
		type.go#L833: 	if i < 0 || i >= len(t.Methods) {
		type.go#L836: 	p := &t.Methods[i]
		type.go#L851: func (t *interfaceType) NumMethod() int { return len(t.Methods) }
		type.go#L859: 	for i := range t.Methods {
		type.go#L860: 		p = &t.Methods[i]
		type.go#L1273: 	if len(t.Methods) == 0 {
		type.go#L1292: 		for j := 0; j < len(v.Methods); j++ {
		type.go#L1293: 			tm := &t.Methods[i]
		type.go#L1295: 			vm := &v.Methods[j]
		type.go#L1311: 				if i++; i >= len(t.Methods) {
		type.go#L1326: 		tm := &t.Methods[i]
		type.go#L1344: 			if i++; i >= len(t.Methods) {
		type.go#L1446: 		if len(t.Methods) == 0 && len(v.Methods) == 0 {
		type.go#L2211: 				for im, m := range ift.Methods {
		value.go#L891: 		if uint(i) >= uint(len(tt.Methods)) {
		value.go#L894: 		m := &tt.Methods[i]
		value.go#L2648: 		if uint(i) >= uint(len(tt.Methods)) {
		value.go#L2651: 		m := &tt.Methods[i]

	runtime
		alg.go#L170: 		if len(i.Methods) == 0 {
		iface.go#L35: 	if len(inter.Methods) == 0 {
		iface.go#L44: 		name := toRType(&inter.Type).nameOff(inter.Methods[0].Name)
		iface.go#L67: 	m = (*itab)(persistentalloc(unsafe.Sizeof(itab{})+uintptr(len(inter.Methods)-1)*goarch.PtrSize, 0, &memstats.other_sys))
		iface.go#L201: 	ni := len(inter.Methods)
		iface.go#L209: 		i := &inter.Methods[k]
		mfinal.go#L246: 					if len(ityp.Methods) != 0 {
		mfinal.go#L463: 		if len(ityp.Methods) == 0 {
		type.go#L400: 		if len(it.Methods) != len(iv.Methods) {
		type.go#L403: 		for i := range it.Methods {
		type.go#L404: 			tm := &it.Methods[i]
		type.go#L405: 			vm := &iv.Methods[i]