Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,819 for transformTo (0.21 sec)

  1. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/InternalTransformer.java

    package org.gradle.internal;
    
    /**
     * Equivalent to {@code Transformer}, but does not declare nullability due to Java 6 restrictions.
     *
     * <p>A {@code Transformer} transforms objects of type.</p>
     *
     * <p>Implementations are free to return new objects or mutate the incoming value.</p>
     *
     * @param <OUT> The type the value is transformed to.
     * @param <IN> The type of the value to be transformed.
     */
    public interface InternalTransformer<OUT, IN> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/internal/Transformers.java

         * @param <O> The type of the transformed object
         * @param <I> The type of the object to be transformed
         * @return A transformer that simply type casts the input to the given output type.
         */
        public static <O, I> Transformer<O, I> cast(Class<O> outputType) {
            return new CastingTransformer<O, I>(outputType);
        }
    
        //just returns the original object
        public static <T> Transformer<T, T> noOpTransformer() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 15 23:29:03 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIntegrationTest.groovy

                    void beforeTransformExecution(Describable transformer, Describable subject) {
                        println "Before transformer \${transformer.displayName} on \${subject.displayName}"
                    }
    
                    @Override
                    void afterTransformExecution(Describable transformer, Describable subject) {
                        println "After transformer \${transformer.displayName} on \${subject.displayName}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:42 UTC 2023
    - 100.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.cc

    #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.h"
    
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    #include "mlir/Transforms/Passes.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/drop_savedmodel_semantics.h"
    #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 04:34:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/Transformer.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.groovy.scripts;
    
    import org.codehaus.groovy.control.CompilationUnit;
    
    public interface Transformer {
    
        void register(CompilationUnit compilationUnit);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 791 bytes
    - Viewed (0)
  8. 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)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/GroupedOutputFixture.java

         * Returns grouped output for the given transformer type and transform subject.
         */
        public GroupedTransformOutputFixture transform(String transformer, String subject) {
            List<GroupedTransformOutputFixture> foundTransforms = transforms.values().stream()
                .filter(transform -> transform.getTransformer().equals(transformer) && transform.getSubject().equals(subject))
                .collect(Collectors.toList());
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/operations/dependencies/transforms/PlannedTransformStepIdentity.java

         * values for some of which have been changed by the transform.
         */
        Map<String, String> getTargetAttributes();
    
        /**
         * Capabilities of the variant of the transformed artifact.
         * <p>
         * Artifact transforms can only change attributes, so the capabilities remain unchanged throughout the transform chain.
         */
        List<? extends Capability> getCapabilities();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 10 08:07:59 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top