Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 104 for blockCode (0.21 sec)

  1. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/cache/UserHomeScopedCompileCaches.java

            cache = cacheBuilderFactory
                .createCacheBuilder("javaCompile")
                .withDisplayName("Java compile cache")
                .withInitialLockMode(FileLockManager.LockMode.OnDemand)
                .open();
            IndexedCacheParameters<HashCode, ClassSetAnalysisData> jarCacheParameters = IndexedCacheParameters.of(
                "jarAnalysis",
                new HashCodeSerializer(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Feb 24 12:57:52 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/DependencyLockingHandler.java

         * }
         *
         * @since 6.0
         */
        void unlockAllConfigurations();
    
        /**
         * Allows to query the lock mode currently configured
         *
         * @since 6.1
         */
        Property<LockMode> getLockMode();
    
        /**
         * Allows to configure the file used for saving lock state
         * <p>
         * Make sure the lock file is unique per project and separate between the buildscript and project itself.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 23 15:47:10 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FixedExclusiveModeCrossProcessCacheAccess.java

    import org.gradle.internal.UncheckedException;
    
    import java.io.File;
    import java.util.function.Consumer;
    import java.util.function.Supplier;
    
    import static org.gradle.cache.FileLockManager.LockMode.Exclusive;
    
    /**
     * A {@link CrossProcessCacheAccess} implementation used when a cache is opened with an exclusive lock that is held until the cache is closed. This implementation is simply a no-op for these methods.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 01 12:21:15 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. platforms/software/version-control/src/main/java/org/gradle/vcs/internal/resolver/PersistentVcsMetadataCache.java

            cache = cacheBuilderFactory
                .createCacheBuilder("vcsMetadata")
                .withDisplayName("VCS metadata")
                .withInitialLockMode(FileLockManager.LockMode.OnDemand) // Don't need to lock anything until we use the caches
                .open();
            workingDirCache = cache.createIndexedCache("workingDirs", String.class, VALUE_SERIALIZER);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/cache/internal/DefaultFileContentCacheFactory.java

            this.cache = cacheBuilderFactory
                .createCacheBuilder("fileContent")
                .withDisplayName("file content cache")
                .withInitialLockMode(FileLockManager.LockMode.OnDemand)
                .open();
        }
    
        @Override
        public void close() throws IOException {
            cache.close();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/PersistentCache.java

     * while it is in use. You can change this use {@link CacheBuilder#withInitialLockMode(org.gradle.cache.FileLockManager.LockMode)}.
     *
     * <p>You can use {@link CacheBuilder#withInitializer(java.util.function.Consumer)} to provide an action to initialize the contents
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 19 07:59:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/workspace/impl/CacheBasedImmutableWorkspaceProvider.java

                // and move them atomically into the cache
                // TODO Should use a read-write lock on the cache's base directory for cleanup, though
                .withInitialLockMode(FileLockManager.LockMode.None)
                .open();
            this.cache = cache;
            this.baseDirectory = cache.getBaseDir();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccessIntegrationTest.groovy

                    return count < 4
                }
    
                void initialize(FileLock fileLock) {}
            }
            def lockOptions = DefaultLockOptions.mode(FileLockManager.LockMode.Shared)
            def lockManager1 = DefaultFileLockManagerTestHelper.createDefaultFileLockManager(100)
            new FixedSharedModeCrossProcessCacheAccess("<cache>", cacheDir, lockOptions, lockManager1, countingInitAction, {}, {})
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. pkg/apis/core/v1/defaults_test.go

    		t.Errorf("Expected secret type %v, got %v", v1.SecretTypeOpaque, s2.Type)
    	}
    }
    
    func TestSetDefaultPersistentVolume(t *testing.T) {
    	fsMode := v1.PersistentVolumeFilesystem
    	blockMode := v1.PersistentVolumeBlock
    
    	tests := []struct {
    		name               string
    		volumeMode         *v1.PersistentVolumeMode
    		expectedVolumeMode v1.PersistentVolumeMode
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCacheServiceFactory.java

    import org.gradle.internal.time.TimestampSuppliers;
    
    import javax.inject.Inject;
    import java.io.File;
    import java.util.function.Supplier;
    
    import static org.gradle.cache.FileLockManager.LockMode.OnDemand;
    
    public class DirectoryBuildCacheServiceFactory implements BuildCacheServiceFactory<DirectoryBuildCache> {
        public static final String FAILED_READ_SUFFIX = ".failed";
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:35:55 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top