Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,101 for Variant (0.15 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RootComponentResolutionIntegrationTest.groovy

                    def root = result.root
                    assert root.id.projectName == 'root'
                    assert root.variants.size() == 2
                    def conf = root.variants.find { it.displayName == 'conf' }
                    def other = root.variants.find { it.displayName == 'other' }
                    assert conf != null
                    assert other != null
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 23 22:33:17 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir

        // CHECK: Cast
        // CHECK-SAME: (tensor<!tf_type.variant<tensor<2xf32>>>) -> tensor<!tf_type.variant<tensor<2xf32>>>
        %0 = "tf.Cast"(%arg0) {Truncate = false} : (tensor<!tf_type.variant<tensor<2xf32>>>) -> tensor<!tf_type.variant>
        %1 = "tf.Identity"(%0) : (tensor<!tf_type.variant>) -> tensor<!tf_type.variant>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  3. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/metadata/ModuleMetadataSpec.java

     */
    public class ModuleMetadataSpec {
    
        final Identity identity;
        final List<Variant> variants;
        final boolean mustIncludeBuildId;
    
        ModuleMetadataSpec(
            Identity identity,
            List<Variant> variants,
            boolean mustIncludeBuildId
        ) {
            this.identity = identity;
            this.variants = variants;
            this.mustIncludeBuildId = mustIncludeBuildId;
        }
    
        static class Identity {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/PublishedCapabilitiesIntegrationTest.groovy

            given:
            repository {
                'org:testA:1.0' {
                    variant('runtime') {
                        capability('org', 'testA', '1.0')
                        capability('cap')
                    }
                }
                'org:testB:1.0' {
                    variant('runtime') {
                        capability('org', 'testB', '1.0')
                        capability('cap')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. platforms/software/publish/src/main/java/org/gradle/api/publish/VariantVersionMappingStrategy.java

     *
     * @since 5.2
     */
    @HasInternalProtocol
    public interface VariantVersionMappingStrategy {
        /**
         * Declares that this variant should use versions from the resolution
         * of a default configuration chosen by Gradle.
         */
        void fromResolutionResult();
    
        /**
         * Declares that this variant should use versions from the resolution
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/result/DefaultResolvedComponentResultTest.groovy

        }
    
        def "associating the same result to a variant multiple times does not cause duplicate results"() {
            given:
            def module = newModule()
            def dependency = newDependency()
            def variant = module.getVariant(1)
    
            when:
            module.addDependency(dependency)
    
            module.associateDependencyToVariant(dependency, variant)
            module.associateDependencyToVariant(dependency, variant)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationPublicationsTest.groovy

            def variantDef = publications.variants.create("child")
            variantDef.attributes.attribute(Attribute.of("thing", String), "value")
            variantDef.artifacts.add(artifact)
    
            expect:
            def variants = getOutgoingVariants(publications)
            variants.size() == 1
    
            def child = variants.first()
            child.displayName.displayName == '<config> variant child'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/img/swift-application-configurations.dot

        mainVariantImplementation[label=<main<i>Variant</i>Implementation>]
      }
    
      subgraph left {
        node[style=filled, fillcolor="#cfe2f3"]
        swiftCompileVariant -> nativeLinkVariant -> nativeRuntimeVariant [style=invis, weight=1000]
    
        swiftCompileVariant[label=<swiftCompile<i>Variant</i> (R)>]
        nativeLinkVariant[label=<nativeLink<i>Variant</i> (R)>]
        nativeRuntimeVariant[label=<nativeRuntime<i>Variant</i> (R)>]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactSelectionIntegrationTest.groovy

            println "variants: " + artifacts.collect { it.variant.attributes }
        }
    }
    """
            when:
            run 'show'
    
            then:
            outputContains("files: [a2.jar]")
            outputContains("variants: [{artifactType=jar, buildType=profile, flavor=tasty, usage=api}]")
        }
    
        def "applies producer's disambiguation rules when selecting variant"() {
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/design/gradle-module-metadata-1.0-specification.md

    - `dependencies`: optional. When missing the variant is assumed to have no dependencies. Must not be present when `available-at` is present.
    - `files`: optional. When missing the variant is assumed to have no files. Must not be present when `available-at` is present.
    - `capabilities`: optional. When missing, the variant is assumed to declare no specific capability.
    
    ### `attributes` value
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 23:32:14 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top