Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 436 for Parallel (0.33 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsJavaPluginIntegrationTest.groovy

    import org.gradle.test.fixtures.file.TestFile
    
    class IsolatedProjectsJavaPluginIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
    
        def "java projects can be configured in a parallel"() {
            given:
            withSomeToolingModelBuilderPluginInBuildSrc()
            settingsFile << """
                include("a")
                include("b")
            """
            javaProject(file("a"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/doc.go

    // A hard-to-spot variant of this form is common in parallel tests:
    //
    //	func Test(t *testing.T) {
    //	    for _, test := range tests {
    //	        t.Run(test.name, func(t *testing.T) {
    //	            t.Parallel()
    //	            use(test) // incorrect, and a data race
    //	        })
    //	    }
    //	}
    //
    // The t.Parallel() call causes the rest of the function to execute
    // concurrent with the loop [<go1.22].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftParallelExecutionIntegrationTest.groovy

             """
        }
    
        def "link task is executed in parallel"() {
            createTaskThatRunsInParallelUsingCustomToolchainWith("linkDebug")
    
            when:
            succeeds "assemble", "parallelTask"
    
            then:
            assertTaskIsParallel("linkDebug")
        }
    
        def "compile task is executed in parallel"() {
            createTaskThatRunsInParallelUsingCustomToolchainWith("compileDebugSwift")
    
    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. src/os/stat_test.go

    	}
    
    	if !os.SameFile(fi, fi2) {
    		t.Errorf("os.Open(%q).Stat() and os.Stat(%q) are not the same file", link, link)
    	}
    }
    
    func TestDirAndSymlinkStats(t *testing.T) {
    	testenv.MustHaveSymlink(t)
    	t.Parallel()
    
    	tmpdir := t.TempDir()
    	dir := filepath.Join(tmpdir, "dir")
    	if err := os.Mkdir(dir, 0777); err != nil {
    		t.Fatal(err)
    	}
    	testDirStats(t, dir)
    
    	dirlink := filepath.Join(tmpdir, "link")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:38:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/EdgesConnecting.java

    /**
     * A class to represent the set of edges connecting an (implicit) origin node to a target node.
     *
     * <p>The {@link #nodeToOutEdge} map means this class only works on networks without parallel edges.
     * See {@link MultiEdgesConnecting} for a class that works with parallel edges.
     *
     * @author James Sexton
     * @param <E> Edge parameter type
     */
    @ElementTypesAreNonnullByDefault
    final class EdgesConnecting<E> extends AbstractSet<E> {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/ConsoleTestNGUnsupportedTestWorkerFunctionalTest.groovy

        @Rule
        BlockingHttpServer server = new BlockingHttpServer()
    
        def setup() {
            executer.withConsole(ConsoleOutput.Rich)
            executer.withArguments('--parallel', "--max-workers=$MAX_WORKERS")
            server.start()
        }
    
        def "omits parallel test execution if TestNG version does not emit class listener events"() {
            given:
            buildFile << """
                plugins {
                    id 'java-library'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/services/BuildServiceRegistration.java

         */
        P getParameters();
    
        /**
         * Specifies the maximum number of tasks that can use this service in parallel. Setting this to 1 means that the service will be used by a single task at a time.
         * When this property has no value defined, then any number of tasks may use this service in parallel. This is the default.
         *
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 23 18:14:53 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  8. src/os/exec/exec_posix_test.go

    		os.Exit(1)
    	}
    	fmt.Println(pwd)
    }
    
    func TestCredentialNoSetGroups(t *testing.T) {
    	if runtime.GOOS == "android" {
    		maySkipHelperCommand("echo")
    		t.Skip("unsupported on Android")
    	}
    	t.Parallel()
    
    	u, err := user.Current()
    	if err != nil {
    		t.Fatalf("error getting current user: %v", err)
    	}
    
    	uid, err := strconv.Atoi(u.Uid)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 20:21:32 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGParallelSuiteIntegrationTest.groovy

            file("suite.xml") << """<?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
    <suite name="AwesomeSuite" parallel="tests" thread-count="${threadCount}">
      $suiteXml
    </suite>"""
        }
    
        @Issue("GRADLE-3190")
        def "runs with multiple parallel threads"() {
            given:
            createTests(200, 20)
    
            when:
            run("test")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testsanitizers/tsan_test.go

    	}
    	// The msan tests require support for the -msan option.
    	if !compilerRequiredTsanVersion(goos, goarch) {
    		t.Skipf("skipping on %s/%s; compiler version for -tsan option is too old.", goos, goarch)
    	}
    
    	t.Parallel()
    	requireOvercommit(t)
    	config := configure("thread")
    	config.skipIfCSanitizerBroken(t)
    
    	mustRun(t, config.goCmd("build", "std"))
    
    	cases := []struct {
    		src          string
    		needsRuntime bool
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 21:14:49 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top