Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 313 for Parallel (0.2 sec)

  1. src/cmd/cgo/internal/testerrors/errors_test.go

    func path(file string) string {
    	return filepath.Join("testdata", file)
    }
    
    func check(t *testing.T, file string) {
    	t.Run(file, func(t *testing.T) {
    		testenv.MustHaveGoBuild(t)
    		testenv.MustHaveCGO(t)
    		t.Parallel()
    
    		contents, err := os.ReadFile(path(file))
    		if err != nil {
    			t.Fatal(err)
    		}
    		var errors []*regexp.Regexp
    		for i, line := range bytes.Split(contents, []byte("\n")) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleContextualExecuter.java

            forking(true),
            noDaemon(true),
            parallel(true, true),
            configCache(true),
            isolatedProjects(true);
    
            final public boolean forks;
            final public boolean executeParallel;
    
            Executer(boolean forks) {
                this(forks, false);
            }
    
            Executer(boolean forks, boolean parallel) {
                this.forks = forks;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:06:31 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. src/hash/maphash/smhasher_test.go

    // currently disabled in -race mode.
    
    var fixedSeed = MakeSeed()
    
    // Sanity checks.
    // hash should not depend on values outside key.
    // hash should not depend on alignment.
    func TestSmhasherSanity(t *testing.T) {
    	t.Parallel()
    	r := rand.New(rand.NewSource(1234))
    	const REP = 10
    	const KEYMAX = 128
    	const PAD = 16
    	const OFFMAX = 16
    	for k := 0; k < REP; k++ {
    		for n := 0; n < KEYMAX; n++ {
    			for i := 0; i < OFFMAX; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/os/exec_unix_test.go

    //go:build unix
    
    package os_test
    
    import (
    	"errors"
    	"internal/testenv"
    	"math"
    	. "os"
    	"runtime"
    	"syscall"
    	"testing"
    )
    
    func TestErrProcessDone(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	p, err := StartProcess(testenv.GoToolPath(t), []string{"go"}, &ProcAttr{})
    	if err != nil {
    		t.Fatalf("starting test process: %v", err)
    	}
    	p.Wait()
    	if got := p.Signal(Kill); got != ErrProcessDone {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/ScalaConcurrencyIntegrationTest.groovy

    class ScalaConcurrencyIntegrationTest extends AbstractIntegrationSpec {
        @Rule BlockingHttpServer httpServer = new BlockingHttpServer()
    
        @Issue("https://github.com/gradle/gradle/issues/14434")
        def "can run tests in parallel with project dependencies"() {
            given:
            httpServer.expectConcurrent(':a:test', ':b:test', ':c:test', ':d:test')
            httpServer.start()
    
            settingsFile << """
                include 'a', 'b', 'c', 'd'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 16:10:12 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. internal/grid/benchmark_test.go

    	}
    	const payloadSize = 512
    	rng := rand.New(rand.NewSource(time.Now().UnixNano()))
    	payload := make([]byte, payloadSize)
    	_, err = rng.Read(payload)
    	errFatal(err)
    
    	// Wait for all to connect
    	// Parallel writes per server.
    	b.Run("bytes", func(b *testing.B) {
    		for par := 1; par <= 32; par *= 2 {
    			b.Run("par="+strconv.Itoa(par*runtime.GOMAXPROCS(0)), func(b *testing.B) {
    				defer timeout(60 * time.Second)()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelConfigurationIntegrationTest.groovy

        @Rule
        BlockingHttpServer server = new BlockingHttpServer()
    
        def setup() {
            server.start()
        }
    
        def "projects are configured and models created in parallel when project scoped model is queried concurrently"() {
            withSomeToolingModelBuilderPluginInBuildSrc("""
                ${server.callFromBuildUsingExpression("'model-' + project.name")}
            """)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/TestProjectGeneratorConfiguration.groovy

        CompositeConfiguration compositeBuild
    
        String daemonMemory
        String compilerMemory
        String testRunnerMemory
        Map<String, String> systemProperties
        String[] featurePreviews
        boolean parallel
        int maxWorkers
        int maxParallelForks
        int testForkEvery
        boolean useTestNG
        Map<String, String> fileToChangeByScenario
    }
    
    @Builder(prefix = "with",
        builderStrategy = ExternalStrategy,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsJavaPluginIntegrationTest.groovy

    import org.gradle.test.fixtures.file.TestFile
    
    class IsolatedProjectsJavaPluginIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
    
        def "java projects can be configured in a parallel"() {
            given:
            withSomeToolingModelBuilderPluginInBuildSrc()
            settingsFile << """
                include("a")
                include("b")
            """
            javaProject(file("a"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TaskProgressCrossVersionSpec.groovy

            when:
            def events = ProgressEvents.create()
            withConnection {
                ProjectConnection connection ->
                    connection.newBuild().withArguments("-Dorg.gradle.parallel.intra=true", '--parallel', '--max-workers=2').forTasks('parallelTasks').addProgressListener(events).run()
            }
    
            then:
            events.tasks.size() == 3
    
            def runTasks = events.operation("Run tasks")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top