Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 516 for shared (0.12 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultCacheFactoryTest.groovy

            when:
            factory.open(tmpDir.testDirectory.file('foo'), "foo", [prop: 'value'], mode(Shared), null, null)
            factory.open(tmpDir.testDirectory.file('bar'), "bar", [prop: 'value'], mode(Shared), null, null)
            factory.open(tmpDir.testDirectory.file('baz'), "baz", [prop: 'value'], mode(Shared), null, null)
    
            and:
            factory.visitCaches(new CacheVisitor() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/directory_layout.adoc

    - If the retention period is customized for Gradle versions greater than or equal to version 8.0 to use retention periods _longer_ than the previously fixed periods, the older versions of Gradle may clean the shared caches earlier than what is configured.
    +
    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/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ErrorHandlingModuleComponentRepositoryTest.groovy

        @Shared
        def socketError = new SocketException()
        @Shared
        def connectTimeout = new SocketTimeoutException()
        @Shared
        def cannotConnect = new HttpHostConnectException(null, null)
        @Shared
        def missing = status(404)
        @Shared
        def clientTimeout = status(408)
        @Shared
        def tooManyRequests = status(429)
        @Shared
        def forbidden = status(403)
        @Shared
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/promotion/BasePromotionBuildType.kt

            }
    
            features {
                // https://www.jetbrains.com/help/teamcity/shared-resources.html#Viewing+Shared+Resources+Usage
                // https://blog.jetbrains.com/teamcity/2013/05/explaining-the-shared-resources-plugin/
                // we only allow 1 promotion job running at the same time to avoid website xml conflicts
                feature {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 03:34:53 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultPersistentDirectoryStoreTest.groovy

        def "open locks cache directory with requested mode"() {
            final store = new DefaultPersistentDirectoryStore(cacheDir, "<display>", mode(Shared), null, lockManager, Mock(ExecutorFactory), buildOperationRunner)
    
            when:
            store.open()
    
            then:
            1 * lockManager.lock(cacheDir, mode(Shared), "<display> ($cacheDir)") >> lock
    
            when:
            store.close()
    
            then:
            _ * lock.state
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:40:49 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. .teamcity/test-buckets.json

    				"parallelizationMethod":{
    					"name":"TestDistribution"
    				},
    				"subprojects":[
    					"launcher",
    					"time",
    					"logging-api",
    					"kotlin-dsl-plugins",
    					"serialization",
    					"toolchains-jvm-shared",
    					"docs-asciidoctor-extensions-base",
    					"internal-instrumentation-processor",
    					"security",
    					"input-tracking",
    					"base-ide-plugins"
    				]
    			},
    			{
    				"parallelizationMethod":{
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 15:56:44 UTC 2024
    - 54.2K bytes
    - Viewed (0)
  7. testing/distributions-integ-tests/src/integTest/groovy/org/gradle/AllDistributionIntegrationSpec.groovy

    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.UnitTestPreconditions
    import spock.lang.Shared
    
    class AllDistributionIntegrationSpec extends DistributionIntegrationSpec {
    
        @Shared String version = buildContext.distZipVersion.version
    
        def setup() {
            executer.requireOwnGradleUserHomeDir().requireIsolatedDaemons()
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/FileAccess.java

         * @throws InsufficientLockModeException If the held lock is not at least a shared lock (e.g. LockMode.NONE)
         */
        <T> T readFile(Callable<? extends T> action) throws LockTimeoutException, FileIntegrityViolationException, InsufficientLockModeException;
    
        /**
         * Runs the given action under a shared or exclusive lock on the target file.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. cmd/metrics-v3-system-memory.go

    import (
    	"context"
    )
    
    const (
    	memTotal     = "total"
    	memUsed      = "used"
    	memFree      = "free"
    	memBuffers   = "buffers"
    	memCache     = "cache"
    	memUsedPerc  = "used_perc"
    	memShared    = "shared"
    	memAvailable = "available"
    )
    
    var (
    	memTotalMD     = NewGaugeMD(memTotal, "Total memory on the node")
    	memUsedMD      = NewGaugeMD(memUsed, "Used memory on the node")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Apr 17 05:10:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccess.java

    import java.util.function.Supplier;
    
    import static org.gradle.cache.FileLockManager.LockMode.Exclusive;
    import static org.gradle.cache.FileLockManager.LockMode.Shared;
    
    /**
     * A {@link CrossProcessCacheAccess} implementation used when a cache is opened with a shared lock that is held until the cache is closed. The contract for {@link CrossProcessCacheAccess} requires an
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top