Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for cacheDir (0.31 sec)

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

                    dependsOn tasks.named('update1'), tasks.named('update2')
                    doLast {
                        def cacheDir = file("build/tmp/.cache/expanded")
                        assert cacheDir.list().size() == 1 // There should only be 1 file here, the single unzipped cache entry
                        cacheDir.eachFile(groovy.io.FileType.DIRECTORIES) { File f ->
                            assert f.name.startsWith('tar_')
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/directory_layout.adoc

    ====
    
    [[dir:gradle_user_home:cache_marking]]
    === Cache marking
    Beginning with Gradle version 8.1, Gradle supports marking caches with a `CACHEDIR.TAG` file.
    
    It follows the format described in https://bford.info/cachedir/[the Cache Directory Tagging Specification].
    The purpose of this file is to allow tools to identify the directories that do not need to be searched or backed up.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 23:00:38 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultExclusiveCacheAccessCoordinatorTest.groovy

        final File lockFile = tmpDir.file('lock.bin')
        final File cacheDir = tmpDir.file('caches')
        final FileLock lock = Mock()
        final BTreePersistentIndexedCache<String, Integer> backingCache = Mock()
    
        private DefaultCacheCoordinator newAccess(FileLockManager.LockMode lockMode) {
            new DefaultCacheCoordinator("<display-name>", lockFile, mode(lockMode), cacheDir, lockManager, initializationAction, cleanupExecutor, executorFactory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/service/scopes/BuildScopeServices.java

            StartParameter startParameter,
            UnscopedCacheBuilderFactory unscopedCacheBuilderFactory
        ) {
            BuildScopeCacheDir cacheDir = new BuildScopeCacheDir(userHomeDirProvider, buildLayout, startParameter);
            return new DefaultBuildScopedCacheBuilderFactory(cacheDir.getDir(), unscopedCacheBuilderFactory);
        }
    
        @Provides
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:42 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  5. src/internal/fuzz/fuzz.go

    	// code being tested may be written. CorpusDir must be set.
    	CorpusDir string
    
    	// CacheDir is a directory containing additional "interesting" values.
    	// The fuzzer may derive new values from these, and may write new values here.
    	CacheDir string
    }
    
    // CoordinateFuzzing creates several worker processes and communicates with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/cache.go

    	"cmd/go/internal/modfetch/codehost"
    	"cmd/go/internal/par"
    	"cmd/go/internal/robustio"
    	"cmd/internal/telemetry"
    
    	"golang.org/x/mod/module"
    	"golang.org/x/mod/semver"
    )
    
    func cacheDir(ctx context.Context, path string) (string, error) {
    	if err := checkCacheDir(ctx); err != nil {
    		return "", err
    	}
    	enc, err := module.EscapePath(path)
    	if err != nil {
    		return "", err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  7. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        server.enqueue(MockResponse(body = "abc"))
    
        val ctxt = InstrumentationRegistry.getInstrumentation().targetContext.applicationContext
    
        val cacheSize = 1L * 1024 * 1024 // 1MB
        val cache = Cache(ctxt.cacheDir.resolve("testCache"), cacheSize)
    
        try {
          client =
            client.newBuilder()
              .cache(cache)
              .build()
    
          val request =
            Request.Builder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go

    }
    
    func TestCreateWithKeyExist(t *testing.T) {
    	ctx, cacher, terminate := testSetup(t)
    	t.Cleanup(terminate)
    	storagetesting.RunTestCreateWithKeyExist(ctx, t, cacher)
    }
    
    func TestGet(t *testing.T) {
    	ctx, cacher, terminate := testSetup(t)
    	t.Cleanup(terminate)
    	storagetesting.RunTestGet(ctx, t, cacher)
    }
    
    func TestUnconditionalDelete(t *testing.T) {
    	ctx, cacher, terminate := testSetup(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 17K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top