Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for storing (0.36 sec)

  1. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaConfigurationCachePerformanceTest.groovy

            hot    | loading
            hot    | storing
            cold   | loading
            cold   | storing
        }
    
        static String loading = "loading"
        static String storing = "storing"
        static String hot = "hot"
        static String cold = "cold"
    
        static BuildMutator configurationCacheInvocationListenerFor(InvocationSettings invocationSettings, String action, File stateDirectory) {
            return new BuildMutator() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/test/TestTaskPropertiesService.java

     * disabling storing their outputs in the build cache.
     */
    @ServiceScope(Scope.Project.class)
    public interface TestTaskPropertiesService {
    
        /**
         * Collect the configuration of the given task.
         */
        TestTaskProperties collectProperties(Test task);
    
        /**
         * Avoid storing the task's outputs in the build cache.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache-local/src/test/groovy/org/gradle/caching/local/internal/DirectoryBuildCacheTest.groovy

            def ex = thrown RuntimeException
            ex.message == "Simulated write error"
            cacheDir.listFiles() as List == []
            0 * fileAccessTracker.markAccessed(_)
        }
    
    
        def "marks file accessed when storing and loading locally"() {
            File cachedFile = null
    
            given:
            def originalFile = temporaryFolder.createFile("foo")
            originalFile.text = "bar"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 14:32:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. platforms/core-execution/build-cache-spi/src/integTest/groovy/org/gradle/caching/BuildCacheServiceExtensibilityIntegrationTest.groovy

            withBuildCache().run "assemble"
            then:
            noExceptionThrown()
        }
    
        private static String configureCustomBuildCacheService(String additionalLogic = "") {
            """
                class CustomBuildCache extends AbstractBuildCache {
                    String shouldFail
                }
    
                class CustomBuildCacheServiceFactory implements BuildCacheServiceFactory<CustomBuildCache> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:09:36 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/BuildCacheStep.java

            } else {
                LOGGER.debug("Not storing result of {} in cache because storing was disabled for this execution", cacheableWork.getDisplayName());
            }
        }
    
        private void store(CacheableWork work, BuildCacheKey cacheKey, ImmutableSortedMap<String, FileSystemSnapshot> outputFilesProducedByWork, Duration executionTime) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 13:41:13 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceTest.groovy

        private class NoopBuildCacheDescriber implements BuildCacheServiceFactory.Describer {
    
            @Override
            BuildCacheServiceFactory.Describer type(String type) { this }
    
            @Override
            BuildCacheServiceFactory.Describer config(String name, String value) { this }
    
        }
    
        static class Writer implements BuildCacheEntryWriter {
            private final byte[] content
            private int writeCount = 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/caching/internal/packaging/BuildCacheEntryPackingIntegrationTest.groovy

            buildFile << """
                task printCharsetProperties {
                    doLast {
                        println "> Default charset: \${java.nio.charset.Charset.defaultCharset()}"
                        println "> Storing file in cache: $fileName"
                    }
                }
    
                task createFile {
                    dependsOn printCharsetProperties
                    outputs.dir("dir")
                    outputs.cacheIf { true }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskIntegrationTest.groovy

            metadata.contains("identity=")
            metadata.contains("gradleVersion=")
            metadata.contains("creationTime=")
            metadata.contains("executionTime=")
        }
    
        def "storing in the cache can be disabled"() {
            buildFile << defineCacheableTask()
            buildFile << """
                apply plugin: 'base'
    
                def storeInCache = project.hasProperty('storeInCache')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 17:51:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheParallelTaskIntegrationTest.groovy

                        finalizedBy ':finalizer:task'
                        dependsOn 'dep'
                    }
                }
            """
    
            expect: "unrequested finalizer dependencies not to run in parallel when storing the graph"
            [":finalized:dep", ":finalized:task", ":finalizer:dep", ":finalizer:task"].each {
                server.expectConcurrent(it)
            }
            configurationCacheRun ":finalized:task", "--parallel"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

            }
            return true;
        }
    
        protected void storeChildUrls(final CrawlerContext crawlerContext, final Set<RequestData> childUrlList, final String url,
                final int depth, final String encoding) {
            // add url and filter
            final Set<String> urlSet = new HashSet<>();
            final List<UrlQueue<?>> childList = childUrlList.stream().filter(d -> StringUtil.isNotBlank(d.getUrl())
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top