go/types.TypeList.Len (method)

16 uses

	go/types (current package)
		decl.go#L766: 		assert(base.TypeArgs().Len() == 0) // collectMethods should not be called on an instantiated type
		iter.go#L153: 		for i := range l.Len() {
		mono.go#L228: 			for i := 0; i < targs.Len(); i++ {
		named.go#L216: 		assert(n.TypeArgs().Len() == 0) // instances are created by instantiation, in which case n.loader is nil
		named.go#L296: 		if t.TypeArgs().Len() == 0 {
		named.go#L424: 	if origSig.RecvTypeParams().Len() == t.inst.targs.Len() {
		named.go#L657: 	if orig.tparams.Len() != targs.Len() {
		subst.go#L111: 		if t.TypeArgs().Len() != n {
		subst.go#L253: 		if t.TypeArgs().Len() != n {
		typelists.go#L43: func (l *TypeList) Len() int { return len(l.list()) }
		validtype.go#L171: 				if t == tparam && i < inst.TypeArgs().Len() {

	golang.org/x/tools/internal/gcimporter
		iexport.go#L753: 		if targs := t.TypeArgs(); targs.Len() > 0 {
		iexport.go#L962: 	w.uint64(uint64(ts.Len()))
		iexport.go#L963: 	for i := 0; i < ts.Len(); i++ {
		iimport.go#L615: 				if targs.Len() > 0 {
		iimport.go#L616: 					rparams = make([]*types.TypeParam, targs.Len())