Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 254 for tcCall (0.12 sec)

  1. src/cmd/compile/internal/typecheck/func.go

    func FixMethodCall(call *ir.CallExpr) {
    	if call.Fun.Op() != ir.ODOTMETH {
    		return
    	}
    
    	dot := call.Fun.(*ir.SelectorExpr)
    
    	fn := NewMethodExpr(dot.Pos(), dot.X.Type(), dot.Selection.Sym)
    
    	args := make([]ir.Node, 1+len(call.Args))
    	args[0] = dot.X
    	copy(args[1:], call.Args)
    
    	call.SetOp(ir.OCALLFUNC)
    	call.Fun = fn
    	call.Args = args
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/typecheck.go

    func Exprs(exprs []ir.Node) { typecheckslice(exprs, ctxExpr) }
    func Stmts(stmts []ir.Node) { typecheckslice(stmts, ctxStmt) }
    
    func Call(pos src.XPos, callee ir.Node, args []ir.Node, dots bool) ir.Node {
    	call := ir.NewCallExpr(pos, ir.OCALL, callee, args)
    	call.IsDDD = dots
    	return typecheck(call, ctxStmt|ctxExpr)
    }
    
    func Callee(n ir.Node) ir.Node {
    	return typecheck(n, ctxExpr|ctxCallee)
    }
    
    var traceIndent []byte
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/calls/KtCall.kt

    @Deprecated(
        "The API has been moved into `org.jetbrains.kotlin.analysis.api.resolution` package",
        level = DeprecationLevel.HIDDEN,
    )
    public typealias KaCall = KaCall
    public typealias KtCall = KaCall
    
    @Deprecated(
        "The API has been moved into `org.jetbrains.kotlin.analysis.api.resolution` package",
        level = DeprecationLevel.HIDDEN,
    )
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/call.go

    	} else {
    		if ddd {
    			// standard_func(a, b, c...)
    			//check.errorf(call.Ellipsis, "cannot use ... in call to non-variadic %s", call.Fun)
    			check.errorf(call, NonVariadicDotDotDot, "cannot use ... in call to non-variadic %s", call.Fun)
    			return
    		}
    		// standard_func(a, b, c)
    	}
    
    	// check argument count
    	if nargs != npars {
    		var at poser = call
    		qualifier := "not enough"
    		if nargs > npars {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  5. src/go/types/call.go

    	}
    	// x.typ may be generic
    
    	switch x.mode {
    	case invalid:
    		check.use(call.Args...)
    		x.expr = call
    		return statement
    
    	case typexpr:
    		// conversion
    		check.nonGeneric(nil, x)
    		if x.mode == invalid {
    			return conversion
    		}
    		T := x.typ
    		x.mode = invalid
    		switch n := len(call.Args); n {
    		case 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KaFe10Resolver.kt

            psi: KtElement,
            ktCall: KaCall,
            resolvedCalls: List<ResolvedCall<*>>,
            diagnostics: Diagnostics = context.diagnostics,
        ): KaCallInfo {
            val failedResolveCall = resolvedCalls.firstOrNull { !it.status.isSuccess } ?: return KaSuccessCallInfo(ktCall)
    
            val diagnostic = getDiagnosticToReport(context, psi, ktCall, diagnostics)?.let { KaFe10Diagnostic(it, token) }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  7. hack/make-rules/test.sh

              -o -path './staging/*' \
              -o -path './vendor/*' \
            \) -prune \
          \) -name '*_test.go' -print0 | xargs -0n1 dirname | LC_ALL=C sort -u
    
        find ./staging -name '*_test.go' -not -path '*/test/integration/*' -prune -print0 | xargs -0n1 dirname | LC_ALL=C sort -u
      )
    }
    
    # TODO: This timeout should really be lower, this is a *long* time to test one
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. src/runtime/stubs.go

    func getg() *g
    
    // mcall switches from the g to the g0 stack and invokes fn(g),
    // where g is the goroutine that made the call.
    // mcall saves g's current PC/SP in g->sched so that it can be restored later.
    // It is up to fn to arrange for that later execution, typically by recording
    // g in a data structure, causing something to call ready(g) later.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  9. hack/lib/util.sh

    #
    function kube::util::check-file-in-alphabetical-order {
      local failure_file="$1"
      if ! diff -u "${failure_file}" <(LC_ALL=C sort "${failure_file}"); then
        {
          echo
          echo "${failure_file} is not in alphabetical order. Please sort it:"
          echo
          echo "  LC_ALL=C sort -o ${failure_file} ${failure_file}"
          echo
        } >&2
        false
      fi
    }
    
    # kube::util::require-jq
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:33 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  10. src/runtime/preempt.go

    //go:nosplit
    func asyncPreempt2() {
    	gp := getg()
    	gp.asyncSafePoint = true
    	if gp.preemptStop {
    		mcall(preemptPark)
    	} else {
    		mcall(gopreempt_m)
    	}
    	gp.asyncSafePoint = false
    }
    
    // asyncPreemptStack is the bytes of stack space required to inject an
    // asyncPreempt call.
    var asyncPreemptStack = ^uintptr(0)
    
    func init() {
    	f := findfunc(abi.FuncPCABI0(asyncPreempt))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top