Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 436 for Parallel (0.4 sec)

  1. testing/performance/src/templates/project-with-source/gradle.properties

    <% if (binding.hasVariable("daemonMemory")) { %>org.gradle.jvmargs=-Xms${binding.getVariable("daemonMemory")} -Xmx${binding.getVariable("daemonMemory")}<% } %>
    <% if (binding.hasVariable("parallel")) { %>org.gradle.parallel=true<% } %>
    <% if (binding.hasVariable("maxWorkers")) { %>org.gradle.workers.max=${binding.getVariable("maxWorkers")}<% } %>
    compilerMemory=<% if (binding.hasVariable("compilerMemory")) { %>${binding.getVariable("compilerMemory")}<% } else { %>1g<% } %>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 742 bytes
    - Viewed (0)
  2. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDestroyablesIntegrationTest.groovy

                }
            """
    
            when:
            args "--parallel"
            execute(buildA, "clean", "build")
    
            then:
            result.assertTaskOrder(':buildB:clean', ':buildB:compileJava', ':clean', ':compileJava')
    
            when:
            args "--parallel"
            execute(buildA, "build", "clean")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jul 09 15:31:00 UTC 2017
    - 2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/exec_test.go

    package work
    
    import (
    	"bytes"
    	"cmd/internal/objabi"
    	"cmd/internal/sys"
    	"fmt"
    	"math/rand"
    	"testing"
    	"time"
    	"unicode/utf8"
    )
    
    func TestEncodeArgs(t *testing.T) {
    	t.Parallel()
    	tests := []struct {
    		arg, want string
    	}{
    		{"", ""},
    		{"hello", "hello"},
    		{"hello\n", "hello\\n"},
    		{"hello\\", "hello\\\\"},
    		{"hello\nthere", "hello\\nthere"},
    		{"\\\n", "\\\\\\n"},
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 02 13:15:42 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/initialization/ParallelismConfigurationCommandLineConverterTest.groovy

        final def converter = new ParallelismBuildOptions().commandLineConverter()
    
        def "converts parallel executor"() {
            when:
            def result = convert("--parallel")
    
            then:
            result.parallelProjectExecutionEnabled == true
    
            when:
            result = convert("--no-parallel")
    
            then:
            result.parallelProjectExecutionEnabled == false
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 07 06:09:06 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. 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)
  6. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r83/KotlinBuildScriptModelCrossVersionSpec.groovy

        def "single project with parallel build should not emit configuration resolution deprecation warning"() {
            given:
            propertiesFile << gradleProperties
    
            expect:
            loadValidatedToolingModel(KotlinDslScriptsModel)
        }
    
        @Issue("https://github.com/gradle/gradle/issues/25555")
        def "multi project with parallel build should not emit configuration resolution deprecation warning"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 14:23:15 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/go/testdata/script/test_finished_subtest_goroutines.txt

    # Regression test for https://golang.org/issue/45127:
    # Goroutines for completed parallel subtests should exit immediately,
    # not block until earlier subtests have finished.
    
    [short] skip
    
    ! go test .
    stdout 'panic: slow failure'
    ! stdout '\[chan send'
    
    -- go.mod --
    module golang.org/issue45127
    
    go 1.16
    -- issue45127_test.go --
    package main
    
    import (
    	"fmt"
    	"runtime"
    	"runtime/debug"
    	"sync"
    	"testing"
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 19 17:34:25 UTC 2021
    - 1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top