Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 75 for Parallel (0.19 sec)

  1. src/os/exec_test.go

    	select {
    	case <-time.After(1 * time.Second):
    		t.Error("timeout waiting for signal")
    	case <-c:
    		// Good
    	}
    }
    
    func TestProcessReleaseTwice(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	r, w, err := os.Pipe()
    	if err != nil {
    		t.Fatalf("Pipe() got err %v, want nil", err)
    	}
    	defer r.Close()
    	defer w.Close()
    
    	p, err := os.StartProcess(testenv.GoToolPath(t), []string{"go"}, &os.ProcAttr{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/net/dnsconfig.go

    	mtime         time.Time     // time of resolv.conf modification
    	soffset       uint32        // used by serverOffset
    	singleRequest bool          // use sequential A and AAAA queries instead of parallel queries
    	useTCP        bool          // force usage of TCP for DNS resolutions
    	trustAD       bool          // add AD flag to queries
    	noReload      bool          // do not check for config file updates
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/java/ParallelTestTaskIntegrationTest.groovy

    public class ThingTest {
        @Test
        public void verify() {
            assertTrue(System.getProperty("java.version").startsWith("${version}."));
        }
    }
    """
            }
        }
    
        def "can run Test tasks in parallel when using different Java version from Gradle"() {
            expect:
            succeeds("test")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/invocation/IsolatedProjectEvaluationListenerProvider.java

        /**
         * Returns an isolated listener for the registered actions, if any. The listener makes it impossible for
         * the actions to carry any shared mutable state across projects and can be safely executed in parallel.
         */
        @Nullable
        ProjectEvaluationListener isolateFor(Gradle owner);
    
        /**
         * Discards any registered actions. This doesn't affect any {@link #isolateFor(Gradle) previously returned isolated listeners}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 11:22:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. platforms/extensibility/unit-test-fixtures/src/integTest/groovy/org/gradle/testfixtures/ProjectBuilderIntegrationTest.groovy

            then:
            customGradleUserHome.exists()
            project.gradle.startParameter.gradleUserHomeDir == customGradleUserHome
        }
    
        def "can be used in parallel"() {
            def threads = 5
            def startSignal = new CountDownLatch(1)
            def doneSignal = new CountDownLatch(threads)
    
            when:
            threads.times {
                new Thread({
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. testing/architecture-test/src/changes/archunit-store/public-api-symmetrical-accessors-nullability.txt

    Accessors for org.gradle.api.tasks.javadoc.Javadoc.maxMemory don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.testing.Test.forkEvery don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.testing.testng.TestNGOptions.parallel don't use symmetrical @Nullable
    Accessors for org.gradle.caching.http.HttpBuildCache.url don't use symmetrical @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/ApplicationServiceRegistration.kt

    /**
     * [ApplicationServiceRegistration] centralizes registration of services with shared [MockApplication]s.
     *
     * The Kotlin core environment shares the application between multiple tests running in parallel. We need to ensure that application
     * services are only registered once, and especially that no races happen. Thread safety is ensured with a lock, while registrations are
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 16 11:53:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/envcmd/env_test.go

    	f.Add(`C:\"Program Files"\`)
    	f.Add(`\\"Quoted Host"\\share`)
    	f.Add("\xfb")
    	f.Add("0")
    	f.Add("")
    	f.Add("''''''''")
    	f.Add("\r")
    	f.Add("\n")
    	f.Add("E,%")
    	f.Fuzz(func(t *testing.T, s string) {
    		t.Parallel()
    
    		for _, c := range []byte(s) {
    			if c == 0 {
    				t.Skipf("skipping %q: contains a null byte. Null bytes can't occur in the environment"+
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGUpToDateCheckIntegrationTest.groovy

            skipped ':test'
    
            where:
            property                 | modification
            'suiteName'              | '= "Honeymoon Suite"'
            'testName'               | '= "Turing completeness"'
            'parallel'               | '= "methods"'
            'threadCount'            | '= 2'
            'suiteThreadPoolSize'    | '= 2'
            'listeners'              | '= ["org.testng.reporters.FailedReporter"]'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/LocalComponentGraphResolveState.java

    import java.util.List;
    
    /**
     * A specialized {@link ComponentGraphResolveState} for local components (ie project dependencies).
     *
     * <p>Instances of this type are cached and reused for multiple graph resolutions, possibly in parallel. This means that the implementation must be thread-safe.
     */
    @ThreadSafe
    public interface LocalComponentGraphResolveState extends ComponentGraphResolveState {
        ModuleVersionIdentifier getModuleVersionId();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top