Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 377 for Parallel (0.18 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/concurrent/ParallelismConfiguration.java

    /**
     * A {@code ParallelismConfiguration} defines the parallel settings for a Gradle build.
     *
     * @since 4.1
     */
    public interface ParallelismConfiguration {
        /**
         * Returns true if parallel project execution is enabled.
         *
         * @see #getMaxWorkerCount()
         */
        boolean isParallelProjectExecutionEnabled();
    
        /**
         * Enables/disables parallel project execution.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceParallelExecutionIntegrationTest.groovy

                        }
                    }
                }
            """
        }
    
        @ToBeFixedForIsolatedProjects(because = "allprojects")
        def "tasks run in parallel when no max usages specified"() {
            given:
            withParallelThreads(2)
    
            buildFile << """
                def service = gradle.sharedServices.registerIfAbsent("exclusive", BuildService) {}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/templates/java-android-application/gradle.properties

    org.gradle.jvmargs=-Xmx1536m
    # When configured, Gradle will run in incubating parallel mode.
    # This option should only be used with decoupled projects. More details, visit
    # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
    # org.gradle.parallel=true
    # AndroidX package structure to make it clearer which packages are bundled with the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. pkg/probe/util_test.go

    limitations under the License.
    */
    
    package probe
    
    import (
    	"testing"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/util/intstr"
    )
    
    func TestFindPortByName(t *testing.T) {
    	t.Parallel()
    	type args struct {
    		container *v1.Container
    		portName  string
    	}
    	tests := []struct {
    		name    string
    		args    args
    		want    int
    		wantErr bool
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 06:14:41 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h

    //          which represents the first branch of replicate group 0 and
    //          the first branch of parallel group 0.
    // Second instance of "tf.OpC" after flattening will have
    //          `_parallel_execution_ids = "r0:1,p0:0"`
    //          which represents the second branch of replicate group 0 and
    //          the first branch of parallel group 0.
    // First instance of "tf.OpD" after flattening will have
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. src/os/read_test.go

    		t.Fatalf("Stat %q (looking for size %d): %s", path, size, err)
    	}
    	if dir.Size() != size {
    		t.Errorf("Stat %q: size %d want %d", path, dir.Size(), size)
    	}
    }
    
    func TestReadFile(t *testing.T) {
    	t.Parallel()
    
    	filename := "rumpelstilzchen"
    	contents, err := ReadFile(filename)
    	if err == nil {
    		t.Fatalf("ReadFile %s: error expected, none found", filename)
    	}
    
    	filename = "read_test.go"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 02:36:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/BuildController.java

         * Returns {@code false} when the models will not be queried in parallel, for example because the target Gradle version does not support parallel execution,
         * or because some build configuration disables the parallel execution, or because the queries are unsafe to perform in parallel.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 19:46:37 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/initialization/ParallelismBuildOptions.java

            public static final String GRADLE_PROPERTY = "org.gradle.parallel";
    
            public ParallelOption() {
                super(GRADLE_PROPERTY, BooleanCommandLineOptionConfiguration.create("parallel", "Build projects in parallel. Gradle will attempt to determine the optimal number of executor threads to use.", "Disables parallel execution to build projects."));
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 19:00:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/optimizing-performance/isolated_projects.adoc

    You can also use `-Dorg.gradle.internal.invalidate-coupled-projects=false` to force parallel configuration when there are access problems.
    
    Please be aware that these options disable the validation that makes execution parallel- and caching-safe when isolated projects is enabled,
    so you may see some unexpected behaviour when using them.
    
    == Build logic constraints
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 13:53:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ParallelDependencyResolutionIntegrationTest.groovy

    import org.junit.Rule
    
    @Requires(IntegTestPreconditions.NotParallelExecutor)
    // no point, always runs in parallel
    class ParallelDependencyResolutionIntegrationTest extends AbstractHttpDependencyResolutionTest {
        @Rule BlockingHttpServer blockingServer = new BlockingHttpServer()
    
        def setup() {
            executer.withArgument('--parallel')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top