go/types.Tuple.Len (method)

31 uses

	go/types (current package)
		builtins.go#L552: 		if check.sig != nil && check.sig.results.Len() > 0 {
		call.go#L218: 	switch sig.results.Len() {
		call.go#L256: 			xlist = make([]*operand, t.Len())
		call.go#L312: 	npars := sig.params.Len()
		expr.go#L1771: 			assert(t.Len() != 1)
		expr.go#L1775: 				check.errorf(x, _TooManyValues, "%d-valued %s where single value is expected", t.Len(), x)
		infer.go#L55: 	assert(params.Len() == len(args))
		infer.go#L189: 	if params.Len() > 0 {
		infer.go#L402: 		n := t.Len()
		mono.go#L246: 				for i := 0; i < tup.Len(); i++ {
		predicates.go#L237: 			if x.Len() == y.Len() {
		signature.go#L48: 		n := params.Len()
		stmt.go#L52: 	if sig.results.Len() > 0 && !check.isTerminating(body, "") {
		stmt.go#L509: 		if len(s.Results) == 0 && res.Len() > 0 && res.vars[0].name != "" {
		stmt.go#L522: 			if res.Len() > 0 {
		tuple.go#L23: func (t *Tuple) Len() int {
		typestring.go#L453: 	n := sig.results.Len()
		unify.go#L449: 			if x.Len() == y.Len() {

	golang.org/x/exp/apidiff
		apidiff.go#L212: 		for i := 0; i < p.Len(); i++ {
		correspondence.go#L69: 			for i := 0; i < old.Len(); i++ {
		correspondence.go#L70: 				if i >= new.Len() || !d.corr(old.At(i).Type(), new.At(i).Type(), p) {
		correspondence.go#L74: 			return old.Len() == new.Len()

	golang.org/x/tools/internal/gcimporter
		bexport.go#L536: 	n := params.Len()
		bexport.go#L541: 	for i := 0; i < params.Len(); i++ {
		bexport.go#L544: 		if variadic && i == params.Len()-1 {
		iexport.go#L841: 	if sig.Params().Len() > 0 {
		iexport.go#L897: 	n := tup.Len()
		iimport.go#L907: 	variadic := params.Len() > 0 && r.bool()