- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 750 for Conflict (0.15 sec)
-
test/typeparam/issue50177.go
// license that can be found in the LICENSE file. package main import "fmt" type Fn[T any] func(T) type FnErr[T any] func(T) error // Test that local generic types across functions don't conflict, and they also don't // conflict with local non-generic types and local variables. func caller0() { type X[T any] struct { fn Fn[int] } x := X[int]{func(v int) { fmt.Println(v) }} x.fn(0) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 2K bytes - Viewed (0) -
pkg/webhooks/webhookpatch_test.go
retries := atomic.NewInt32(0) queue := newWebhookPatcherQueue(func(key types.NamespacedName) error { if key.Name == "conflict-for-ever" { retries.Inc() return errors.New("conflict error") } if key.Name == "conflict-success" { retries.Inc() if retries.Load() < 5 { return errors.New("conflict error") } success.Inc() return nil } success.Inc() return nil })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 02 09:53:38 UTC 2023 - 8.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r68/CompositeBuildModuleNamesCrossVersionSpec.groovy
import org.gradle.plugins.ide.tooling.r33.FetchEclipseProjects @TargetGradleVersion(">=6.8") class CompositeBuildModuleNamesCrossVersionSpec extends ToolingApiSpecification { def "name conflict between subproject and included build does not break IDEA import"() { given: settingsFile << """ rootProject.name = 'module-main' include 'module-b'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultConflictHandlerTest.groovy
expect: !handler.registerCandidate(a).conflictExists() !handler.registerCandidate(b).conflictExists() !handler.hasConflicts() } def "registers module with version conflict"() { def a = candidate("org", "a", "1", "2") def b = candidate("org", "b", "1") when: def aX = handler.registerCandidate(a) def bX = handler.registerCandidate(b)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-resolutionStrategy/groovy/build.gradle
implementation 'com.opencsv:opencsv:4.6' } // end::dependencies[] // tag::fail-on-version-conflict[] configurations.all { resolutionStrategy { failOnVersionConflict() } } // end::fail-on-version-conflict[] // tag::fail-on-dynamic[] configurations.all { resolutionStrategy { failOnDynamicVersions() } } // end::fail-on-dynamic[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 891 bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/viewing_debugging_dependencies.adoc
A project may request two different versions of the same dependency either directly or transitively. Gradle applies <<dependency_resolution.adoc#sec:version-conflict,version conflict resolution>> to ensure that only one version of the dependency exists in the dependency graph. The following example introduces a conflict with `commons-codec:commons-codec`, added both as a direct dependency and a transitive dependency of JGit: ====
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:55:38 UTC 2024 - 12K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/component_capabilities.adoc
In fact, `zookeeper` will bring in `log4j`, where what we want to use is `log4j-over-slf4j`. We can preemptively detect the conflict by adding a rule which will declare that both logging frameworks provide the same capability: .A build file with an implicit conflict of logging frameworks ====
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 6.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesRulesIntegrationTest.groovy
Cannot select module with conflict on capability 'cglib:cglib:3.2.5' also provided by [cglib:cglib:3.2.5($variant)]""") failure.assertHasCause("""Module 'cglib:cglib' has been rejected: Cannot select module with conflict on capability 'cglib:cglib:3.2.5' also provided by [cglib:cglib-nodep:3.2.5($variant)]""") } def "implicit capability conflict is detected if implicit capability is discovered late"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 17.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy
} } buildFile << """ dependencies { conf 'org:testA:1.0' conf 'org:testB:1.0' } // fix the conflict between modules providing the same capability using resolution rules configurations.all { resolutionStrategy { capabilitiesResolution.withCapability('org.test:cap') {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 07:37:10 UTC 2024 - 8.4K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolver.java
* under the License. */ package org.apache.maven.repository.metadata; import org.apache.maven.artifact.ArtifactScopeEnum; /** * Resolves conflicts in the supplied dependency graph. * Different implementations will implement different conflict resolution policies. * */ @Deprecated public interface GraphConflictResolver { String ROLE = GraphConflictResolver.class.getName(); /**
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 11:28:54 UTC 2023 - 1.7K bytes - Viewed (0)