- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,080 for Constraint (0.13 sec)
-
platforms/software/version-control/src/main/java/org/gradle/vcs/internal/resolver/VcsVersionSelectionCache.java
String cacheKey = constraintCacheKey(repository, constraint); return resolvedVersions.get(cacheKey); } public void putWorkingDirForSelector(VersionControlRepositoryConnection repository, VersionConstraint constraint, File workingDir) { String cacheKey = constraintCacheKey(repository, constraint); resolvedVersions.put(cacheKey, workingDir);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3.2K bytes - Viewed (0) -
src/go/doc/testdata/generics.0.golden
PACKAGE generics IMPORTPATH testdata/generics FILENAMES testdata/generics.go FUNCTIONS // AnotherFunc has an implicit constraint interface. Neither type ... func AnotherFunc[T ~struct{ f int }](_ struct{ f int }) // Func has an instantiated constraint. func Func[T Constraint[string, Type[int]]]() // Single is not a factory function. func Single[T any]() *T // Slice is not a factory function.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 10 18:06:32 UTC 2021 - 1.8K bytes - Viewed (0) -
src/go/doc/testdata/generics.2.golden
PACKAGE generics IMPORTPATH testdata/generics FILENAMES testdata/generics.go FUNCTIONS // AnotherFunc has an implicit constraint interface. Neither type ... func AnotherFunc[T ~struct{ f int }](_ struct{ f int }) // Func has an instantiated constraint. func Func[T Constraint[string, Type[int]]]() // Single is not a factory function. func Single[T any]() *T // Slice is not a factory function.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 10 18:06:32 UTC 2021 - 1.8K bytes - Viewed (0) -
platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/integtests/resolve/consistency/JavaProjectResolutionConsistencyIntegrationTest.groovy
byConsistentResolution('testCompileClasspath') } } constraint("org:foo:{strictly 1.0}", "org:foo:1.0") constraint("org:baz:{strictly 1.0}", "org:baz:1.0") constraint("org:transitive:{strictly 1.0}", "org:transitive:1.0") } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 12 18:44:49 UTC 2023 - 10.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/result/AbstractDependencyResult.java
private final ResolvedComponentResult from; private boolean constraint; public AbstractDependencyResult(ComponentSelector requested, ResolvedComponentResult from, boolean constraint) { assert requested != null; assert from != null; this.from = from; this.requested = requested; this.constraint = constraint; } @Override public ComponentSelector getRequested() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DefaultDaemonConnector.java
final List<DaemonInfo> compatibleIdleDaemons = getCompatibleDaemons(idleDaemons, constraint); return findConnection(compatibleIdleDaemons); } private DaemonClientConnection connectToCanceledDaemon(Collection<DaemonInfo> busyDaemons, ExplainingSpec<DaemonContext> constraint) { DaemonClientConnection connection = null;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 14.1K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/testdata/issue43527.go
package p type ( // 0 and 1-element []-lists are syntactically valid _[A, B /* ERROR missing type constraint */ ] int _[A, /* ERROR missing type parameter name */ interface{}] int _[A, B, C /* ERROR missing type constraint */ ] int _[A B, C /* ERROR missing type constraint */ ] int _[A B, /* ERROR missing type parameter name */ interface{}] int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 01 17:49:03 UTC 2023 - 1.1K bytes - Viewed (0) -
src/go/doc/testdata/generics.go
// MethodB has a blank receiver type parameter. func (t Type[_]) MethodB() {} // MethodC has a lower-case receiver type parameter. func (t Type[c]) MethodC() {} // Constraint is a constraint interface with two type parameters. type Constraint[P, Q interface{ string | ~int | Type[int] }] interface { ~int | ~byte | Type[string] M() P } // int16 shadows the predeclared type int16. type int16 int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 10 18:06:32 UTC 2021 - 2.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultDependencyConstraint.java
public DependencyConstraint copy() { DefaultDependencyConstraint constraint = new DefaultDependencyConstraint(moduleIdentifier, versionConstraint); constraint.reason = reason; constraint.attributes = attributes; constraint.attributesFactory = attributesFactory; constraint.force = force; return constraint; } @Override public String toString() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 00:10:09 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsAndResolutionStrategiesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:33:46 UTC 2024 - 6.4K bytes - Viewed (0)