Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,123 for parallels (0.14 sec)

  1. testing/performance/src/performanceTest/groovy/org/gradle/performance/experiment/nativeplatform/NativeParallelPerformanceTest.groovy

    )
    class NativeParallelPerformanceTest extends AbstractCrossBuildPerformanceTest {
    
        def "clean assemble with parallel workers"() {
            given:
            runner.testGroup = 'parallel builds'
            runner.buildSpec {
                displayName("parallel")
                invocation {
                    tasksToRun("clean", "assemble")
                }
            }
            runner.baseline {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_test.cc

                             first_underlying_devices, status.get());
      ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
    
      // Create a second parallel device with the first parallel device and one
      // additional CPU.
      const char* second_device_name =
          "/job:localhost/replica:0/task:0/device:CUSTOM:1";
      std::array<const char*, 2> second_underlying_devices{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 08 23:47:35 UTC 2021
    - 29.3K bytes
    - Viewed (0)
  3. src/cmd/go/go_test.go

    func (tg *testgoData) check(err error) {
    	tg.t.Helper()
    	if err != nil {
    		tg.t.Error(err)
    	}
    }
    
    // parallel runs the test in parallel by calling t.Parallel.
    func (tg *testgoData) parallel() {
    	tg.t.Helper()
    	if tg.ran {
    		tg.t.Fatal("internal testsuite error: call to parallel after run")
    	}
    	for _, e := range tg.env {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  4. src/net/net_test.go

    	case "plan9":
    		t.Skipf("not supported on %s", runtime.GOOS)
    	}
    	t.Parallel()
    
    	for _, network := range []string{"tcp", "unix", "unixpacket"} {
    		network := network
    		t.Run(network, func(t *testing.T) {
    			if !testableNetwork(network) {
    				t.Skipf("network %s is not testable on the current platform", network)
    			}
    			t.Parallel()
    
    			ln := newLocalListener(t, network)
    			switch network {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 21:04:44 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformWithDependenciesParallelIntegrationTest.groovy

            when:
            succeeds(":resolve", "--parallel")
    
            then:
            outputContains("processing producer.jar using []")
            outputContains("processing consumer.jar using [producer.jar]")
    
            when:
            succeeds(":resolve", "--parallel")
    
            then:
            outputDoesNotContain("processing")
    
            when:
            succeeds(":resolve", "--parallel", "-DproducerContent=changed")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/id/LongIdGeneratorTest.groovy

            Set<Long> ids = new CopyOnWriteArraySet<Long>()
    
            5.times {
                parallel.start {
                    100.times {
                        assertTrue(ids.add(generator.generateId()))
                    }
                }
            }
            parallel.waitForAll()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top