Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for tup (0.02 sec)

  1. src/cmd/compile/internal/types2/mono.go

    		case *Slice:
    			do(typ.Elem())
    
    		case *Interface:
    			for i := 0; i < typ.NumMethods(); i++ {
    				do(typ.Method(i).Type())
    			}
    		case *Signature:
    			tuple := func(tup *Tuple) {
    				for i := 0; i < tup.Len(); i++ {
    					do(tup.At(i).Type())
    				}
    			}
    			tuple(typ.Params())
    			tuple(typ.Results())
    		case *Struct:
    			for i := 0; i < typ.NumFields(); i++ {
    				do(typ.Field(i).Type())
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 00:05:29 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/typestring.go

    	}
    	w.byte(']')
    }
    
    func (w *typeWriter) typeName(obj *TypeName) {
    	w.string(packagePrefix(obj.pkg, w.qf))
    	w.string(obj.name)
    }
    
    func (w *typeWriter) tuple(tup *Tuple, variadic bool) {
    	w.byte('(')
    	if tup != nil {
    		for i, v := range tup.vars {
    			if i > 0 {
    				w.byte(',')
    			}
    			// parameter names are ignored for type identity and thus type hashes
    			if w.ctxt == nil && v.name != "" && w.paramNames {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/go/types/typestring.go

    	}
    	w.byte(']')
    }
    
    func (w *typeWriter) typeName(obj *TypeName) {
    	w.string(packagePrefix(obj.pkg, w.qf))
    	w.string(obj.name)
    }
    
    func (w *typeWriter) tuple(tup *Tuple, variadic bool) {
    	w.byte('(')
    	if tup != nil {
    		for i, v := range tup.vars {
    			if i > 0 {
    				w.byte(',')
    			}
    			// parameter names are ignored for type identity and thus type hashes
    			if w.ctxt == nil && v.name != "" && w.paramNames {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. src/go/types/mono.go

    		case *Slice:
    			do(typ.Elem())
    
    		case *Interface:
    			for i := 0; i < typ.NumMethods(); i++ {
    				do(typ.Method(i).Type())
    			}
    		case *Signature:
    			tuple := func(tup *Tuple) {
    				for i := 0; i < tup.Len(); i++ {
    					do(tup.At(i).Type())
    				}
    			}
    			tuple(typ.Params())
    			tuple(typ.Results())
    		case *Struct:
    			for i := 0; i < typ.NumFields(); i++ {
    				do(typ.Field(i).Type())
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top