Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 68 for DoCall (0.14 sec)

  1. 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)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/TestableDaemon.groovy

            registryProbe.resetToken()
        }
    
        @Override
        int getPort() {
            Pattern pattern = Pattern.compile("^.*" + DaemonMessages.ADVERTISING_DAEMON + ".*port:(\\d+).*",
                Pattern.MULTILINE + Pattern.DOTALL);
    
            Matcher matcher = pattern.matcher(daemonLog.text);
            assert matcher.matches(): "Unable to find daemon address in the daemon log. Daemon: $context"
    
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. test/index.go

    		[]string{"", "c"},
    
    		// Positive or negative.
    		[]string{"", "n"},
    
    		// Size of index.
    		[]string{"j", "i", "i8", "i16", "i32", "i64", "i64big", "i64bigger", "huge", "fgood", "fbad"},
    	}
    
    	forall(choices, func(x []string) {
    		p, a, e, big, c, n, i := x[0], x[1], x[2], x[3], x[4], x[5], x[6]
    
    		// Pass: dynamic=0, static=1, 2.
    		// Which cases should be caught statically?
    		// Only constants, obviously.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 08 17:28:20 UTC 2019
    - 6.4K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestLauncherTaskExecutionCrossVersionSpec.groovy

            stdout.toString().contains("Task ${path}")
        }
    
        def tasksExecutedInOrder(String... tasks) {
            stdout.toString().matches(Pattern.compile(".*Task ${tasks.join('.* Task ')}.*", Pattern.DOTALL | Pattern.MULTILINE))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/util/Matchers.java

            return new BaseMatcher<T>() {
                @Override
                public boolean matches(Object o) {
                    return Pattern.compile(pattern, Pattern.DOTALL).matcher((CharSequence) o).matches();
                }
    
                @Override
                public void describeTo(Description description) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/RunTasksBeforeRunActionCrossVersion.groovy

                connection -> connection.action(new SimpleAction()).forTasks("bye").setStandardOutput(stdOut).run()
            }
    
            then:
            Pattern regex = Pattern.compile(".*hello.*bye.*starting action.*", Pattern.DOTALL)
            assert stdOut.toString().matches(regex)
            assert result == "Action result"
        }
    
        def "does not run any tasks when none specified and #description"() {
            file('build.gradle') << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestEventAdapter.java

        private static final DefaultThrowableToTestFailureMapper FAILURE_MAPPER = new DefaultThrowableToTestFailureMapper(MAPPERS);
    
        private static final Pattern DESCRIPTOR_PATTERN = Pattern.compile("(.*)\\((.*)\\)(\\[\\d+])?", Pattern.DOTALL);
        private final IdGenerator<?> idGenerator;
        private final TestResultProcessor resultProcessor;
        private final Clock clock;
        private final Object lock = new Object();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/typecheck.go

    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)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r48/PhasedBuildActionCrossVersionSpec.groovy

                    .forTasks("bye")
                    .setStandardOutput(stdOut)
                    .run()
            }
    
            then:
            Pattern regex = Pattern.compile(".*hello.*bye.*buildFinishedAction.*", Pattern.DOTALL)
            assert stdOut.toString().matches(regex)
            buildFinishedHandler.getResult() == "build"
            stdOut.toString().contains("hello")
            stdOut.toString().contains("bye")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typecheck/func.go

    	}
    
    	if name := n.Nname; name.Typecheck() == 0 {
    		base.AssertfAt(name.Type() != nil, n.Pos(), "missing type: %v", name)
    		name.SetTypecheck(1)
    	}
    }
    
    // tcCall typechecks an OCALL node.
    func tcCall(n *ir.CallExpr, top int) ir.Node {
    	Stmts(n.Init()) // imported rewritten f(g()) calls (#30907)
    	n.Fun = typecheck(n.Fun, ctxExpr|ctxType|ctxCallee)
    
    	l := n.Fun
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top