Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 436 for Parallel (0.16 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/InternalActionAwareBuildController.java

     *
     * @since 6.8
     */
    public interface InternalActionAwareBuildController {
        /**
         * Can the given project model be queried in parallel for this build?
         */
        boolean getCanQueryProjectModelInParallel(Class<?> modelType);
    
        /**
         * Runs the given actions in parallel and returns the results. The results should be returned in the same order as the actions that produce them.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/daemon/ScalaCompilerDaemonReuseIntegrationTest.groovy

        }
    
        @Override
        TestJvmComponent getComponent() {
            return new TestScalaComponent()
        }
    
        @Requires(IntegTestPreconditions.NotParallelExecutor)
        @UnsupportedWithConfigurationCache(because = "parallel by default")
        def "reuses compiler daemons within a single project across multiple builds when enabled"() {
            withSingleProjectSources()
            withPersistentScalaCompilerDaemons()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/AbstractWorkerLeaseServiceTest.groovy

            return workerLeaseService(true, maxWorkers)
        }
    
        WorkerLeaseService workerLeaseService(boolean parallel, int maxWorkers = 1) {
            def service = new DefaultWorkerLeaseService(coordinationService, new DefaultWorkerLimits(maxWorkers))
            service.startProjectExecution(parallel)
            return service
        }
    
        TestTrackedResourceLock resourceLock(String displayName, boolean locked, boolean hasLock = false) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/runtime/chanbarrier_test.go

    		}()
    	}
    
    	r := <-ch
    	runtime.Gosched()
    	return r.resp, r.err
    }
    
    func TestChanSendSelectBarrier(t *testing.T) {
    	t.Parallel()
    	testChanSendBarrier(true)
    }
    
    func TestChanSendBarrier(t *testing.T) {
    	t.Parallel()
    	testChanSendBarrier(false)
    }
    
    func testChanSendBarrier(useSelect bool) {
    	var wg sync.WaitGroup
    	outer := 100
    	inner := 100000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ParallelForkingGradleHandle.java

        @Override
        protected ExecutionResult toExecutionFailure(String output, String error) {
            return new ParallelExecutionResult(output, error);
        }
    
        /**
         * Need a different output comparator for parallel execution.
         */
        private static class ParallelExecutionResult extends OutputScrapingExecutionFailure {
            public ParallelExecutionResult(String output, String error) {
                super(output, error, true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/core-plugins/pmd_plugin.adoc

    It means that you have to pay attention to the value entered here and make sure it still makes sense in a multi project build.
    This is because parallel Gradle task execution could result in different PMD tasks from different projects running in parallel.
    If multiple PMD tasks execute simultaneously in n projects, then up to a maximum of (n * `thread`) PMD threads could run at the same time.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/MultiEdgesConnecting.java

    /**
     * A class to represent the set of edges connecting an (implicit) origin node to a target node.
     *
     * <p>The {@link #outEdgeToNode} map allows this class to work on networks with parallel edges. See
     * {@link EdgesConnecting} for a class that is more efficient but forbids parallel edges.
     *
     * @author James Sexton
     * @param <E> Edge parameter type
     */
    @ElementTypesAreNonnullByDefault
    abstract class MultiEdgesConnecting<E> extends AbstractSet<E> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/net/http/main_test.go

    	}
    	return true
    }
    
    // setParallel marks t as a parallel test if we're in short mode
    // (all.bash), but as a serial test otherwise. Using t.Parallel isn't
    // compatible with the afterTest func in non-short mode.
    func setParallel(t *testing.T) {
    	if strings.Contains(t.Name(), "HTTP2") {
    		http.CondSkipHTTP2(t)
    	}
    	if testing.Short() {
    		t.Parallel()
    	}
    }
    
    func runningBenchmarks() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:49:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top