Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,036 for cachez (0.11 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/CachingModuleComponentRepositoryTest.groovy

        def listener = Stub(ChangingValueDependencyResolutionListener)
        def caches = new ModuleRepositoryCaches(moduleResolutionCache, moduleDescriptorCache, moduleArtifactsCache, artifactAtRepositoryCache)
        def resolveStateFactory = DependencyManagementTestUtil.modelGraphResolveFactory()
        def repo = new CachingModuleComponentRepository(realRepo, caches, resolveStateFactory, cachePolicy, Stub(BuildCommencedTimeProvider), metadataProcessor, listener)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

    import okhttp3.internal.toNonNegativeInt
    
    /**
     * Given a request and cached response, this figures out whether to use the network, the cache, or
     * both.
     *
     * Selecting a cache strategy may add conditions to the request (like the "If-Modified-Since" header
     * for conditional GETs) or warnings to the cached response (if the cached data is potentially
     * stale).
     */
    class CacheStrategy internal constructor(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/cache/internal/GradleUserHomeCleanupServiceIntegrationTest.groovy

     */
    
    package org.gradle.cache.internal
    
    import org.gradle.api.internal.cache.CacheConfigurationsInternal
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.integtests.fixtures.executer.GradleContextualExecuter
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.util.GradleVersion
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 10 15:48:56 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

        }
    
        def "task can be cached after loaded from cache"() {
            file("input.txt").text = "input"
            buildFile << defineProducerTask()
    
            // Store in local cache
            withBuildCache().run "producer"
    
            // Load from local cache
            cleanBuildDir()
            withBuildCache().run "producer"
    
            // Store to a different local cache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  5. pilot/pkg/xds/eds.go

    			continue
    		}
    
    		// We skip cache if assertions are enabled, so that the cache will assert our eviction logic is correct
    		if !features.EnableUnsafeAssertions {
    			cachedEndpoint := eds.Cache.Get(&builder)
    			if cachedEndpoint != nil {
    				resources = append(resources, cachedEndpoint)
    				cached++
    				continue
    			}
    		}
    		// generate new eds cache
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 15:58:06 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

    import okio.Source
    import okio.Timeout
    import okio.buffer
    
    /** Serves requests from the cache and writes responses to the cache. */
    class CacheInterceptor(internal val cache: Cache?) : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val call = chain.call()
        val cacheCandidate = cache?.get(chain.request().requestForCache())
    
        val now = System.currentTimeMillis()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

          ABSL_LOCKS_EXCLUDED(mu_);
    
      /// Remove all cached blocks for `filename`.
      void RemoveFile(const std::string& filename) ABSL_LOCKS_EXCLUDED(mu_);
    
      /// Remove all cached data.
      void Flush() ABSL_LOCKS_EXCLUDED(mu_);
    
      /// Accessors for cache parameters.
      size_t block_size() const { return block_size_; }
      size_t max_bytes() const { return max_bytes_; }
      uint64_t max_staleness() const { return max_staleness_; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 04:46:34 UTC 2020
    - 10.6K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ResolutionStrategy.java

        /**
         * Sets the length of time that changing modules will be cached.
         *
         * <p>Gradle caches the contents and artifacts of changing modules. By default, these cached values are kept for 24 hours,
         * after which the cached entry is expired and the module is resolved again.</p>
         * <p>Use this method to provide a custom expiry time after which the cached entries for any changing module will be expired.</p>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 17 13:05:50 UTC 2022
    - 16K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionIntegrationTest.groovy

            then:
            noneSkipped()
            output.contains("Build cache key for task ':compileJava' is ")
            !output.contains("Appending implementation to build cache key:")
            !output.contains("Appending input value fingerprint for")
            !output.contains("Appending input file fingerprints for 'classpath'")
        }
    
        def "compileJava is not cached if forked executable is used"() {
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/transfer/DefaultCacheAwareExternalResourceAccessor.java

                        // Update the cache entry in the index: this resets the age of the cached entry to zero
                        cachedExternalResourceIndex.store(location.toString(), cached.getCachedFile(), cached.getExternalResourceMetaData());
                        return fileResourceRepository.resource(cached.getCachedFile(), location.getUri(), cached.getExternalResourceMetaData());
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top