Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for dotdotdot (0.3 sec)

  1. src/runtime/mfinal.go

    	}
    	ft := (*functype)(unsafe.Pointer(ftyp))
    	if ft.IsVariadic() {
    		throw("runtime.SetFinalizer: cannot pass " + toRType(etyp).string() + " to finalizer " + toRType(ftyp).string() + " because dotdotdot")
    	}
    	if ft.InCount != 1 {
    		throw("runtime.SetFinalizer: cannot pass " + toRType(etyp).string() + " to finalizer " + toRType(ftyp).string())
    	}
    	fint := ft.InSlice()[0]
    	switch {
    	case fint == etyp:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/go/types/call.go

    	rsig = sig
    
    	// Function call argument/parameter count requirements
    	//
    	//               | standard call    | dotdotdot call |
    	// --------------+------------------+----------------+
    	// standard func | nargs == npars   | invalid        |
    	// --------------+------------------+----------------+
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/call.go

    	rsig = sig
    
    	// Function call argument/parameter count requirements
    	//
    	//               | standard call    | dotdotdot call |
    	// --------------+------------------+----------------+
    	// standard func | nargs == npars   | invalid        |
    	// --------------+------------------+----------------+
    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/syntax/parser.go

    		t.Elem = p.chanElem()
    		return t
    
    	case _Func:
    		// fntype
    		p.next()
    		_, t := p.funcType("function type")
    		return t
    
    	case _Lbrack:
    		// '[' oexpr ']' ntype
    		// '[' _DotDotDot ']' ntype
    		p.next()
    		if p.got(_Rbrack) {
    			return p.sliceType(pos)
    		}
    		return p.arrayType(pos, nil)
    
    	case _Chan:
    		// _Chan non_recvchantype
    		// _Chan _Comm ntype
    		p.next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/ssa.go

    // back to the slice being appended to, and returns nil.
    // inplace MUST be set to false if the slice can be SSA'd.
    // Note: this code only handles fixed-count appends. Dotdotdot appends
    // have already been rewritten at this point (by walk).
    func (s *state) append(n *ir.CallExpr, inplace bool) *ssa.Value {
    	// If inplace is false, process as expression "append(s, e1, e2, e3)":
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top