Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 198 for cacheDir (0.13 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/internal/cache/CacheDirUtil.java

         */
        public static void tryMarkCacheDirectoryByTag(Path dir) {
            if (!Files.isDirectory(dir)) {
                return;
            }
            Path cacheDirTag = dir.resolve("CACHEDIR.TAG");
            OutputStream stream;
            try {
                stream = Files.newOutputStream(cacheDirTag, StandardOpenOption.CREATE_NEW);
            } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 25 20:35:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/SimplifiedKotlinScriptEvaluator.kt

                accessorsClassPath: ClassPath,
                initializer: (File) -> Unit
            ): File = baseCacheDir.resolve(programId.sourceHash.toString()).resolve(programId.templateId).also { cacheDir ->
                cacheDir.mkdirs()
                initializer(cacheDir)
            }
    
            override fun compilationClassPathOf(classLoaderScope: ClassLoaderScope): ClassPath =
                scriptCompilationClassPath
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DispatchingBuildCacheIntegrationTest.groovy

            settingsFile.text = """
                buildCache {
                    local {
                        directory = '${localCache.cacheDir.toURI()}'
                    }
                    remote(DirectoryBuildCache) {
                        directory = '${remoteCache.cacheDir.toURI()}'
                    }
                }
            """.stripIndent()
    
            when:
            withBuildCache().run cacheableTask
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 15:17:04 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/README.md

    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.12.0")
    ```
    
    ### Usage
    
    ```
      val appCache = Cache(File("cacheDir", "okhttpcache"), 10 * 1024 * 1024)
      val bootstrapClient = OkHttpClient.Builder().cache(appCache).build()
    
      val dns = DnsOverHttps.Builder().client(bootstrapClient)
        .url("https://dns.google/dns-query".toHttpUrl())
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 740 bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccessIntegrationTest.groovy

         */
        private simulateAnotherInitializationOfAlreadyInitializedWorkerClasspathCache() {
            def cacheDir = file("user-home/caches/${distribution.version.version}/workerMain")
            def countingInitAction = new CacheInitializationAction() {
                def count = 0
    
                boolean requiresInitialization(FileLock fileLock) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 4.3K 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