Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 212 for cacheDir (0.15 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/initialization/InternalGradleFailuresIntegrationTest.groovy

        }
    
        def "Error message due to unwritable gradle user home directory is not scary"() {
            given:
            def cachesDir = executer.gradleUserHomeDir.file("caches")
            cachesDir.touch()
    
            when:
            fails 'hello'
    
            then:
            cachesDir.isFile()
            assertHasStartupFailure(failure, "Cannot create directory '${executer.gradleUserHomeDir.file("caches")}")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

      }
    
      override fun cacheMiss(call: Call) {
        logWithTime("cacheMiss")
    
        delegate.cacheMiss(call)
      }
    
      override fun cacheHit(
        call: Call,
        response: Response,
      ) {
        logWithTime("cacheHit")
    
        delegate.cacheHit(call, response)
      }
    
      override fun cacheConditionalHit(
        call: Call,
        cachedResponse: Response,
      ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskArchiveErrorIntegrationTest.groovy

            buildFile << """
                apply plugin: "base"
                task customTask {
                    inputs.file "input.txt"
                    outputs.file "build/output" withPropertyName "output"
                    outputs.cacheIf { true }
                    doLast {
                      mkdir('build/output')
                      file('build/output/output.txt').text = file('input.txt').text
                    }
                }
            """
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/tasks/TaskOutputs.java

         * or if any of the predicates passed to {@link #doNotCacheIf(String, Spec)} returns {@code true}. If {@code cacheIf()} is not specified,
         * the task will not be cached unless the {@literal @}{@link CacheableTask} annotation is present on the task type.</p>
         *
         * <p>Consider using {@link #cacheIf(String, Spec)} instead for also providing a reason for enabling caching.</p>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 11:37:21 UTC 2019
    - 7.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt

        val lazyBuildTreeModelSideEffects = lazy { BuildTreeModelSideEffectStore(host, cacheIO, store) }
    
        private
        val lazyIntermediateModels = lazy { IntermediateModelController(host, cacheIO, store, calculatedValueContainerFactory, cacheFingerprintController) }
    
        private
        val lazyProjectMetadata = lazy { ProjectMetadataController(host, cacheIO, resolveStateFactory, store, calculatedValueContainerFactory) }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. 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)
  7. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

        @Rule
        TestNameTestDirectoryProvider testDirectoryProvider = new TestNameTestDirectoryProvider(getClass())
        def testDir = testDirectoryProvider.testDirectory
    
        def cachedDir = testDir.file("cached")
        def cache = new TestInMemoryCacheFactory().open(cachedDir, "jars")
        def cacheBuilder = Stub(CacheBuilder) {
            open() >> cache
            withDisplayName(_) >> { cacheBuilder }
            withInitialLockMode(_) >> { cacheBuilder }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/CacheDecorator.java

     */
    
    package org.gradle.cache;
    
    public interface CacheDecorator {
        /**
         * @param cacheId Unique id for this cache instance.
         * @param cacheName Name for the type of contents stored in this cache instance.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. 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)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/IntermediateModelController.kt

            val (context, codecs) = cacheIO.writerContextFor(encoder)
            context.push(IsolateOwners.OwnerHost(host), codecs.userTypesCodec())
            context.runWriteOperation {
                write(value)
            }
        }
    
        override fun read(decoder: Decoder): IntermediateModel {
            val (context, codecs) = cacheIO.readerContextFor(decoder)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top