- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for parsedSelector (0.25 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/DefaultVersionSelectorSchemeTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultResolvedVersionConstraint.java
isStrict = !strictVersion.isEmpty(); String version = isStrict ? strictVersion : requiredVersion; this.requiredVersionSelector = scheme.parseSelector(version); this.preferredVersionSelector = preferredVersion.isEmpty() ? null : scheme.parseSelector(preferredVersion); if (isStrict) { VersionSelector rejectionForStrict = getRejectionForStrict(version, scheme);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/MavenVersionSelectorSchemeTest.groovy
def mapper = new MavenVersionSelectorScheme(defaultMatcher) def "translates to maven syntax"() { given: def selector = defaultMatcher.parseSelector(input) expect: mapper.renderSelector(selector) == output where: input | output "]2,3]" | "(2,3]" "[2,3[" | "[2,3)"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/CachingVersionSelectorScheme.java
this.delegate = delegate; } @Override public VersionSelector parseSelector(String selectorString) { VersionSelector versionSelector = cachedSelectors.get(selectorString); if (versionSelector == null) { versionSelector = delegate.parseSelector(selectorString); cachedSelectors.put(selectorString, versionSelector); } return versionSelector;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 1.7K bytes - Viewed (0) -
pkg/test/framework/label/filter.go
return Selector{ present: NewSet(present...), absent: NewSet(absent...), } } var userLabelRegex = regexp.MustCompile(`^[a-zA-Z][a-zA-Z0-9_]*(\.[a-zA-Z0-9_]+)*$`) // ParseSelector parses and returns a new instance of Selector. func ParseSelector(s string) (Selector, error) { var present, absent []Instance parts := strings.Split(s, ",") for _, p := range parts { if len(p) == 0 { continue }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/MavenVersionSelectorScheme.java
} @Override public VersionSelector parseSelector(String selectorString) { if (selectorString.equals(RELEASE)) { return new LatestVersionSelector(LATEST_RELEASE); } else if (selectorString.equals(LATEST)) { return new LatestVersionSelector(LATEST_INTEGRATION); } else { return defaultVersionSelectorScheme.parseSelector(selectorString); } } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/dependencies/MavenVersionRangeMapper.java
} @Override public String map(String version) { return mavenVersionSelectorScheme.renderSelector(defaultVersionSelectorScheme.parseSelector(version)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/fields/fields.go
} // Set is a map of field:value. It implements Fields. type Set map[string]string // String returns all fields listed as a human readable string. // Conveniently, exactly the format that ParseSelector takes. func (ls Set) String() string { selector := make([]string, 0, len(ls)) for key, value := range ls { selector = append(selector, key+"="+value) } // Sort for determinism.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 19 14:50:16 UTC 2017 - 1.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/UnionVersionSelectorTest.groovy
selectors.each { members.add(selectorOf(it)) } } private VersionSelector selectorOf(String selectorString) { versionSelectorScheme.parseSelector(selectorString) } private Version versionOf(String candidate) { parser.transform(candidate) } private ComponentMetadata metadataFor(String candidate) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionSelectorScheme.java
* * @param selectorString - the string representation of the selector * @return the {@link VersionSelector} */ VersionSelector parseSelector(String selectorString); /** * Renders a {@link VersionSelector} to a selector string. */ String renderSelector(VersionSelector selector); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.7K bytes - Viewed (0)