Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 278 for reuse (0.09 sec)

  1. platforms/software/version-control/src/main/java/org/gradle/vcs/internal/resolver/OfflineVcsVersionWorkingDirResolver.java

                throw new ModuleVersionResolveException(selector, () -> String.format("Cannot resolve %s from %s in offline mode.", selector.getDisplayName(), repository.getDisplayName()));
            }
    
            // Reuse the same version as last build
            return repository.populate(previousVersion);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/script/conds.go

    	if suffix != "" {
    		return false, ErrUsage
    	}
    	return b.v, nil
    }
    
    // OnceCondition returns a Cond that calls eval the first time the condition is
    // evaluated. Future calls reuse the same result.
    //
    // The eval function is not passed a *State because the condition is cached
    // across all execution states and must not vary by state.
    func OnceCondition(summary string, eval func() (bool, error)) Cond {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 5K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/Result.java

         *     <li>there might have been more or less load on the machine producing the reused work,</li>
         *     <li>the work reused might have been executed incrementally,</li>
         *     <li>had there been no work to reuse, the local execution might have happened happen incrementally.</li>
         * </ul>
         */
        public Duration getDuration() {
            return duration;
        }
    
        public Try<Execution> getExecution() {
            return execution;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerAwaitableFileLockReleasedSignalTest.groovy

    class DefaultFileLockManagerAwaitableFileLockReleasedSignalTest extends ConcurrentSpecification {
    
        @Subject def signal = new DefaultFileLockManager.AwaitableFileLockReleasedSignal()
    
        def "can reuse signal"() {
            given:
            def signalCount = new AtomicInteger()
    
            when:
            start {
                while (signalCount.get() < 2) {
                    def signaled = signal.await(10000)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/DefaultModuleComponentGraphResolveState.java

    import org.gradle.internal.component.model.ComponentIdGenerator;
    import org.gradle.internal.component.model.DefaultExternalComponentGraphResolveState;
    
    /**
     * <p>The aim is to create only a single instance of this type per component and reuse that for all resolution that happens in a build tree. This isn't quite the case yet.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/ByteInputTest.groovy

        def setup() {
            file = new RandomAccessFile(tmpDir.file("test.bin"), "rw")
            input = new ByteInput(file)
        }
    
        def cleanup() {
            file.close()
        }
    
        def "can reuse to read from multiple locations in file"() {
            given:
            file.seek(0)
            file.writeInt(123)
            file.writeInt(321)
            file.writeInt(456)
    
            expect:
            def stream = input.start(0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/JavaHomeBasedJavaCompilerFactory.java

    public class JavaHomeBasedJavaCompilerFactory implements Factory<ContextAwareJavaCompiler>, Serializable {
        private final List<File> compilerPluginsClasspath;
        // We use a static cache here because we want to reuse classloaders in compiler workers as
        // it has a huge impact on performance. Previously there was a single, JdkTools.current()
        // instance, but we can have different "compiler plugins" classpath. For this reason we use
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. tensorflow/compiler/aot/compile.h

    Status CompileGraph(GraphDef graph_def, const tf2xla::Config& config,
                        const MainFlags& flags, CompileResult* compile_result);
    
    // The full compilation method, for reuse in a library setting.
    Status Main(const MainFlags& flags);
    
    }  // namespace tfcompile
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      }
    
      override fun isOutputShutdown(): Boolean {
        return delegate!!.isOutputShutdown
      }
    
      @Throws(SocketException::class)
      override fun setReuseAddress(reuse: Boolean) {
        delegate!!.reuseAddress = reuse
      }
    
      @Throws(SocketException::class)
      override fun getReuseAddress(): Boolean {
        return delegate!!.reuseAddress
      }
    
      @Throws(SocketException::class)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. pkg/scheduler/metrics/resources/resources.go

    		// for checking that terminal state
    	}
    	if terminal {
    		return
    	}
    
    	reqs = v1resource.PodRequests(pod, v1resource.PodResourcesOptions{Reuse: reuseReqs})
    	limits = v1resource.PodLimits(pod, v1resource.PodResourcesOptions{Reuse: reuseLimits})
    	return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 23:15:53 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top