Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 195 for regUsed (0.19 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/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/IvyContextManager.java

         * <p>The Ivy instance of the calling thread is reused if the thread is already executing an action against an Ivy instance.
         */
        void withIvy(Action<? super Ivy> action);
    
        /**
         * Executes the given action against an Ivy instance and returns the result. Sets up the Ivy context before the action and cleans up at the end.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy

            cleanWorkspace()
            execute("taskWithInputs")
    
            then:
            reused(":taskWithInputs")
    
            when:
            cleanWorkspace()
            file('foo/c').mkdir()
            file('foo/c/1').mkdir()
            file('foo/c/2').mkdir()
            execute("taskWithInputs")
    
            then:
            reused(":taskWithInputs")
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

            }
    
            when: "the build is re-run with the file system entry still missing"
            assert !accessedFile.exists()
            configurationCacheRunLenient()
    
            then: "the cache entry is reused"
            configurationCache.assertStateLoaded()
    
            when: "there was no file system entry at the path used in configuration and a file is created at that path"
            assert accessedFile.createNewFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFeaturesIntegrationTest.groovy

            then:
            configurationCache.assertStateStored()
            outputContains("Calculating task graph as configuration cache cannot be reused because cached version information for thing:lib:1.+ has expired.")
            outputContains("result = [lib-1.3.jar]")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 33K bytes
    - Viewed (0)
  10. 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)
Back to top