Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 552 for Constraint (0.42 sec)

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

    import org.gradle.api.internal.artifacts.DefaultModuleIdentifier;
    
    import javax.annotation.Nullable;
    import java.util.Collections;
    
    /**
     * A limited use, project dependency constraint mostly aimed at publishing
     * platforms.
     */
    public class DefaultProjectDependencyConstraint extends AbstractDependencyConstraint {
        private final ProjectDependency projectDependency;
        private String reason;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 00:10:09 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/MutationValidator.java

            /**
             * The mutation of the attributes (other than coordinates) of a dependency constraint.
             * Theoretically these should be bundled under {@link MutationType#DEPENDENCIES}, but these mutations are not (yet)
             * prevented on resolved configurations.
             */
            DEPENDENCY_CONSTRAINT_ATTRIBUTES("dependency constraint attributes"),
    
            /**
             * The mutation of the artifacts of the configuration.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 00:26:55 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.td

    class IsBoolAttrEqual<string true_or_false> : Constraint<CPred<
      "$0.getValue() == "#true_or_false#"">>;
    
    // Receives a composite DictionaryAttr as an argument and checks if one of the
    // its attributes (with the name `attr_name`) is of type `attribute` and has
    // the value `val`.
    class IsCompositeAttribute<string attr_name, Attr attribute, string val>:
      Constraint<CPred<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:05:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td

    class HasEqualElementSize<list<int> shape_1, list<int> shape_2> : Constraint<
      CPred<"quant::HasEqualElementSize($0, $1,"
      "llvm::ArrayRef<int>({" # !interleave(shape_1, ", ") # "}),"
      "llvm::ArrayRef<int>({" # !interleave(shape_2, ", ") # "}))">,
      "Checks if the given dimensions contain the same number of elements.">;
    
    def ReshapableTo1DTensor : Constraint<
      CPred<"quant::ReshapableTo1DTensor($0.getType().cast<ShapedType>())">,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. src/internal/types/testdata/fixedbugs/issue51229.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    // Constraint type inference should be independent of the
    // ordering of the type parameter declarations. Try all
    // permutations in the test case below.
    // Permutations produced by https://go.dev/play/p/PHcZNGJTEBZ.
    
    func f00[S1 ~[]E1, S2 ~[]E2, E1 ~byte, E2 ~byte](S1, S2) {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/MixedDependencyLockingIntegrationTest.groovy

            when:
            succeeds 'dependencyInsight', '--configuration', 'unlockedConf', '--dependency', 'foo'
    
            then:
            outputContains('org:foo:1.1')
            outputDoesNotContain('constraint')
    
        }
    
        def 'ignores the lockfile of a parent configuration when resolving an unlocked child configuration'() {
            mavenRepo.module('org', 'foo', '1.0').publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/jvm/java_platform_plugin.adoc

    The `api` configuration should be used to declare constraints and dependencies which should be used when compiling against the platform, whereas the `runtime` configuration should be used to declare constraints or dependencies which are visible at runtime.
    
    .Declaring API and runtime constraints
    ====
    include::sample[dir="snippets/java-platform/quickstart/kotlin",files="build.gradle.kts[tags=constraints]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue50321.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    func Ln[A A /* ERROR "cannot use a type parameter as constraint" */ ](p A) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 250 bytes
    - Viewed (0)
  9. src/internal/types/testdata/fixedbugs/issue51616.go

    package p
    
    type (
            C[T any] interface{~int; M() T}
    
            _ C[bool]
            _ comparable
            _ interface {~[]byte | ~string}
    
            // Alias type declarations may refer to "constraint" types
            // like ordinary type declarations.
            _ = C[bool]
            _ = comparable
            _ = interface {~[]byte | ~string}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 497 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td

    // satisfied by SAME or VALID tensorflow padding.
    def HasCustomPadding:
      Constraint<CPred<"GetAvgPoolOpPadAttr($_builder, (*$0.begin()).getDefiningOp<mhlo::CompositeOp>()) == $_builder.getStringAttr(\"CUSTOM\")">>;
    
    // Returns true if the provided padding in the composite op can be satisfied 
    // by SAME or VALID tensorflow padding.
    def HasSameOrValidPadding: Constraint<Neg<HasCustomPadding.predicate>>;
    
    // See the function doc in the header file.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top