Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 484 for Parallel (0.27 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ParallelForkingGradleExecuter.java

            args.addAll(super.getAllArgs());
            if (getDistribution().getVersion().compareTo(GradleVersion.version("2.3")) <= 0) {
                args.add("--parallel-threads=4");
            } else {
                args.add("--parallel");
                maybeSetMaxWorkers(args);
            }
            return args;
        }
    
        private void maybeSetMaxWorkers(List<String> args) {
            for (String arg : args) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/cmd/objdump/objdump_test.go

    			ok = false
    		}
    	}
    
    	if !ok || testing.Verbose() {
    		t.Logf("full disassembly:\n%s", text)
    	}
    }
    
    func testGoAndCgoDisasm(t *testing.T, printCode bool, printGnuAsm bool) {
    	t.Parallel()
    	testDisasm(t, "fmthello.go", printCode, printGnuAsm)
    	if testenv.HasCGO() {
    		testDisasm(t, "fmthellocgo.go", printCode, printGnuAsm)
    	}
    }
    
    func TestDisasm(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/TaskOutputCachingJavaPerformanceTest.groovy

        )
        def "clean assemble with local cache"() {
            given:
            setupTestProject(runner)
            runner.args += "--parallel"
            pushToRemote = false
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
        }
    
        @RunFor([
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. src/testing/benchmark_test.go

    	// specific algorithm (in this case, sorting) in parallel.
    	testing.Benchmark(func(b *testing.B) {
    		var compares atomic.Int64
    		b.RunParallel(func(pb *testing.PB) {
    			for pb.Next() {
    				s := []int{5, 4, 3, 2, 1}
    				slices.SortFunc(s, func(a, b int) int {
    					// Because RunParallel runs the function many
    					// times in parallel, we must increment the
    					// counter atomically to avoid racing writes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/cmd/covdata/tool_test.go

    		t.Parallel()
    		testMergeCombinePrograms(t, s)
    	})
    	t.Run("Dump", func(t *testing.T) {
    		t.Parallel()
    		testDump(t, s)
    	})
    	t.Run("Percent", func(t *testing.T) {
    		t.Parallel()
    		testPercent(t, s)
    	})
    	t.Run("PkgList", func(t *testing.T) {
    		t.Parallel()
    		testPkgList(t, s)
    	})
    	t.Run("Textfmt", func(t *testing.T) {
    		t.Parallel()
    		testTextfmt(t, s)
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/compile/daemon/ParallelCompilerDaemonIntegrationTest.groovy

    class ParallelCompilerDaemonIntegrationTest extends AbstractIntegrationSpec {
        @Rule TestResources resources = new TestResources(temporaryFolder)
    
        def "daemon compiler can handle --parallel"() {
            generateProjects(10, 10, 10)
    
            args("--parallel")
    
            expect:
            succeeds("classes")
        }
    
        private generateProjects(int numProjects, int numJavaSources, int numGroovySources) {
            def settingsText = ""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/main/java/org/gradle/workers/WorkerExecutor.java

     *
     * <ul>
     *     <li>Parallel execution of work items within a single task</li>
     *     <li>Execution in isolated contexts such as an isolated classloader or even a separate process</li>
     *     <li>Safe execution of multiple tasks in parallel</li>
     * </ul>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultWorkerLeaseService.java

            LOGGER.info("Using {} worker leases.", this.workerLimits.getMaxWorkerCount());
        }
    
        @Override
        public void startProjectExecution(boolean parallel) {
            Registries current = registries.get();
            Registries next = current.startProjectExecution(parallel);
            setProjectExecutionState(current, next);
        }
    
        @Override
        public void finishProjectExecution() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 04:43:28 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. src/internal/coverage/cfile/emitdata_test.go

    	t.Run("emitToDir", func(t *testing.T) {
    		t.Parallel()
    		testEmitToDir(t, atomicHarnessPath, dir)
    	})
    	t.Run("emitToWriter", func(t *testing.T) {
    		t.Parallel()
    		testEmitToWriter(t, atomicHarnessPath, dir)
    	})
    	t.Run("emitToNonexistentDir", func(t *testing.T) {
    		t.Parallel()
    		testEmitToNonexistentDir(t, atomicHarnessPath, dir)
    	})
    	t.Run("emitToNilWriter", func(t *testing.T) {
    		t.Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  10. src/cmd/fix/main_test.go

    		t.Run(tt.Name, func(t *testing.T) {
    			if tt.Version == "" {
    				if testing.Verbose() {
    					// Don't run in parallel: cmd/fix sometimes writes directly to stderr,
    					// and since -v prints which test is currently running we want that
    					// information to accurately correlate with the stderr output.
    				} else {
    					t.Parallel()
    				}
    			} else {
    				old := *goVersion
    				*goVersion = tt.Version
    				defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 05:31:47 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top