Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 61 for Tuple3 (0.57 sec)

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

    	scope    *Scope         // function scope for package-local and non-instantiated signatures; nil otherwise
    	recv     *Var           // nil if not a method
    	params   *Tuple         // (incoming) parameters from left to right; or nil
    	results  *Tuple         // (outgoing) results from left to right; or nil
    	variadic bool           // true if the last parameter's type is of the form ...T (or string, for append built-in only)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. .idea/dictionaries/abreslav.xml

          <w>nondeterministic</w>
          <w>nullable</w>
          <w>overridable</w>
          <w>pseudocode</w>
          <w>substitutor</w>
          <w>subtyping</w>
          <w>supertype</w>
          <w>supertypes</w>
          <w>tuple</w>
          <w>unary</w>
        </words>
      </dictionary>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jul 09 13:32:24 UTC 2015
    - 500 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/call.go

    		// Note that NewTuple(params...) below is (*Tuple)(nil) if len(params) == 0, as desired.
    		tparams, params2 := check.renameTParams(pos, sig.TypeParams().list(), NewTuple(params...))
    
    		err := check.newError(CannotInferTypeArgs)
    		targs = check.infer(pos, tparams, targs, params2.(*Tuple), args, reverse, err)
    		if targs == nil {
    			if !err.empty() {
    				err.report()
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/sizeof_test.go

    		_64bit uintptr     // size on 64bit platforms
    	}{
    		// Types
    		{Basic{}, 16, 32},
    		{Array{}, 16, 24},
    		{Slice{}, 8, 16},
    		{Struct{}, 24, 48},
    		{Pointer{}, 8, 16},
    		{Tuple{}, 12, 24},
    		{Signature{}, 28, 56},
    		{Union{}, 12, 24},
    		{Interface{}, 40, 80},
    		{Map{}, 16, 32},
    		{Chan{}, 12, 24},
    		{Named{}, 60, 112},
    		{TypeParam{}, 28, 48},
    		{term{}, 12, 24},
    
    		// Objects
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 06 13:09:19 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/typestring.go

    				//           accidentally.
    				w.string(strconv.Quote(tag))
    			}
    		}
    		w.byte('}')
    
    	case *Pointer:
    		w.byte('*')
    		w.typ(t.base)
    
    	case *Tuple:
    		w.tuple(t, false)
    
    	case *Signature:
    		w.string("func")
    		w.signature(t)
    
    	case *Union:
    		// Unions only appear as (syntactic) embedded elements
    		// in interfaces and syntactically cannot be empty.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/mono.go

    		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())
    			}
    		}
    	}
    	do(targ)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 00:05:29 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types/type.go

    	}
    	return len(t.Fields())
    }
    func (t *Type) FieldType(i int) *Type {
    	if t.kind == TTUPLE {
    		switch i {
    		case 0:
    			return t.extra.(*Tuple).first
    		case 1:
    			return t.extra.(*Tuple).second
    		default:
    			panic("bad tuple index")
    		}
    	}
    	if t.kind == TRESULTS {
    		return t.extra.(*Results).Types[i]
    	}
    	return t.Field(i).Type
    }
    func (t *Type) FieldOff(i int) int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  8. api/go1.5.txt

    pkg go/types, method (*Struct) Tag(int) string
    pkg go/types, method (*Struct) Underlying() Type
    pkg go/types, method (*Tuple) At(int) *Var
    pkg go/types, method (*Tuple) Len() int
    pkg go/types, method (*Tuple) String() string
    pkg go/types, method (*Tuple) Underlying() Type
    pkg go/types, method (*TypeName) Exported() bool
    pkg go/types, method (*TypeName) Id() string
    pkg go/types, method (*TypeName) Name() string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/tighten.go

    			}
    			switch v.Op {
    			case OpPhi, OpArg, OpArgIntReg, OpArgFloatReg, OpSelect0, OpSelect1, OpSelectN:
    				// Phis need to stay in their block.
    				// Arg must stay in the entry block.
    				// Tuple selectors must stay with the tuple generator.
    				// SelectN is typically, ultimately, a register.
    				continue
    			}
    			// Count arguments which will need a register.
    			narg := 0
    			for _, a := range v.Args {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Cvt64Fto64U", argLength: 1}, // float64 -> uint64, only used on archs that has the instruction
    
    	// pseudo-ops for breaking Tuple
    	{name: "Select0", argLength: 1, zeroWidth: true},  // the first component of a tuple
    	{name: "Select1", argLength: 1, zeroWidth: true},  // the second component of a tuple
    	{name: "SelectN", argLength: 1, aux: "Int64"},     // arg0=result, auxint=field index.  Returns the auxint'th member.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top