Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for SHARED (0.1 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/service/scopes/GradleUserHomeScopeServiceRegistry.java

    import javax.annotation.concurrent.ThreadSafe;
    import java.io.File;
    import java.util.Optional;
    
    /**
     * Manages the shared services that are scoped to a particular Gradle user home dir and which can be shared by multiple build invocations. These shared services also include the global services.
     *
     * <p>A plugin can contribute shared services to this scope by providing an implementation of {@link GradleModuleServices}.
     */
    @ThreadSafe
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:48 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultPersistentDirectoryCacheTest.groovy

            expect:
            emptyDir.assertDoesNotExist()
    
            when:
            def cache = new DefaultPersistentDirectoryCache(emptyDir, "<display-name>", properties, mode(FileLockManager.LockMode.Shared), initializationAction, cacheCleanup, lockManager, Mock(ExecutorFactory), buildOperationRunner)
            try {
                cache.open()
            } finally {
                cache.close()
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:40:49 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultCacheBuilderTest.groovy

            result == cache
            1 * cacheFactory.open(sharedCacheDir, null, [:], mode(Shared), _, NO_CLEANUP) >> cache
            0 * cacheFactory._
        }
    
        void createsGlobalCacheWithProperties() {
            when:
            builder.withProperties(properties).open()
    
            then:
            1 * cacheFactory.open(sharedCacheDir, null, properties, mode(Shared), _, NO_CLEANUP) >> cache
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:40:49 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/sync/pool.go

    // build efficient, thread-safe free lists. However, it is not suitable for all
    // free lists.
    //
    // An appropriate use of a Pool is to manage a group of temporary items
    // silently shared among and potentially reused by concurrent independent
    // clients of a package. Pool provides a way to amortize allocation overhead
    // across many clients.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestFrameworkTest.groovy

    import org.gradle.internal.time.Clock
    import org.gradle.testfixtures.ProjectBuilder
    import org.gradle.util.TestUtil
    import spock.lang.Shared
    import spock.lang.Specification
    
    public class TestNGTestFrameworkTest extends Specification {
    
        @Shared ObjectFactory objects = TestUtil.objectFactory()
    
        private project = ProjectBuilder.builder().build()
        Test testTask = TestUtil.createTask(Test, project)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/service-provider/src/main/java/org/gradle/internal/service/scopes/GradleModuleServices.java

         *
         * <p>Global services are visible to these shared services, but not vice versa.</p>
         *
         * @see Scope.UserHome
         */
        void registerGradleUserHomeServices(ServiceRegistration registration);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache-base/build.gradle.kts

    plugins {
        id("gradlebuild.distribution.api-java")
        id("gradlebuild.publish-public-libraries")
    }
    
    description = "Common shared build cache classes"
    
    dependencies {
        implementation(projects.stdlibJavaExtensions)
    
        api(projects.files)
        api(projects.hashing)
    
        testImplementation(testFixtures(projects.hashing))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 329 bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationInDynamicGroovyIntegrationTest.groovy

     */
    
    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    import org.gradle.integtests.fixtures.GroovyBuildScriptLanguage
    import org.gradle.test.fixtures.file.TestFile
    import spock.lang.Shared
    
    /**
     * Base class for tests that invoke external process with the dynamic Groovy code.
     * There are many different ways to run a process in Groovy, and all are producing different byte code.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top