Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,023 for Parallel (0.15 sec)

  1. src/runtime/arena_test.go

    		t.Errorf("expected zero waiting arena chunks, found %d", n)
    	}
    }
    
    func runSubTestUserArenaNew[S comparable](t *testing.T, value *S, parallel bool) {
    	t.Run(reflect.TypeOf(value).Elem().Name(), func(t *testing.T) {
    		if parallel {
    			t.Parallel()
    		}
    
    		// Allocate and write data, enough to exhaust the arena.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_json_interleaved.txt

    # Regression test for https://golang.org/issue/40657: output from the main test
    # function should be attributed correctly even if interleaved with the PAUSE
    # line for a new parallel subtest.
    
    [short] skip
    
    go test -json
    stdout '"Test":"TestWeirdTiming","Output":"[^"]* logging to outer again\\n"'
    
    -- go.mod --
    module example.com
    go 1.15
    -- main_test.go --
    package main
    
    import (
    	"testing"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 18 17:44:20 UTC 2020
    - 581 bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/assembler/AssemblyLanguageParallelIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "can execute assembler tasks in parallel"() {
            given:
            withComponentForApp()
            createTaskThatRunsInParallelUsingCustomToolchainWith("assembleMainExecutableMainAsm")
            buildFile << """
                // prevent assembly and c compile tasks from running in parallel
                // this is because we don't want the c compile tasks to accidentally use
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/NativeCleanBuildPerformanceTest.groovy

        @RunFor([
            @Scenario(type = PER_DAY, operatingSystems = [LINUX], testProjects =  ['manyProjectsNative'])
        ])
        def "clean assemble (native, parallel)"() {
            given:
            runner.tasksToRun = ["assemble"]
            runner.cleanTasks = ["clean"]
            runner.args = ["--parallel", "--max-workers=12"]
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. hack/make-rules/test.sh

    OPTIONS:
      -p <number>   : number of parallel workers, must be >= 1
    EOF
    }
    
    isnum() {
      [[ "$1" =~ ^[0-9]+$ ]]
    }
    
    PARALLEL="${PARALLEL:-1}"
    while getopts "hp:i:" opt ; do
      case ${opt} in
        h)
          kube::test::usage
          exit 0
          ;;
        p)
          PARALLEL="${OPTARG}"
          if ! isnum "${PARALLEL}" || [[ "${PARALLEL}" -le 0 ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top