Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for isIsolated (0.14 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransform.java

            return fileNormalizer;
        }
    
        @Override
        public FileNormalizer getInputArtifactDependenciesNormalizer() {
            return dependenciesNormalizer;
        }
    
        @Override
        public boolean isIsolated() {
            return isolatedParameters.isFinalized();
        }
    
        @Override
        public boolean requiresDependencies() {
            return requiresDependencies;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:19 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultIsolatableFactoryTest.groovy

            expect:
            def original = 123
            def isolated = isolatableFactory.isolate(original)
            isolated.coerce(Integer).is(original)
            isolated.coerce(Number).is(original)
            isolated.coerce(Long) == null
            isolated.coerce(Short) == null
            isolated.coerce(Byte) == null
            isolated.coerce(String) == null
        }
    
        def "creates isolated long"() {
            expect:
            def original = 123L
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/text/unicode/bidi/core.go

    				if isIsolate {
    					validIsolateCount++
    				}
    				// Push new embedding level, override status, and isolated
    				// status.
    				// No check for valid stack counter, since the level check
    				// suffices.
    				switch t {
    				case LRO:
    					stack.push(newLevel, L, isIsolate)
    				case RLO:
    					stack.push(newLevel, R, isIsolate)
    				default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:26:23 UTC 2022
    - 29.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultValueSnapshotterTest.groovy

            snapshot != snapshotter.snapshot("other")
        }
    
        def "creates snapshot for isolated string"() {
            expect:
            def isolated = isolatableFactory.isolate("abc")
            snapshotter.snapshot("abc") == snapshotter.snapshot(isolated)
            snapshotter.snapshot("other") != snapshotter.snapshot(isolated)
        }
    
        def "creates snapshot for integer"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.5K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy

            List<String> list = ["foo", "bar"]
    
            when:
            serialize(isolatableFactory.isolate(list))
    
            and:
            Isolatable<?>[] newIsolatables = deserialize()
    
            then:
            newIsolatables[0].isolate() == list
        }
    
        def "can serialize/deserialize isolated Set"() {
            Set<String> list = ["foo", "bar"]
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BuildScanPluginSmokeTest.groovy

        @Requires(value = IntegTestPreconditions.NotConfigCached, reason = "Isolated projects implies config cache")
        def "can use plugin #version with isolated projects"() {
            given:
            def versionNumber = VersionNumber.parse(version)
    
            when:
            usePluginVersion version
    
            then:
            scanRunner("-Dorg.gradle.unsafe.isolated-projects=true")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectSpec.groovy

            expect:
            rootProject.isolated.path == ":"
            rootProject.isolated.buildTreePath == ':'
    
            child1.isolated.path == ":child1"
            child1.isolated.buildTreePath == ":child1"
    
            child2.isolated.path == ":child1:child2"
            child2.isolated.buildTreePath == ":child1:child2"
    
            nestedRootProject.isolated.path == ":"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIsolationIntegrationTest.groovy

                // Counter is serialized and isolated prior to execution, so transforms will not see the increment in each tasks' doLast { } (which is good)
                file("build/libs1/test-1.3.jar.txt").readLines() == ["1", "2", "3", "4", "5"]
                file("build/libs1/test2-2.3.jar.txt").readLines() == ["1", "2", "3", "4", "5"]
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiIdeaProjectIntegrationTest.groovy

            """
    
            when: "fetching without Isolated Projects"
            def originalIdeaModel = fetchModel(IdeaProject)
    
            then:
            fixture.assertNoConfigurationCache()
            originalIdeaModel.modules.size() == 3
            originalIdeaModel.modules.every { it.children.isEmpty() } // IdeaModules are always flattened
    
            when: "fetching with Isolated Projects"
            executer.withArguments(ENABLE_CLI)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/execution/plan/LocalTaskNode.java

        /**
         * Indicates that this task is isolated and so does not require the project lock in order to execute.
         */
        public void isolated() {
            isolated = true;
        }
    
        public WorkValidationContext getValidationContext() {
            return validationContext;
        }
    
        @Nullable
        @Override
        public ResourceLock getProjectToLock() {
            if (isolated) {
                return null;
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 16 23:29:30 UTC 2023
    - 10.2K bytes
    - Viewed (0)
Back to top