Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,210 for cachez (0.17 sec)

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

            model3[1].message == "It works from project :b"
    
            and:
            // TODO - should not invalidate all cached state
            fixture.assertStateRecreated {
                gradlePropertyChanged()
                buildModelQueries = 1 // TODO:configuration-cache ???
                projectConfigured(":buildSrc")
                projectsConfigured(":", ":a", ":b", ":c")
                modelsCreated(":a", ":b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprint.kt

            /**
             * Whether the instrumentation agent was used when computing the cache.
             * With the agent, the class paths may be stored differently, making the caches incompatible with one another.
             */
            val instrumentationAgentUsed: Boolean,
            /**
             * The file system paths that will be ignored during file system checks tracking for the cache fingerprint.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache.adoc

    include::sample[dir="snippets/buildCache/http-build-cache/kotlin",files="settings.gradle.kts[tags=http-build-cache]"]
    include::sample[dir="snippets/buildCache/http-build-cache/groovy",files="settings.gradle[tags=http-build-cache]"]
    ====
    
    When attempting to load an entry, a `GET` request is made to `\https://example.com:8123/cachecache-key»`.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 11:30:10 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/rules/OverlappingOutputsIntegrationTest.groovy

            then:
            // FIXME Loading from cache destroys the overlap directory, but the task should not be loaded from cache
            fileTaskOutput.assertDoesNotExist()
            localStateDirTaskOutput.assertExists()
            // Task was loaded from cache, so local state was removed
            localStateDirTaskState.assertDoesNotExist()
            // fileTask can be from the cache, but the dirTask cannot due to a cache miss
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:54:14 UTC 2024
    - 30K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiCompositeBuildsIntegrationTest.groovy

     */
    
    package org.gradle.internal.cc.impl.isolated
    
    class IsolatedProjectsToolingApiCompositeBuildsIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
    
        def "invalidates cached state when plugin in buildSrc changes"() {
            given:
            withSomeToolingModelBuilderPluginInBuildSrc()
            settingsFile << """
                include("a")
                include("b")
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    			t.Fatalf("Unexpected error: %v", err)
    		}
    	}
    
    	cacher, _, err := newTestCacher(etcdStorage)
    	if err != nil {
    		t.Fatalf("Couldn't create cacher: %v", err)
    	}
    	defer cacher.Stop()
    
    	// Given that cacher is always initialized from the "current" version of etcd,
    	// we now have a cacher with an empty cache of watch events and a resourceVersion of rv.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/BuildTreeConfigurationCache.kt

        /**
         * Loads the cached model, if available, or else runs the given function to create it and then writes the result to the cache.
         */
        fun <T : Any> loadOrCreateModel(creator: () -> T): T
    
        /**
         * Loads a cached intermediate model, if available, or else runs the given function to create it and then writes the result to the cache.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top