Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,575 for Reused (0.11 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/ImmutableUnitOfWork.java

     */
    
    package org.gradle.internal.execution;
    
    import org.gradle.internal.execution.workspace.ImmutableWorkspaceProvider;
    
    /**
     * A unit of work that will only be executed atomically and its outputs be reused indefinitely from an immutable workspace.
     */
    public interface ImmutableUnitOfWork extends UnitOfWork {
        /**
         * Returns the {@link ImmutableWorkspaceProvider} to allocate a workspace to execution this work in.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:27 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.groovy

            when:
            file('foo/Changing.java').text = toWindows(TEXT_WITH_LINE_ENDINGS)
            cleanWorkspace()
            execute("taskWithInputs")
    
            then:
            reused(":taskWithInputs")
    
            when:
            file('foo/Changing.jpg').bytes = BINARY_CONTENT_WITH_CRLF
            cleanWorkspace()
            execute("taskWithInputs")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompilerDaemonReuseIntegrationTest.groovy

            def firstBuild = old(runningCompilerDaemons)
            def secondBuild = runningCompilerDaemons
            def diff = firstBuild - secondBuild
            // We should reuse one daemon from the first build
            diff.size() == 1
        }
    
        def "reuses compiler daemons across multiple builds when enabled"() {
            withSingleProjectSources()
            buildFile << """
                tasks.compileMain2Java {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/CompiledScript.java

        /**
         * Returns true if the script declares any methods.
         */
        boolean getHasMethods();
    
        Class<? extends T> loadClass();
    
        D getData();
    
        /**
         * Called when this script is reused in a new build invocation.
         */
        void onReuse();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 18 23:26:14 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  5. internal/grid/README.md

    The wrapper will handle all serialization and de-seralization of the request and response,
    and furthermore provides reuse of the structs used for the request and response.
    
    Note that Responses sent for serialization are automatically reused for similar requests.
    If the response contains shared data it will cause issues, since each unique response is reused.
    To disable this behavior, use `(SingleHandler).WithSharedResponse()` to disable it.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMapEntry.java

     * buckets for the key and the value. This allows reuse in {@link RegularImmutableMap} and {@link
     * RegularImmutableBiMap}, which don't have to recopy the entries created by their {@code Builder}
     * implementations.
     *
     * <p>This base implementation has no key or value pointers, so instances of ImmutableMapEntry (but
     * not its subclasses) can be reused when copied from one ImmutableMap to another.
     *
     * @author Louis Wasserman
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReuseIntegrationTest.groovy

        }
    
        def "idle daemon is reused in preference to starting a new daemon"() {
            given:
            executer.run()
            daemons.daemon.assertIdle()
    
            when:
            5.times {
                executer.run()
            }
    
            then:
            daemons.daemons.size() == 1
        }
    
        @Issue("https://github.com/gradle/gradle/issues/17345")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleCachingIntegrationTest.groovy

            """
        }
    
        boolean getNewRulesExtracted() {
            def match = output =~ /.*### extracted new rules: (true|false).*/
            match[0][1] == "true"
        }
    
        def "rules extracted from core plugins are reused across builds"() {
            given:
            buildFile << '''
                apply plugin: 'cpp'
            '''
    
            when:
            run()
    
            then:
            newRulesExtracted
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/api/internal/tasks/execution/ExecuteTaskBuildOperationType.java

             */
            boolean isActionable();
    
            /**
             * If task was UP_TO_DATE or FROM_CACHE, this will convey the ID of the build that produced the outputs being reused.
             * Value will be null for any other outcome.
             *
             * This value may also be null for an UP_TO_DATE outcome where the task executed, but then decided it was UP_TO_DATE.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. platforms/jvm/scala/src/main/java/org/gradle/language/scala/tasks/KeepAliveMode.java

     * limitations under the License.
     */
    
    package org.gradle.language.scala.tasks;
    
    import org.gradle.api.Incubating;
    
    /**
     * Describes whether a Scala compiler daemon should be reused.
     *
     * @since 7.6
     */
    @Incubating
    public enum KeepAliveMode {
        /**
         * The compiler is kept alive for a session.
         */
        SESSION,
    
        /**
         * The compiler is kept alive across builds.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 979 bytes
    - Viewed (0)
Back to top