Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 54 for cacheDir (0.22 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

            when:
            cleanBuildDir()
            withBuildCache().run "customTask"
            then:
            skipped ":customTask"
    
    
            when:
            buildFile << """
                customTask.outputs.cacheIf { false }
            """
    
            withBuildCache().run "customTask"
            cleanBuildDir()
    
            withBuildCache().run "customTask"
    
            then:
            executedAndNotSkipped ":customTask"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultCachePolicy.java

                    dependencyResolutionControl.cacheFor(value, unit);
                }
            });
        }
    
        public void cacheChangingModulesFor(final int value, final TimeUnit units) {
            keepChangingModulesFor = units.toMillis(value);
            eachModule(moduleResolutionControl -> {
                if (moduleResolutionControl.isChanging()) {
                    moduleResolutionControl.cacheFor(value, units);
                }
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 22:04:14 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskOutputs.java

            storeInCache = false;
        }
    
        @Override
        public void cacheIf(final Spec<? super Task> spec) {
            cacheIf("Task outputs cacheable", spec);
        }
    
        @Override
        public void cacheIf(final String cachingEnabledReason, final Spec<? super Task> spec) {
            taskMutator.mutate("TaskOutputs.cacheIf(Spec)", () -> {
                cacheIfSpecs.add(new SelfDescribingSpec<>(spec, cachingEnabledReason));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 04 09:46:14 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy

        }
    
        def "cacheability for a task with a cacheIf is CACHE_IF_SPEC_NOT_SATISFIED"() {
            buildFile """
                task cacheable(type: Cacheable) {
                    outputs.cacheIf("always false") { false }
                }
            """
            when:
            withBuildCache().run "cacheable"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:59:01 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultCachePolicySpec.groovy

            !thisBuild.mustCheck
            thisBuild.keepFor == Duration.ofMillis(DAY)
        }
    
        def "applies cacheFor rules for dynamic versions"() {
            when:
            cachePolicy.eachDependency(new Action<DependencyResolutionControl>() {
                void execute(DependencyResolutionControl t) {
                    t.cacheFor(100, TimeUnit.SECONDS)
                }
            })
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 22:04:14 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/BuildCacheStep.java

                    .map(cacheHit -> {
                        if (LOGGER.isInfoEnabled()) {
                            LOGGER.info("Loaded cache entry for {} with cache key {}",
                                work.getDisplayName(), cacheKey.getHashCode());
                        }
                        cleanLocalState(context.getWorkspace(), work);
                        OriginMetadata originMetadata = cacheHit.getOriginMetadata();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 13:41:13 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    	backingStorage := &dummyStorage{}
    	cacher, _, err := newTestCacher(backingStorage)
    	if err != nil {
    		t.Fatalf("Couldn't create cacher: %v", err)
    	}
    	defer cacher.Stop()
    
    	// Wait until cacher is initialized.
    	if err := cacher.ready.wait(context.Background()); err != nil {
    		t.Fatalf("unexpected error waiting for the cache to be ready")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher.go

    const (
    	// cacheWatcherWaitingForBookmark indicates the cacher
    	// is waiting for a bookmark event with a specific RV set
    	cacheWatcherWaitingForBookmark = iota
    
    	// cacheWatcherBookmarkReceived indicates that the cacher
    	// has received a bookmark event with required RV
    	cacheWatcherBookmarkReceived
    
    	// cacheWatcherBookmarkSent indicates that the cacher
    	// has already sent a bookmark event to a client
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 12:22:41 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

        // If we don't need the network, we're done.
        if (networkRequest == null) {
          return cacheResponse!!.newBuilder()
            .cacheResponse(cacheResponse.stripBody())
            .build().also {
              listener.cacheHit(call, it)
            }
        }
    
        if (cacheResponse != null) {
          listener.cacheConditionalHit(call, cacheResponse)
        } else if (cache != null) {
          listener.cacheMiss(call)
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. pkg/wasm/cache.go

    func (c *LocalFileCache) getEntry(key cacheKey, ignoreResourceVersion bool) (*cacheEntry, string) {
    	cacheHit := false
    
    	c.mux.Lock()
    	defer func() {
    		c.mux.Unlock()
    		wasmCacheLookupCount.With(hitTag.Value(strconv.FormatBool(cacheHit))).Increment()
    	}()
    
    	if len(key.checksum) == 0 && strings.HasPrefix(key.downloadURL, ociURLPrefix) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top