Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for regUsed (1 sec)

  1. src/net/http/transport_internal_test.go

    		err  error
    		want bool
    	}{
    		0: {
    			pc:   &persistConn{reused: false},
    			req:  dummyRequest("POST"),
    			err:  nothingWrittenError{},
    			want: false,
    		},
    		1: {
    			pc:   &persistConn{reused: true},
    			req:  dummyRequest("POST"),
    			err:  nothingWrittenError{},
    			want: true,
    		},
    		2: {
    			pc:   &persistConn{reused: true},
    			req:  dummyRequest("POST"),
    			err:  http2ErrNoCachedConn,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:57:17 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CheckedFingerprint.kt

        // Everything is up-to-date
        object Valid : CheckedFingerprint()
    
        // The entry cannot be reused at all and should be recreated from scratch
        class EntryInvalid(val reason: String) : CheckedFingerprint()
    
        // The entry can be reused, however the values for certain projects cannot be reused and should be recreated
        class ProjectsInvalid(val reason: String, val invalidProjects: Set<Path>) : CheckedFingerprint()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/service/scopes/Scope.java

    /**
     * @see ServiceScope
     */
    public interface Scope {
    
        /**
         * These services are reused across builds in the same process.
         *
         * <p>Global services are visible to all other services.</p>
         */
        interface Global extends Scope {}
    
        /**
         * These services are reused across builds in the same process while the Gradle user home directory remains unchanged.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/service-provider/src/main/java/org/gradle/internal/service/scopes/GradleModuleServices.java

     */
    @ServiceScope(Scope.Global.class)
    public interface GradleModuleServices extends ServiceRegistrationProvider {
        /**
         * Called once per process, to register any globally scoped services. These services are reused across builds in the same process.
         * The services are closed when the process finishes.
         *
         * <p>Global services are visible to all other services.</p>
         *
         * @see Scope.Global
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParameterizedModelQueryIntegrationTest.groovy

            buildFile << """
                plugins.apply(my.MyPlugin)
                println("configuring root")
            """
        }
    
        def "parameterized models are reused in the same build action"() {
            when:
            executer.withArguments(ENABLE_CLI)
            def models = runBuildAction(new FetchParameterizedCustomModelForEachProject(["fetch1", "fetch2", "fetch1", "fetch2"]))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelModelQueryIntegrationTest.groovy

    import org.gradle.internal.cc.impl.fixtures.SomeToolingModel
    
    class IsolatedProjectsToolingApiParallelModelQueryIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
    
        def "intermediate model is cached and reused for nested concurrent requests"() {
            // Sleep to ensure concurrent requests for the same model catch up before the first one is finished
            withSomeToolingModelBuilderPluginInBuildSrc("""
                Thread.sleep(3000)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileCollectionIntegrationTest.groovy

            dir.createFile("file3")
            configurationCacheRun("report")
    
            then:
            fixture.assertStateStored()
            outputContains("Calculating task graph as configuration cache cannot be reused because an input to build file 'build.gradle' has changed.")
            outputContains(output2)
    
            when:
            configurationCacheRun("report")
    
            then:
            fixture.assertStateLoaded()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheKeyIntegrationTest.groovy

            when:
            configurationCacheRun "help", "--offline"
            then:
            configurationCache.assertStateStored()
    
            // Now repeat invocations in different order to make sure both entries can be reused
            when:
            configurationCacheRun "help"
            then:
            configurationCache.assertStateLoaded()
    
            when:
            configurationCacheRun "help", "--offline"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildSrcProblemReportingIntegrationTest.groovy

            result.assertHasPostBuildOutput("Configuration cache entry stored.")
    
            when:
            configurationCacheRun("ok")
    
            then:
            result.assertHasPostBuildOutput("Configuration cache entry reused.")
    
            when:
            configurationCacheFails("broken")
    
            then:
            outputContains("Configuration cache entry discarded with 2 problems.")
            problems.assertFailureHasProblems(failure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. src/os/exec_unix.go

    	// TODO(go.dev/issue/67642): When there are concurrent Wait calls, one
    	// may wait on the wrong process if the PID is reused after the
    	// completes its wait.
    	//
    	// Checking for statusDone here would not be a complete fix, as the PID
    	// could still be waited on and reused prior to blockUntilWaitable.
    	switch p.pidStatus() {
    	case statusReleased:
    		return nil, syscall.EINVAL
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top