- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,080 for Constraint (0.22 sec)
-
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) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenBomResolveIntegrationTest.groovy
root(':', ':testproject:') { module("group:bom:1.0:platform-runtime") { constraint("group:moduleA:2.0", "group:moduleA:2.0") noArtifacts() } module("group:bom2:1.0:platform-runtime") { constraint("group:moduleA:2.0", "group:moduleA:2.0") noArtifacts() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 11.1K bytes - Viewed (0) -
test/typeparam/issue48137.go
// run // 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 main type Constraint[T any] interface { ~func() T } func Foo[T Constraint[T]]() T { var t T t = func() T { return t } return t } func main() { type Bar func() Bar Foo[Bar]()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 365 bytes - Viewed (0) -
src/go/parser/testdata/typeset.go2
// These are invalid and the type-checker will complain. _[~t] t _[~t|t] t _[t|~t] t _[~t|~t] t ) type _[_ t, t] /* ERROR "missing type constraint" */ t type _[_ ~t, t] /* ERROR "missing type constraint" */ t type _[_ t, ~ /* ERROR "missing type parameter name" */ t] t type _[_ ~t, ~ /* ERROR "missing type parameter name" */ t] t type _[_ t|t, t /* ERROR "missing type parameter name" */ |t] t
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 12:56:53 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/ForcingPlatformAlignmentTest.groovy
byAncestor() configuration(expectedVariant) constraint('org:core:2.7.9') constraint('org:databind:2.7.9') constraint('org:annotations:2.7.9') constraint('org:kotlin:2.7.9') noArtifacts() module("org:platform:2.7.9") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 39.3K bytes - Viewed (0) -
platforms/jvm/java-platform/src/integTest/groovy/org/gradle/integtests/resolve/platforms/NativeAlignmentWithJavaPlatformResolveIntegrationTest.groovy
platform.hasGradleMetadataRedirectionMarker() platform.parsedModuleMetadata.variant("apiElements") { constraint("com.acme.foo:core:$v") { exists() } constraint("com.acme.foo:lib:$v") { exists() } noMoreDependencies() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 8.9K 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) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ScriptHandlerScopeTest.kt
fun `can declare classpath dependency constraints`() { val constraint = mock<DependencyConstraint>() val constraintHandler = mock<DependencyConstraintHandler> { on { add(any(), any()) } doReturn constraint on { add(any(), any(), any()) } doReturn constraint } val dependencies = newDependencyHandlerMock { on { constraints } doReturn constraintHandler
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/UriType.java
import java.lang.annotation.Retention; import java.lang.annotation.Target; import javax.validation.Constraint; import javax.validation.Payload; import org.codelibs.fess.validation.UriTypeValidator.ProtocolType; @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER }) @Retention(RUNTIME) @Documented @Constraint(validatedBy = UriTypeValidator.class) public @interface UriType { ProtocolType protocolType();
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/kotlinDsl/androidBuild/kotlin/app/src/main/res/layout/activity_main.xml
<?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity"> <TextView android:layout_width="wrap_content"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 768 bytes - Viewed (0)