Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 126 for cacheDir (0.16 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/AbstractReadOnlyCacheDependencyResolutionTest.groovy

            doCopy(metadataCacheDir, cachePath, CacheLayout.MODULES)
    
            roCacheDir
        }
    
        private void doCopy(File cacheDir, Path cachePath, CacheLayout entry) {
            if (cacheDir.exists()) {
                Files.move(cacheDir.toPath(), cachePath.resolve(entry.key))
            }
        }
    
        void assertInReadOnlyCache(File file) {
            boolean inCache = isInRoCache(file)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

            output.contains("The remote build cache was disabled during the build due to errors.")
        }
    
        def "storing to cache does follow method preserving redirects"() {
            given:
            httpBuildCacheServer.cacheDir.createDir("redirect")
            httpBuildCacheServer.addResponder { req, res ->
                if (!req.requestURI.startsWith("/redirect")) {
                    res.setHeader("location", "redirect$req.requestURI")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionIntegrationTest.groovy

            withBuildCache().run "jar"
            then:
            skipped ":compileJava"
        }
    
        def "cached tasks are executed with #rerunMethod"() {
            def taskPath = ":compileJava"
    
            expect:
            cacheDir.listFiles() as List == []
            buildFile << """
                def upToDate = providers.gradleProperty('upToDateWhenFalse')
                tasks.withType(JavaCompile).configureEach { it.outputs.upToDateWhen { !upToDate.present } }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  4. misc/wasm/go_wasip1_wasm_exec

    		;;
    	"wasmer")
    		exec wasmer run --dir=/ --env PWD="$PWD" --env PATH="$PATH" ${GOWASIRUNTIMEARGS:-} "$1" -- "${@:2}"
    		;;
    	"wazero")
    		exec wazero run -mount /:/ -env-inherit -cachedir "${TMPDIR:-/tmp}"/wazero ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}"
    		;;
    	"wasmtime" | "")
    		exec wasmtime run --dir=/ --env PWD="$PWD" --env PATH="$PATH" -W max-wasm-stack=1048576 ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}"
    		;;
    	*)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 17:09:10 UTC 2024
    - 797 bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy

            def buildOp = operations.only("Clean up ${getBuildCacheName()} ($cacheDir)")
            buildOp.details.cacheLocation == cacheDir
            assert gcFile().lastModified() > lastCleanupCheck
        }
    
        void assertCacheWasNotCleanedUpSince(long lastCleanupCheck) {
            operations.none("Clean up ${getBuildCacheName()} ($cacheDir)")
            assert gcFile().lastModified() == lastCleanupCheck
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentingClasspathFileTransformer.java

            };
        }
    
        @Override
        public File transform(File source, FileSystemLocationSnapshot sourceSnapshot, File cacheDir, InstrumentationTypeRegistry typeRegistry) {
            String destDirName = hashOf(sourceSnapshot);
            File destDir = new File(cacheDir, destDirName);
            String destFileName = source.getName();
            File receipt = new File(destDir, destFileName + ".receipt");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 13:36:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. src/testing/internal/testdeps/deps.go

    		MinimizeTimeout: minimizeTimeout,
    		MinimizeLimit:   minimizeLimit,
    		Parallel:        parallel,
    		Seed:            seed,
    		Types:           types,
    		CorpusDir:       corpusDir,
    		CacheDir:        cacheDir,
    	})
    	if err == ctx.Err() {
    		return nil
    	}
    	return err
    }
    
    func (TestDeps) RunFuzzWorker(fn func(fuzz.CorpusEntry) error) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/CacheableTaskProgressEventsCrossVersionSpec.groovy

                    inputs.file("input")
                    outputs.file(outputFile)
                    outputs.cacheIf { true }
    
                    doLast {
                        outputFile.parentFile.mkdirs()
                        outputFile.text = "done"
                    }
                }
            """
            def cacheDir = file("task-output-cache")
            settingsFile << """
                buildCache {
                    local {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/DirectoryBuildCacheFixture.groovy

            }
        }
    
        def localCacheConfiguration() {
            initIfNeeded()
            buildCache.localCacheConfiguration()
        }
    
        TestFile getCacheDir() {
            initIfNeeded()
            buildCache.cacheDir
        }
    
        TestFile gcFile() {
            initIfNeeded()
            buildCache.gcFile()
        }
    
        List<TestFile> listCacheFiles() {
            initIfNeeded()
            buildCache.listCacheFiles()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginTasksIntegrationTest.kt

            val firstLocation = "first-location"
            val secondLocation = "second-location"
            val cacheDir = newDir("cache-dir")
    
            withDefaultSettingsIn(firstLocation).appendText(
                """
                rootProject.name = "test"
                buildCache {
                    local {
                        directory = file("${cacheDir.normalisedPath}")
                    }
                }
                """
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 10:30:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top