internal/abi.InterfaceType.Methods (field)

44 uses

	internal/abi (current package)
		type.go#L452: 	Methods []Imethod // sorted by hash
		type.go#L472: 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 {

	internal/runtime/maps
		map.go#L842: 		if len(i.Methods) == 0 {

	reflect
		type.go#L973: 	if i < 0 || i >= len(t.Methods) {
		type.go#L976: 	p := &t.Methods[i]
		type.go#L991: func (t *interfaceType) NumMethod() int { return len(t.Methods) }
		type.go#L999: 	for i := range t.Methods {
		type.go#L1000: 		p = &t.Methods[i]
		type.go#L1436: 	if len(t.Methods) == 0 {
		type.go#L1455: 		for j := 0; j < len(v.Methods); j++ {
		type.go#L1456: 			tm := &t.Methods[i]
		type.go#L1458: 			vm := &v.Methods[j]
		type.go#L1474: 				if i++; i >= len(t.Methods) {
		type.go#L1489: 		tm := &t.Methods[i]
		type.go#L1507: 			if i++; i >= len(t.Methods) {
		type.go#L1609: 		if len(t.Methods) == 0 && len(v.Methods) == 0 {
		type.go#L2255: 				for _, m := range ift.Methods {
		value.go#L876: 		if uint(i) >= uint(len(tt.Methods)) {
		value.go#L879: 		m := &tt.Methods[i]
		value.go#L2488: 		if uint(i) >= uint(len(tt.Methods)) {
		value.go#L2491: 		m := &tt.Methods[i]

	runtime
		alg.go#L227: 		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#L263: 					if len(ityp.Methods) != 0 {
		mfinal.go#L516: 		if len(ityp.Methods) == 0 {
		type.go#L584: 		if len(it.Methods) != len(iv.Methods) {
		type.go#L587: 		for i := range it.Methods {
		type.go#L588: 			tm := &it.Methods[i]
		type.go#L589: 			vm := &iv.Methods[i]