Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 218 for coordinator (0.48 sec)

  1. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

            when:
            def failures = []
            coordinator.withStateLock {
                finalizedPlan.collectFailures(failures)
            }
    
            then:
            failures.size() == 1
            def e = failures.first()
            e.message.contains("Execution failed for task :finalizer")
    
            then:
            coordinator.withStateLock {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/execution/taskgraph/DefaultTaskExecutionGraphSpec.groovy

        def listenerBuildOperationDecorator = new TestListenerBuildOperationDecorator()
        def workerLimits = new DefaultWorkerLimits(1)
        def workerLeases = new DefaultWorkerLeaseService(coordinator, workerLimits)
        def executorFactory = Mock(ExecutorFactory)
        def accessHierarchies = new ExecutionNodeAccessHierarchies(CASE_SENSITIVE, Stub(Stat))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/DecompressionCoordinator.java

     * limitations under the License.
     */
    
    package org.gradle.api.internal.file.archive;
    
    import java.io.Closeable;
    import java.io.File;
    
    /**
     * A coordinator that can be used to manage access to decompressed data extracted from archive files like zip and tars.
     *
     * <p>
     * For a given build tree, only a single process is allowed write access to extract archives at a time.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/internal/fuzz/coverage.go

    }
    
    // SnapshotCoverage copies the current counter values into coverageSnapshot,
    // preserving them for later inspection. SnapshotCoverage also rounds each
    // counter down to the nearest power of two. This lets the coordinator store
    // multiple values for each counter by OR'ing them together.
    func SnapshotCoverage() {
    	cov := coverage()
    	for i, b := range cov {
    		b |= b >> 1
    		b |= b >> 2
    		b |= b >> 4
    		b -= b >> 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

      @Test fun onlyOneCoordinatorWaitingToStartFutureTasks() {
        // Enqueueing the red task starts a coordinator thread.
        redQueue.execute("red task", 100.µs) {
          log += "red:run@${taskFaker.nanoTime}"
        }
        assertThat(taskFaker.executeCallCount).isEqualTo(1)
    
        // Enqueueing the blue task doesn't need a 2nd coordinator yet.
        blueQueue.execute("blue task", 200.µs) {
          log += "blue:run@${taskFaker.nanoTime}"
        }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. src/testing/fuzz.go

    		return !t.Failed()
    	}
    
    	switch f.fuzzContext.mode {
    	case fuzzCoordinator:
    		// Fuzzing is enabled, and this is the test process started by 'go test'.
    		// Act as the coordinator process, and coordinate workers to perform the
    		// actual fuzzing.
    		corpusTargetDir := filepath.Join(corpusDir, f.name)
    		cacheTargetDir := filepath.Join(*fuzzCacheDir, f.name)
    		err := f.fuzzContext.deps.CoordinateFuzzing(
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanTest.groovy

            executionPlan?.close()
            new DefaultExecutionPlan(Path.ROOT.toString(), taskNodeFactory, new OrdinalGroupFactory(), dependencyResolver, accessHierarchies.outputHierarchy, accessHierarchies.destroyableHierarchy, coordinator)
        }
    
        def "schedules tasks in dependency order"() {
            given:
            Task a = task("a")
            Task b = task("b", dependsOn: [a])
            Task c = task("c", dependsOn: [b, a])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  8. src/testing/internal/testdeps/deps.go

    	// to all processes in that group. This is not the case on Windows.
    	// If the worker is interrupted, return quickly and without error.
    	// If only the coordinator process is interrupted, it tells each worker
    	// process to stop by closing its "fuzz_in" pipe.
    	ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt)
    	defer cancel()
    	err := fuzz.RunFuzzWorker(ctx, fn)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/AbstractTablePageGenerator.java

                        div().classAttr("col p-0");
                            a().classAttr("btn btn-sm btn-outline-primary").attr("data-toggle", "tooltip").title("Go back to Performance Coordinator Build")
                                .href(getTeamCityWebUrlFromBuildId(System.getenv("BUILD_ID"))).target("_blank").text("<-").end();
                        end();
                        div().classAttr("col-5 p-0");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. src/cmd/dist/test.go

    		"cmd/internal/testdir": true,
    	}
    
    	// Fast path to avoid the ~1 second of `go list std cmd` when
    	// the caller lists specific tests to run. (as the continuous
    	// build coordinator does).
    	if len(t.runNames) > 0 {
    		for _, name := range t.runNames {
    			if !strings.Contains(name, ":") {
    				t.registerStdTest(name)
    			} else if strings.HasSuffix(name, ":racebench") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top