- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,075 for chooses (0.14 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultVersionedComponentChooserTest.groovy
} when: 0 * componentSelectionRules.apply(_, _) then: chooser.selectNewestComponent(one, two) == two when: 0 * componentSelectionRules.apply(_, _) then: chooser.selectNewestComponent(two, three) == three } def "chooses non-generated descriptor over generated"() { def one = Mock(ModuleComponentGraphResolveMetadata) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 17:38:42 UTC 2024 - 17.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/dependencies/GradlePluginVariantsSupportTest.groovy
'8.0' | 'accepts' '6.8.3' | 'rejects' '6.8-rc-2' | 'rejects' '5.0' | 'rejects' } def "chooses exact match API if available"() { when: def consumer = versionAttribute('7.0') def producer = [ versionAttribute('6.0'), versionAttribute('7.0'),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.3K bytes - Viewed (0) -
docs/distributed/DESIGN.md
serverPools := z.getServerPoolsAvailableSpace(ctx) total := serverPools.TotalAvailable() // choose when we reach this many choose := rand.Uint64() % total atTotal := uint64(0) for _, pool := range serverPools { atTotal += pool.Available if atTotal > choose && pool.Available > 0 { return pool.Index } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Aug 15 23:04:20 UTC 2023 - 8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/LatestModuleConflictResolverTest.groovy
class LatestModuleConflictResolverTest extends AbstractConflictResolverTest { def setup() { resolver = new LatestModuleConflictResolver(new DefaultVersionComparator(), new VersionParser()) } def "chooses latest module version #version for candidates #candidates"() { given: candidateVersions candidates when: resolveConflicts() then: selected version
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Interner.java
* * @author Kevin Bourrillion * @since 3.0 */ @DoNotMock("Use Interners.new*Interner") @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public interface Interner<E> { /** * Chooses and returns the representative instance for any of a collection of instances that are * equal to each other. If two {@linkplain Object#equals equal} inputs are given to this method,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/TargetJvmVersionRulesTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 03 17:43:36 UTC 2023 - 3.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_get_ambiguous_pkg.txt
# Both example.net/ambiguous v0.1.0 and example.net/ambiguous/pkg v0.1.0 exist. # 'go mod tidy' would arbitrarily choose the one with the longer path, # but 'go mod tidy' also arbitrarily chooses the latest version. cp go.mod go.mod.orig # From a clean slate, 'go get' currently does the same thing as 'go mod tidy': # it resolves the package from the module with the longest matching prefix. go get example.net/ambiguous/nested/pkg@v0.1.0 go list -m all
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 28 17:19:14 UTC 2021 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathBenchmarking.java
} while (result.signum() == 0); return result; } /** * Generates a number in [0, 2^numBits) with an exponential distribution. The floor of the log2 of * the result is chosen uniformly at random in [0, numBits), and then the result is chosen in that * range uniformly at random. Zero is treated as having log2 == 0. */ static BigInteger randomNonNegativeBigInteger(int numBits) { int digits = RANDOM_SOURCE.nextInt(numBits);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-provider-plugins/src/test/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/DefaultProjectSchemaProviderTest.kt
import org.hamcrest.CoreMatchers.equalTo import org.hamcrest.MatcherAssert.assertThat import org.junit.Test class DefaultProjectSchemaProviderTest { @Test fun `chooses first public interface in type hierarchy`() { val androidExtensionsSchema = DefaultExtensionsSchema.create( listOf( extensionSchema( "kotlinOptions",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/dependency_capability_conflict.adoc
Often a dependency graph would accidentally contain multiple implementations of the same API. This is particularly common with logging frameworks, where multiple bindings are available, and that one library chooses a binding when another transitive dependency chooses another. Because those implementations live at different GAV coordinates, the build tool has usually no way to find out that there's a conflict between those libraries.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 07 01:37:51 UTC 2023 - 6.9K bytes - Viewed (0)