Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 351 for Variant (0.14 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/DefaultExternalComponentGraphResolveState.java

                    .map(variant -> resolveStateFor(variant).asVariant())
                    .collect(Collectors.toList())
            );
            this.idGenerator = idGenerator;
            this.selectableVariantResults = graphMetadata.getVariantsForGraphTraversal().stream()
                .flatMap(variant -> variant.getVariants().stream())
                .map(variant -> new DefaultResolvedVariantResult(
                    getId(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/GraphVariantSelector.java

            return conf;
        }
    
        /**
         * Ensures the target variant matches the request attributes and is consumable. This needs to be called
         * for variants that are selected by means other than attribute matching.
         *
         * Note: This does not need to be called for variants selected via attribute matching, since
         * attribute matching ensures selected variants are compatible with the requested attributes.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/CachedCodePathComponentMetadataProcessorTest.groovy

            then: "the result should have the variant added by the rule"
            def variantsForGraphTraversal = result.variantsForGraphTraversal
            variantsForGraphTraversal.size() == ownVariants + 1
            def variant = variantsForGraphTraversal.find { it.name == "test" }
            variant != null
            "org.gradle.test" in variant.attributes.keySet().collect { it.name }
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/ResolutionCandidateAssessor.java

        }
    
        public List<AssessedCandidate> assessResolvedVariants(List<? extends ResolvedVariant> resolvedVariants) {
            return resolvedVariants.stream()
                .map(variant -> assessCandidate(variant.asDescribable().getCapitalizedDisplayName(), variant.getCapabilities(), variant.getAttributes().asImmutable()))
                .sorted(Comparator.comparing(AssessedCandidate::getDisplayName))
                .collect(Collectors.toList());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/component_metadata_rules.adoc

    ====
    
    == Making variants published as classified jars explicit ==
    
    While in the previous example, all variants, "main variants" and optional features, were packaged in one jar file, it is common to publish certain variants as separate files.
    In particular, when the variants are mutual exclusive — i.e. they are *not* feature variants, but different variants offering alternative choices.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/mark_ops_for_outside_compilation.mlir

        %2 = "tf.Identity"(%1) : (tensor<!tf_type.variant<tensor<f32>>>) -> (tensor<!tf_type.variant<tensor<f32>>>)
        "tf.Identity"(%2) : (tensor<!tf_type.variant<tensor<f32>>>) -> (tensor<!tf_type.variant<tensor<f32>>>)
        tf_device.return
      }) {cluster_attr = "cluster_attr"} : () -> ()
      func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 16:22:32 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/mlrt/while_to_map_fn.mlir

      %outputs_60 =  "tf.Identity"(%outputs_58) {device = ""} : (tensor<*x!tf_type.variant>) -> tensor<*x!tf_type.variant>
      return %outputs_34, %outputs_36, %outputs_44, %outputs_60, %arg4, %arg5 : tensor<*xi32>, tensor<*xi32>, tensor<*xi32>, tensor<*x!tf_type.variant>, tensor<!tf_type.variant>, tensor<?xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:40:22 UTC 2024
    - 68.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/DefaultLocalComponentGraphResolveState.java

                .stream()
                .flatMap(variant -> variant.prepareForArtifactResolution().getArtifactVariants().stream())
                .map(variant -> new DefaultResolvedVariantResult(
                    component.getId(),
                    Describables.of(variant.getName()),
                    component.getAttributeDesugaring().desugar(variant.getAttributes().asImmutable()),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:25:36 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/VariantGraphResolveMetadata.java

    import java.util.List;
    import java.util.Set;
    
    /**
     * Immutable metadata for a component variant instance that is used to perform dependency graph resolution.
     *
     * <p>Note that this metadata does not provide any information about the available artifacts of this variants, as this may be expensive to resolve.
     * Information about the artifacts can be accessed via the methods of {@link ComponentGraphResolveState}.</p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/GraphSelectionCandidates.java

    public interface GraphSelectionCandidates {
    
        /**
         * Returns the set of variants to select from during attribute matching, or an empty list of this
         * component does not support attribute matching.
         */
        List<? extends VariantGraphResolveState> getVariantsForAttributeMatching();
    
        /**
         * Returns the variant to use when attribute-based variant selection is not enabled.
         */
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top