- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 104 for blockCode (0.25 sec)
-
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildScriptBuilder.java
} public void printBlock(String blockSelector, BlockBody blockBody) { String indentBefore = indent; println(blockSelector + " {"); indent = indent + " "; needSeparatorLine = false; firstStatementOfBlock = true; blockBody.writeBodyTo(this); indent = indentBefore; println("}");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 21 12:02:29 UTC 2023 - 90K bytes - Viewed (0) -
platforms/software/version-control/src/main/java/org/gradle/vcs/internal/services/DefaultVersionControlRepositoryFactory.java
this.vcsWorkingDirCache = cacheBuilderFactory .createCrossVersionCacheBuilder("vcs-1") .withInitialLockMode(FileLockManager.LockMode.OnDemand) .withDisplayName("VCS Checkout Cache") .withCleanupStrategy(createCacheCleanupStrategy()) .open(); } private CacheCleanupStrategy createCacheCleanupStrategy() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 18:35:55 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ReadOnlyArtifactCacheLockingAccessCoordinator.java
cache = unscopedCacheBuilderFactory .cache(cacheMetaData.getCacheDir()) .withDisplayName("read only artifact cache") .withInitialLockMode(FileLockManager.LockMode.None) // Don't need to lock anything, it's read-only .open(); } @Override public void close() { cache.close(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/WritableArtifactCacheLockingAccessCoordinator.java
cache = unscopedCacheBuilderFactory .cache(cacheMetaData.getCacheDir()) .withDisplayName("artifact cache") .withInitialLockMode(FileLockManager.LockMode.OnDemand) // Don't need to lock anything until we use the caches .withCleanupStrategy(createCacheCleanupStrategy(cacheMetaData, fileAccessTimeJournal, usedGradleVersions, cacheConfigurations)) .open();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 7.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/ExecutionGradleServices.java
.createCrossVersionCacheBuilder("buildOutputCleanup") .withDisplayName("Build Output Cleanup Cache") .withInitialLockMode(FileLockManager.LockMode.OnDemand) .withProperties(Collections.singletonMap("gradle.version", GradleVersion.current().getVersion())) .open();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/CachedCodePathComponentMetadataProcessorTest.groovy
} private DefaultComponentMetadataProcessor processorWithCacheThatNeverHits() { CacheBuilder cacheBuilder cacheBuilder = Mock(CacheBuilder) { withInitialLockMode(_ as FileLockManager.LockMode) >> { cacheBuilder } open() >> { Mock(PersistentCache) { createIndexedCache(_ as IndexedCacheParameters) >> { Mock(IndexedCache) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:21:11 UTC 2024 - 8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/worker/child/WorkerProcessClassPathProvider.java
PersistentCache workerClassPathCache = cacheBuilderFactory .createCacheBuilder("workerMain") .withInitialLockMode(FileLockManager.LockMode.Exclusive) .withInitializer(new CacheInitializer()) .open(); try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 11.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/signatures/CrossBuildCachingKeyService.java
BuildCommencedTimeProvider timeProvider, boolean refreshKeys) { cache = cacheBuilderFactory .createCrossVersionCacheBuilder("keyrings") .withInitialLockMode(FileLockManager.LockMode.OnDemand) .open(); this.buildOperationRunner = buildOperationRunner; this.delegate = delegate; this.timeProvider = timeProvider; this.refreshKeys = refreshKeys;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:44:56 UTC 2024 - 14.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheRepository.kt
private val cache = cacheBuilderFactory .createCrossVersionCacheBuilder("configuration-cache") .withDisplayName("Configuration Cache") .withInitialLockMode(FileLockManager.LockMode.OnDemand) // Don't need to lock anything until we use the caches .withLruCacheCleanup() .open() private fun CacheBuilder.withLruCacheCleanup(): CacheBuilder = withCleanupStrategy(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.2K bytes - Viewed (0) -
pkg/volume/local/local_test.go
Local: &v1.LocalVolumeSource{ Path: path, }, }, MountOptions: mountOptions, }, } if isBlock { blockMode := v1.PersistentVolumeBlock pv.Spec.VolumeMode = &blockMode } else { fsMode := v1.PersistentVolumeFilesystem pv.Spec.VolumeMode = &fsMode } return volume.NewSpecFromPersistentVolume(pv, readOnly) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 10:53:39 UTC 2023 - 22.5K bytes - Viewed (0)