Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/runtime/testdata/testprogcgo/coro.go

    		println("expect: OK")
    		CoroCgo(callerStopCallback, iterSimple)
    	})
    	register("CoroCgoStopCallbackIterNested", func() {
    		println("expect: OK")
    		CoroCgo(callerStopCallback, iterNested)
    	})
    }
    
    var toCall func()
    
    //export go_callback_coro
    func go_callback_coro(handle C.uintptr_t) {
    	h := cgo.Handle(handle)
    	h.Value().(func())()
    	h.Delete()
    }
    
    func callFromC(f func()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. 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)
  7. src/runtime/coro.go

    func coroexit(c *coro) {
    	gp := getg()
    	gp.coroarg = c
    	gp.coroexit = true
    	mcall(coroswitch_m)
    }
    
    //go:linkname coroswitch
    
    // coroswitch switches to the goroutine blocked on c
    // and then blocks the current goroutine on c.
    func coroswitch(c *coro) {
    	gp := getg()
    	gp.coroarg = c
    	mcall(coroswitch_m)
    }
    
    // coroswitch_m is the implementation of coroswitch
    // that runs on the m stack.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/testprog/cpu-profile.go

    )
    
    // The actual CPU hogging function.
    // Must not call other functions nor access heap/globals in the loop,
    // otherwise under race detector the samples will be in the race runtime.
    func cpuHog1(x int) int {
    	return cpuHog0(x, 1e5)
    }
    
    func cpuHog0(x, n int) int {
    	foo := x
    	for i := 0; i < n; i++ {
    		if i%1000 == 0 {
    			// Spend time in mcall, stored as gp.m.curg, with g0 running
    			runtime.Gosched()
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/loong64/a.out.go

    	AAMMAXDBWU
    	AAMMAXDBVU
    	AAMMINDBWU
    	AAMMINDBVU
    
    	// 2.2.10. Other Miscellaneous Instructions
    	ARDTIMELW
    	ARDTIMEHW
    	ARDTIMED
    
    	ALAST
    
    	// aliases
    	AJMP = obj.AJMP
    	AJAL = obj.ACALL
    	ARET = obj.ARET
    )
    
    func init() {
    	// The asm encoder generally assumes that the lowest 5 bits of the
    	// REG_XX constants match the machine instruction encoding, i.e.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/riscv/obj.go

    		}
    
    	case obj.ACALL:
    		switch p.To.Type {
    		case obj.TYPE_MEM:
    			// Handled in preprocess.
    		case obj.TYPE_REG:
    			p.As = AJALR
    			p.From.Type = obj.TYPE_REG
    			p.From.Reg = REG_LR
    		default:
    			ctxt.Diag("unknown destination type %+v in CALL: %v", p.To.Type, p)
    		}
    
    	case obj.AUNDEF:
    		p.As = AEBREAK
    
    	case ASCALL:
    		// SCALL is the old name for ECALL.
    		p.As = AECALL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top