Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 501 for regUsed (0.18 sec)

  1. 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)
  2. 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)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/RecoverFromBrokenResolutionIntegrationTest.groovy

            failure.assertHasCause("Could not resolve all files for configuration ':compile'.")
            failure.assertThatCause(matchesRegexp(".*?Connect to 127.0.0.1:${port} (\\[.*\\])? failed: Connection refused.*"))
    
            when:
            server.resetExpectations()
            then:
            executer.withArgument("--offline")
            run 'retrieve'
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.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. staging/src/k8s.io/apiserver/pkg/storage/etcd3/lease_manager.go

    	}
    }
    
    // GetLease returns a lease based on requested ttl: if the cached previous
    // lease can be reused, reuse it; otherwise request a new one from etcd.
    func (l *leaseManager) GetLease(ctx context.Context, ttl int64) (clientv3.LeaseID, error) {
    	now := time.Now()
    	l.leaseMu.Lock()
    	defer l.leaseMu.Unlock()
    	// check if previous lease can be reused
    	reuseDurationSeconds := l.getReuseDurationSecondsLocked(ttl)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 15 13:53:06 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedTypeImplementationClassCachingSpec.groovy

                                println "implementation class is reused: ${first.getClass().is(second.getClass())}"
                            }
                        }
                    }
                }
    
                apply type: RulePlugin
            '''
    
            then:
            succeeds "compareImplementationClasses"
    
            and:
            output.contains("implementation class is reused: true")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. subprojects/core-api/src/main/java/org/gradle/api/tasks/TaskOutputs.java

        /**
         * <p>
         *     Adds a predicate to determine whether previous outputs of this task can be reused.
         *     The given closure is executed at task execution time.
         *     The closure is passed the task as a parameter.
         *     If the closure returns false, previous outputs of this task cannot be reused and the task will be executed.
         *     That means the task is out-of-date and no outputs will be loaded from the build cache.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 11:37:21 UTC 2019
    - 7.5K bytes
    - Viewed (0)
Back to top