Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 553 for transformTo (0.18 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinderTest.groovy

            transformRegistry.registrations >> [transform1, transform2, transform3, transform4, transform5, transform6]
    
            when:
            def result = transformations.findTransformedVariants(variants, requested)
    
            then:
            result.size() == 2
            // sourceVariant + transform2 + transform3 = compatible
            assertTransformChain(result[0], sourceVariant, compatible, transform2, transform3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/transform/transform.go

    	Transform(dst, src []byte, atEOF bool) (nDst, nSrc int, err error)
    
    	// Reset resets the state and allows a Transformer to be reused.
    	Reset()
    }
    
    // SpanningTransformer extends the Transformer interface with a Span method
    // that determines how much of the input already conforms to the Transformer.
    type SpanningTransformer interface {
    	Transformer
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderSpec.groovy

            1 * transform1.transform(someValue()) >> someOtherValue()
            1 * transform2.transform(someOtherValue()) >> someOtherValue2()
            1 * transform3.transform(someOtherValue2()) >> someOtherValue3()
            0 * _
        }
    
        def "can chain mapped providers with filtering providers"() {
            def transform1 = Mock(Transformer)
            def spec = Mock(Spec)
            def transform2 = Mock(Transformer)
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

        def "reuses file from its origin cache when transform is none"() {
            given:
            def file = testDir.file("other/thing.jar")
            _ * globalCacheLocations.isInsideGlobalCache(file.absolutePath) >> true
            jar(file)
            def classpath = DefaultClassPath.of(file)
            transformer.transform(classpath, None)
    
            when:
            def cachedClasspath = transformer.transform(classpath, None)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultCachedClasspathTransformer.java

    import org.gradle.internal.Either;
    import org.gradle.internal.classpath.transforms.ClassTransform;
    import org.gradle.internal.classpath.transforms.ClasspathElementTransformFactory;
    import org.gradle.internal.classpath.transforms.ClasspathElementTransformFactoryForAgent;
    import org.gradle.internal.classpath.transforms.ClasspathElementTransformFactoryForLegacy;
    import org.gradle.internal.classpath.transforms.InstrumentingClassTransform;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/artifact_transforms.adoc

    == Artifact transform selection and execution
    
    As described above, when Gradle resolves a configuration and a dependency in the configuration does not have a variant with the requested attributes, Gradle tries to find a chain of artifact transforms to create the variant.
    The process of finding a matching chain of artifact transforms is called _artifact transform selection_.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinder.java

             * @param transforms The remaining transforms which may be prepended to {@code chain} to produce a solution.
             */
            public ChainState(@Nullable ChainNode chain, ImmutableAttributes requested, ImmutableFilteredList<TransformRegistration> transforms) {
                this.chain = chain;
                this.requested = requested;
                this.transforms = transforms;
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/TransformedClassPath.java

             *
             * @param original the original JAR or classes directory
             * @param transformed the transformed JAR or classes directory
             * @return this builder
             */
            public Builder add(File original, File transformed) {
                originals.add(original);
                if (!original.equals(transformed)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 13:59:11 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/internal/classpath/transforms/ClasspathElementTransformTest.groovy

            def outputJar = testDir.file("transformed.jar")
            return new JarTestFixture(transform(factory, originalJar, outputJar), 'UTF-8', null, /* checkManifest */ false)
        }
    
        private TestFile transformDirectory(TransformFactoryType factory, File originalDir) {
            def outputDir = testDir.file("transformed")
            return new TestFile(transform(factory, originalDir, outputDir))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 14 09:24:02 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy

            when:
            run "transform2"
    
            then:
            result.assertTasksExecuted(":transform2")
            result.assertTasksSkipped(":transform2")
    
            when:
            run "transform1"
    
            then:
            result.assertTasksExecuted(":transform1")
            result.assertTasksNotSkipped(":transform1")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top