Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 87 for reuse (0.04 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ScriptChangeFixture.groovy

            def scriptPath = relativePathOf(scriptFile, projectDir)
            def scriptDesc = scriptPath.contains('init') ? 'init script' : 'file'
            return "configuration cache cannot be reused because $scriptDesc '$scriptPath' has changed."
        }
    
        void setup() {
            scriptFile.text = "println(\"$expectedOutputBeforeChange\")"
        }
    
        void applyChange() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/ForwardStdInToThisProcess.java

    import org.gradle.launcher.exec.BuildActionResult;
    
    import java.io.InputStream;
    
    /**
     * Used in tooling API embedded mode to forward client provided user input to this process's System.in and other relevant services.
     * Reuses the services used by the daemon client and daemon server to forward user input.
     */
    public class ForwardStdInToThisProcess implements BuildActionExecutor<BuildActionParameters, BuildRequestContext> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/LocalComponentGraphResolveState.java

    import javax.annotation.concurrent.ThreadSafe;
    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 {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonFactoryTest.groovy

            1 * client.execute(spec) >> new DefaultWorkResult(true, null)
    
            then:
            1 * clientsManager.release(client)
        }
    
        def "idle client is reused when daemon is executed"() {
            when:
            factory.getWorker(requirement).execute(spec)
    
            then:
            1 * clientsManager.reserveIdleClient(options) >> client
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/watch/watch.go

    		close(f.result)
    		f.stopped = true
    	}
    }
    
    func (f *FakeWatcher) IsStopped() bool {
    	f.Lock()
    	defer f.Unlock()
    	return f.stopped
    }
    
    // Reset prepares the watcher to be reused.
    func (f *FakeWatcher) Reset() {
    	f.Lock()
    	defer f.Unlock()
    	f.stopped = false
    	f.result = make(chan Event)
    }
    
    func (f *FakeWatcher) ResultChan() <-chan Event {
    	return f.result
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:06:22 UTC 2024
    - 8.1K bytes
    - Viewed (1)
  6. tensorflow/compiler/mlir/tensorflow/transforms/xla_rewrite.cc

          if (has_resources) in_order = false;
        } else {
          resource_args.push_back(arg);
          has_resources = true;
        }
      }
    
      if (!in_order) {
        // Functions do not get reused in practice, so skip the check for if the
        // callee has been updated.
        StringAttr callee_sym = cluster_func_op.getFuncAttr().getAttr();
        MoveResourceArgsToEnd(symtab.lookup<func::FuncOp>(callee_sym));
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/caching_android_projects.adoc

    However, it is likely that many of those tasks will have been run with exactly the same inputs in a prior CI build, populating the build cache; the outputs from those prior runs can safely be reused, resulting in dramatic build performance improvements.
    
    === Reusing CI builds for local development
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 12:54:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheClassLoaderScopeRegistryListener.kt

            synchronized(lock) {
                if (scopeSpecs.containsKey(childId)) {
                    // scope is being reused
                    return
                }
    
                val parentIsRoot = parentId.parent == null
                val parent = if (parentIsRoot) {
                    null
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/loader/CachingToolingImplementationLoaderTest.groovy

            _ * distribution.getToolingImplementationClasspath(loggerFactory, progressListener, params, cancellationToken) >> DefaultClassPath.of(new File('a.jar'))
            0 * _._
        }
    
        def "reuses implementation with same classpath"() {
            def distribution = Mock(Distribution)
            def connection = Mock(ConsumerConnection)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 09:39:07 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins.adoc

    *Precompiled Script Plugins* are Kotlin or Groovy DSL scripts compiled into Java class files packaged in a library.
    They offer better performance and maintainability compared to script plugins, and they can be reused across different projects.
    You can also write them in Groovy DSL but that is not recommended.
    
    *Binary Plugins* are full-fledged plugins written in Java, Groovy, or Kotlin, compiled into JAR files, and published to a repository.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 02:15:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top