Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Parallel (0.17 sec)

  1. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/testng/TestNGOptions.java

        }
    
        /**
         * The number of threads to use for this run. Ignored unless the parallel mode is also specified
         */
        @Internal
        public int getThreadCount() {
            return threadCount;
        }
    
        public void setThreadCount(int threadCount) {
            this.threadCount = threadCount;
        }
    
        /**
         * The number of XML suites will run parallel
         * @since 8.9
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. src/os/exec/exec_test.go

    		}
    	}
    }
    
    func TestEcho(t *testing.T) {
    	t.Parallel()
    
    	bs, err := helperCommand(t, "echo", "foo bar", "baz").Output()
    	if err != nil {
    		t.Errorf("echo: %v", err)
    	}
    	if g, e := string(bs), "foo bar baz\n"; g != e {
    		t.Errorf("echo: want %q, got %q", e, g)
    	}
    }
    
    func TestCommandRelativeName(t *testing.T) {
    	t.Parallel()
    
    	cmd := helperCommand(t, "echo", "foo")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/time/tick_test.go

    // license that can be found in the LICENSE file.
    
    package time_test
    
    import (
    	"fmt"
    	"runtime"
    	"sync"
    	"testing"
    	. "time"
    )
    
    func TestTicker(t *testing.T) {
    	t.Parallel()
    
    	// We want to test that a ticker takes as much time as expected.
    	// Since we don't want the test to run for too long, we don't
    	// want to use lengthy times. This makes the test inherently flaky.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. cluster/gce/upgrade.sh

            # Wait for each of the parallel node upgrades to finish.
            for pid in "${pids[@]}"; do
              wait "$pid"
              ret_code_sum=$(( ret_code_sum + $? ))
            done
            # Return even if at least one of the node upgrades failed.
            if [[ ${ret_code_sum} != 0 ]]; then
              echo "== Some of the ${node_upgrade_parallelism} parallel node upgrades failed. =="
              return ${ret_code_sum}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        }
    
        /**
         * @return True if the <code>Mojo</code> is thread-safe and can be run safely in parallel
         * @since 3.0-beta-2
         */
        public boolean isThreadSafe() {
            return threadSafe;
        }
    
        /**
         * @param threadSafe indicates that the mojo is thread-safe and can be run safely in parallel
         * @since 3.0-beta-2
         */
        public void setThreadSafe(boolean threadSafe) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultBuildTreeModelControllerServices.kt

    
    class DefaultBuildTreeModelControllerServices : BuildTreeModelControllerServices {
        companion object {
            private
            val parallelBuilding = InternalFlag("org.gradle.internal.tooling.parallel", true)
    
            private
            val invalidateCoupledProjects = InternalFlag("org.gradle.internal.invalidate-coupled-projects", true)
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <type>boolean</type>
              <description>
                Marks this Mojo as being thread-safe, i.e. the Mojo safely supports concurrent execution during parallel
                builds. Mojos without this annotation will make Maven output a warning when used during a parallel build
                session.
                @since Maven 3.0.
              </description>
              <defaultValue>false</defaultValue>
            </field>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/DependencyGraphBuilder.java

                }
            }
            // Only download in parallel if there is more than 1 component to download
            if (requiringDownload != null && requiringDownload.size() > 1) {
                final ImmutableList<ComponentState> toDownloadInParallel = ImmutableList.copyOf(requiringDownload);
                LOGGER.debug("Submitting {} metadata files to resolve in parallel for {}", toDownloadInParallel.size(), node);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top