Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 212 for cacheDir (0.21 sec)

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

            "outputs.upToDateWhen({ } as Spec)"                         | "TaskOutputs.upToDateWhen(Spec)"
            "outputs.cacheIf({ } as Spec)"                              | "TaskOutputs.cacheIf(Spec)"
            "outputs.file('a')"                                         | "TaskOutputs.file(Object)"
            "outputs.files('a')"                                        | "TaskOutputs.files(Object...)"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest/canCreateAndDeleteMetaData/expectedFiles/webAppWithVarsClasspath.xml

    		<attributes>
    			<attribute name="javadoc_location" value="jar:file:@CACHE_DIR@/commons-lang/commons-lang/2.5/@SHA1@/commons-lang-2.5-javadoc.jar!/"/>
    			<attribute name="gradle_used_by_scope" value="main,test"/>
    			<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
    		</attributes>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

      override fun satisfactionFailure(
        call: Call,
        response: Response,
      ) {
        logWithTime("satisfactionFailure: $response")
      }
    
      override fun cacheHit(
        call: Call,
        response: Response,
      ) {
        logWithTime("cacheHit: $response")
      }
    
      override fun cacheMiss(call: Call) {
        logWithTime("cacheMiss")
      }
    
      override fun cacheConditionalHit(
        call: Call,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. 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)
  5. platforms/documentation/docs/src/snippets/buildCache/cacheable-bundle/kotlin/build.gradle.kts

                    stream.write(it.readBytes())
                }
            }
        }
    }
    
    // tag::bundle-task[]
    tasks.register<NpmTask>("bundle") {
        args = listOf("run", "bundle")
    
        outputs.cacheIf { true }
    
        inputs.dir(file("scripts"))
            .withPropertyName("scripts")
            .withPathSensitivity(PathSensitivity.RELATIVE)
    
        inputs.files("package.json", "package-lock.json")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LoggingEvictionListenerTest.groovy

        def "test logging eviction listener"() {
            given:
            def logger = Mock(Logger)
            LoggingEvictionListener evictionListener = new LoggingEvictionListener("cacheId", 1000, logger)
            def cache = CacheBuilder.newBuilder().maximumSize(1000).removalListener(evictionListener).build()
            evictionListener.setCache(cache)
    
            when:
            2001.times { cache.put(it, it) }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:36 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/LocalStateFixture.groovy

                }
            """
            if (useRuntimeApi) {
                """
                    task customTask {
                        def localStateFile = $localStateFile
                        outputs.cacheIf { true }
                        outputs.dir("build")
                        localState.register(localStateFile)
                        doLast { $action }
                    }
                """
            } else {
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 08:00:14 UTC 2021
    - 2.2K bytes
    - Viewed (0)
Back to top