- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 278 for Constraint (0.15 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DependenciesExtensionModule.java
call(self, dependencyOrDependencyConstraint, null); } /** * Add a dependency or dependency constraint. * * @param dependencyOrDependencyConstraint dependency or dependency constraint to add * @param configuration an action to configure the dependency or dependency constraint */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 14:04:39 UTC 2024 - 12.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/integtests/tooling/fixture/GradleVersionSpecTest.groovy
*/ package org.gradle.integtests.tooling.fixture import org.gradle.util.GradleVersion import spock.lang.Specification class GradleVersionSpecTest extends Specification { def "greater-than-or-equal version constraint matches all versions with specified base version and later"() { def spec = new GradleVersionSpec().toSpec(">=1.0") expect: spec.isSatisfiedBy(GradleVersion.version("1.0"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 06:17:20 UTC 2024 - 8.9K bytes - Viewed (0) -
src/go/printer/gobuild.go
insert = p.plusBuild[0] } var x constraint.Expr switch len(p.goBuild) { case 0: // Synthesize //go:build expression from // +build lines. for _, pos := range p.plusBuild { y, err := constraint.Parse(p.commentTextAt(pos)) if err != nil { x = nil break } if x == nil { x = y } else { x = &constraint.AndExpr{X: x, Y: y} } } case 1:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4.6K bytes - Viewed (0) -
maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java
private VersionParserException parseInvalid(String constraint) { try { versionParser.parseVersionConstraint(constraint); fail("expected exception for constraint " + constraint); return null; } catch (VersionParserException e) { return e; } } @Test
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue May 21 09:54:32 UTC 2024 - 3.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionParser.java
*/ @Nonnull VersionRange parseVersionRange(@Nonnull String range); /** * Parses the specified version constraint specification, for example "1.0" or "[1.0,2.0)". * * @param constraint the range specification to parse, must not be {@code null} * @return the parsed version constraint, never {@code null} * @throws VersionParserException if the range specification violates the syntax rules of this scheme */
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 2.7K bytes - Viewed (0) -
maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java
} @Override public VersionConstraint parseVersionConstraint(String constraint) { requireNonNull(constraint, "constraint"); return new DefaultVersionConstraint(versionScheme, constraint); } static class DefaultVersion implements Version { private final VersionScheme versionScheme;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue May 21 09:54:32 UTC 2024 - 9.4K bytes - Viewed (0) -
src/crypto/x509/parser.go
} // If the constraint contains an @ then // it specifies an exact mailbox name. if strings.Contains(constraint, "@") { if _, ok := parseRFC2821Mailbox(constraint); !ok { return nil, nil, nil, nil, fmt.Errorf("x509: failed to parse rfc822Name constraint %q", constraint) } } else { // Otherwise it's a domain name.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 38.5K bytes - Viewed (0) -
src/go/internal/gcimporter/iimport.go
implicit = r.bool() } constraint := r.typ() if implicit { iface, _ := constraint.(*types.Interface) if iface == nil { errorf("non-interface constraint marked implicit") } iface.MarkImplicit() } // The constraint type may not be complete, if we // are in the middle of a type recursion involving type // constraints. So, we defer SetConstraint until we have
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java
} @Override public VersionConstraint parseVersionConstraint(String constraint) { requireNonNull(constraint, "constraint"); return new DefaultVersionConstraint(versionScheme, constraint); } static class DefaultVersion implements Version { private final VersionScheme versionScheme;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 9.4K bytes - Viewed (0) -
src/go/types/instantiate.go
// is called through an exported API call such as AssignableTo. If constraint // is set, T is a type constraint. // // If the provided cause is non-nil, it may be set to an error string // explaining why V does not implement (or satisfy, for constraints) T. func (check *Checker) implements(pos token.Pos, V, T Type, constraint bool, cause *string) bool { Vu := under(V) Tu := under(T)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.8K bytes - Viewed (0)