- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 77 for cacheDir (0.15 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go
t.Fatalf("Unexpected error: %v", err) } } cacher, _, err := newTestCacher(etcdStorage) if err != nil { t.Fatalf("Couldn't create cacher: %v", err) } defer cacher.Stop() // Given that cacher is always initialized from the "current" version of etcd, // we now have a cacher with an empty cache of watch events and a resourceVersion of rv.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 82.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/initialization/InternalGradleFailuresIntegrationTest.groovy
} def "Error message due to unwritable gradle user home directory is not scary"() { given: def cachesDir = executer.gradleUserHomeDir.file("caches") cachesDir.touch() when: fails 'hello' then: cachesDir.isFile() assertHasStartupFailure(failure, "Cannot create directory '${executer.gradleUserHomeDir.file("caches")}") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:54 UTC 2024 - 3.1K bytes - Viewed (0) -
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) -
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) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/IntermediateModelController.kt
val (context, codecs) = cacheIO.writerContextFor(encoder) context.push(IsolateOwners.OwnerHost(host), codecs.userTypesCodec()) context.runWriteOperation { write(value) } } override fun read(decoder: Decoder): IntermediateModel { val (context, codecs) = cacheIO.readerContextFor(decoder)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 3.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy
when: cleanBuildDir() withBuildCache().run "customTask" then: skipped ":customTask" when: buildFile << """ customTask.outputs.cacheIf { false } """ withBuildCache().run "customTask" cleanBuildDir() withBuildCache().run "customTask" then: executedAndNotSkipped ":customTask"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 30.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/BuildTreeModelSideEffectStore.kt
val (context, codecs) = cacheIO.writerContextFor(encoder) context.push(IsolateOwners.OwnerHost(host), codecs.userTypesCodec()) context.runWriteOperation { write(value) } } private fun read(decoder: Decoder): BuildTreeModelSideEffect { val (context, codecs) = cacheIO.readerContextFor(decoder)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 3.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy
} def "cacheability for a task with a cacheIf is CACHE_IF_SPEC_NOT_SATISFIED"() { buildFile """ task cacheable(type: Cacheable) { outputs.cacheIf("always false") { false } } """ when: withBuildCache().run "cacheable" then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 16:59:01 UTC 2024 - 17.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/metadata/ProjectMetadataController.kt
/** * In charge of serializing and deserializing the project components for Isolated Projects. */ internal class ProjectMetadataController( private val host: DefaultConfigurationCache.Host, private val cacheIO: ConfigurationCacheIO, private val resolveStateFactory: LocalComponentGraphResolveStateFactory, store: ConfigurationCacheStateStore, calculatedValueContainerFactory: CalculatedValueContainerFactory
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 8.9K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LoggingEvictionListenerTest.groovy
def "test logging eviction listener"() { given: def logger = Mock(Logger) LoggingEvictionListener evictionListener = new LoggingEvictionListener("cacheId", 1000, logger) def cache = CacheBuilder.newBuilder().maximumSize(1000).removalListener(evictionListener).build() evictionListener.setCache(cache) when: 2001.times { cache.put(it, it) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:36 UTC 2024 - 1.3K bytes - Viewed (0)