Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 500 for Constraint (0.22 sec)

  1. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td

    def AreTheSameElementType : Constraint<
      CPred<"$0.getType() == $1.getType()">>;
    
    // Checks if the given two values are the same.
    def AreTheSameValue : Constraint<
      CPred<"$0 == $1">>;
    
    // Checks if the value has rank.
    def HasRank : Constraint<
      CPred<"$0.getType().cast<ShapedType>().hasRank()">>;
    
    // Checks if the value has rank of `n`.
    class HasRankOf<int n> : Constraint<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 04:55:44 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go

    	goBuildPos   token.Pos       // position of first go:build line found
    	plusBuildPos token.Pos       // position of first "+build" line found
    	goBuild      constraint.Expr // go:build constraint found
    	plusBuild    constraint.Expr // AND of +build constraints found
    }
    
    func (check *checker) init(pass *analysis.Pass) {
    	check.pass = pass
    	check.goBuildOK = true
    	check.plusBuildOK = true
    	check.crossCheck = true
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ModuleComponentSelectorSerializerTest.groovy

            when:
            def constraint = new DefaultMutableVersionConstraint('')
            constraint.branch = 'custom-branch'
            def result = serialize(newSelector(UTIL, constraint, ImmutableAttributes.EMPTY, []), serializer)
    
            then:
            result == newSelector(UTIL, constraint, ImmutableAttributes.EMPTY, [])
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. schema/constraint_test.go

    	results := map[string]schema.CheckConstraint{
    		"name_checker": {
    			Name:       "name_checker",
    			Constraint: "name <> 'jinzhu'",
    		},
    		"chk_user_checks_name2": {
    			Name:       "chk_user_checks_name2",
    			Constraint: "name <> 'jinzhu'",
    		},
    		"chk_user_checks_name3": {
    			Name:       "chk_user_checks_name3",
    			Constraint: "name <> 'jinzhu'",
    		},
    	}
    
    	checks := user.ParseCheckConstraints()
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/AuthScheme.groovy

            }
    
            private ConstraintMapping createConstraintMapping(String path) {
                def constraint = new Constraint()
                constraint.name = constraintName()
                constraint.authenticate = true
                constraint.roles = [Constraint.ANY_ROLE, Constraint.ANY_AUTH, TestUserRealm.ROLE] as String[]
                def constraintMapping = new ConstraintMapping()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/utils.td

    def GetShape: NativeCodeCall<"GetShape($0)">;
    
    // Constraint that values in list attribute are all ones.
    def IsAllOnesConstant : Constraint<CPred<"TFL::IsAllOnesConstant($0)">>;
    
    // Constraint that checks if the transpose op is trivial. Trivial means that
    // the permutation is a cyclic permutation of the original shape with only the
    // identity dimensions permuted.
    def IsTransposeTrivial : Constraint<CPred<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/GradleVersionSpec.java

                }
            }
            if (specs.size() == 1) {
                return specs.get(0);
            }
            return Specs.intersect(specs);
        }
    
        private void validateLowestTestedVersion(String constraint, String value, GradleVersion minVersion) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue42881.go

    	T2 interface{ int }
    )
    
    var (
    	_ comparable // ERROR "cannot use type comparable outside a type constraint: interface is (or embeds) comparable"
    	_ T1         // ERROR "cannot use type T1 outside a type constraint: interface is (or embeds) comparable"
    	_ T2         // ERROR "cannot use type T2 outside a type constraint: interface contains type constraints"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 567 bytes
    - Viewed (0)
  9. platforms/software/version-control/src/main/java/org/gradle/vcs/internal/resolver/PersistentVcsMetadataCache.java

            cache.useCache(() -> workingDirCache.put(constraintCacheKey(repository, constraint), selectedVersion));
        }
    
        private String constraintCacheKey(VersionControlRepositoryConnection repository, VersionConstraint constraint) {
            if (constraint.getBranch() != null) {
                return repository.getUniqueId() + ":b:" + constraint.getBranch();
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. src/go/types/typeparam.go

    // than one type will result in a panic.
    //
    // The constraint argument can be nil, and set later via SetConstraint. If the
    // constraint is non-nil, it must be fully defined.
    func NewTypeParam(obj *TypeName, constraint Type) *TypeParam {
    	return (*Checker)(nil).newTypeParam(obj, constraint)
    }
    
    // check may be nil
    func (check *Checker) newTypeParam(obj *TypeName, constraint Type) *TypeParam {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top