Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 269 for gocall (0.11 sec)

  1. test/func5.go

    package main
    
    func caller(f func(int, int) int, a, b int, c chan int) {
    	c <- f(a, b)
    }
    
    func gocall(f func(int, int) int, a, b int) int {
    	c := make(chan int)
    	go caller(f, a, b, c)
    	return <-c
    }
    
    func call(f func(int, int) int, a, b int) int {
    	return f(a, b)
    }
    
    func call1(f func(int, int) int, a, b int) int {
    	return call(f, a, b)
    }
    
    var f func(int, int) int
    
    func add(x, y int) int {
    	return x + y
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 03:28:53 UTC 2012
    - 1.5K bytes
    - Viewed (0)
  2. src/runtime/cgocall.go

    	// foreign code.
    	//
    	// The call to asmcgocall is guaranteed not to
    	// grow the stack and does not allocate memory,
    	// so it is safe to call while "in a system call", outside
    	// the $GOMAXPROCS accounting.
    	//
    	// fn may call back into Go code, in which case we'll exit the
    	// "system call", run the Go code (which may grow the stack),
    	// and then re-enter the "system call" reusing the PC and SP
    	// saved by entersyscall here.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go

    			break
    		}
    		// Here arg is *(*unsafe.Pointer)(v)
    		call, ok = call.Args[0].(*ast.CallExpr)
    		if !ok || len(call.Args) != 1 {
    			break
    		}
    		// Here arg is *(*unsafe.Pointer)(f(v))
    		if !isUnsafePointer(info, call.Fun) {
    			break
    		}
    		// Here arg is *(*unsafe.Pointer)(unsafe.Pointer(v))
    		u, ok := call.Args[0].(*ast.UnaryExpr)
    		if !ok || u.Op != token.AND {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. platforms/jvm/jacoco/src/main/java/org/gradle/internal/jacoco/AbstractAntJacocoReport.java

                @SuppressWarnings("UnusedDeclaration")
                public Object doCall(Object ignore) {
                    antBuilder.invokeMethod("executiondata", new Object[]{emptyArgs, new Closure<Object>(this, this) {
                        public Object doCall(Object ignore) {
                            executionData.addToAntBuilder(antBuilder, "resources");
                            return null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 4.1K 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. 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)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCall.kt

    import org.jetbrains.kotlin.psi.KtExpression
    
    /**
     * A call to a function, a simple/compound access to a property, or a simple/compound access through `get` and `set` convention.
     */
    public sealed class KaCall : KaLifetimeOwner
    
    /**
     * A call to a function, or a simple/compound access to a property.
     */
    public sealed class KaCallableMemberCall<S : KaCallableSymbol, C : KaCallableSignature<S>> : KaCall() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/vendor/golang.org/x/sys/unix/asm_zos_s390x.s

    	//  arg 1 ---> R1
    	CMP  R8, $0
    	BEQ  docall
    	SUB  $1, R8
    	MOVD 0(R7), R1
    
    	//  arg 2 ---> R2
    	CMP  R8, $0
    	BEQ  docall
    	SUB  $1, R8
    	ADD  $8, R7
    	MOVD 0(R7), R2
    
    	//  arg 3 --> R3
    	CMP  R8, $0
    	BEQ  docall
    	SUB  $1, R8
    	ADD  $8, R7
    	MOVD 0(R7), R3
    
    	CMP  R8, $0
    	BEQ  docall
    	MOVD $2176+16, R6 // starting LE stack address-8 to store 4th argument
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/local.txt

    Yan Zhulanow <******@****.***> 1687193210 +0900
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Aug 07 16:22:01 UTC 2023
    - 147 bytes
    - Viewed (0)
Back to top