- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 528 for compares (0.07 seconds)
-
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
for (RoundingMode mode : asList(CEILING, UP)) { int result = BigIntegerMath.log2(x, mode); assertThat(ZERO.setBit(result)).isAtLeast(x); assertTrue(result == 0 || ZERO.setBit(result - 1).compareTo(x) < 0); } } } // Relies on the correctness of isPowerOfTwo(BigInteger). public void testLog2Exact() { for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Nov 19 01:35:24 GMT 2025 - 27.1K bytes - Click Count (0) -
tests/associations_belongs_to_test.go
AssertAssociationCount(t, users, "Company", 3, "") AssertAssociationCount(t, users, "Manager", 2, "") // Find var companies []Company if DB.Model(&users).Association("Company").Find(&companies); len(companies) != 3 { t.Errorf("companies count should be %v, but got %v", 3, len(companies)) } var managers []User if DB.Model(&users).Association("Manager").Find(&managers); len(managers) != 2 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 9.3K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
} private void assertVersionOlder(String left, String right) { assertTrue( newArtifactVersion(left).compareTo(newArtifactVersion(right)) < 0, left + " should be older than " + right); assertTrue( newArtifactVersion(right).compareTo(newArtifactVersion(left)) > 0, right + " should be newer than " + left); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 9.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
var end = 1 while (this[mid + end] != '\n'.code.toByte()) { end++ } val publicSuffixLength = mid + end - mid // Compare the bytes. Note that the file stores UTF-8 encoded bytes, so we must compare the // unsigned bytes. var compareResult: Int var currentLabelIndex = labelIndex var currentLabelByteIndex = 0 var publicSuffixByteIndex = 0Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/CollectorTester.java
T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object> { /** * Creates a {@code CollectorTester} for the specified {@code Collector}. The result of the {@code * Collector} will be compared to the expected value using {@link Object#equals}. */ public static <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object> CollectorTester<T, A, R> of(Collector<T, A, R> collector) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 6.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java
writer.write(actual, null, assembled); // check with getPom( baseName + "-expected" ) File expected = getPom(baseName + "-expected"); Diff diff = DiffBuilder.compare(expected) .withTest(actual) .ignoreComments() .ignoreWhitespace() .build();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 8.2K bytes - Click Count (0) -
.teamcity/.mvn/wrapper/maven-wrapper.jar
ommandLineParser$CaseInsensitiveStrin.class package org.apache.maven.wrapper.cli; final synchronized class CommandLineParser$CaseInsensitiveStrin implements java.util.Comparator { private void CommandLineParser$CaseInsensitiveStrin(); public int compare(String, String); } org/apache/maven/wrapper/cli/CommandLineParser$KnownOptionParserSta.class package org.apache.maven.wrapper.cli; synchronized class CommandLineParser$KnownOptionParserSta extends CommandLineParser$OptionParserState { private final...Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Feb 26 01:48:39 GMT 2020 - 49.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolver.java
/** * Resolves conflicting artifacts by always selecting the oldest declaration. Oldest is defined as the * declaration whose version is less according to <code>ArtifactVersion.compareTo</code>. * * @see ArtifactVersion#compareTo * @since 3.0 */ @Named("oldest") @Singleton @Deprecated public class OldestConflictResolver implements ConflictResolver {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.2K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
Duration initial = MonotonicClock.elapsed(); Thread.sleep(50); // Longer delay for more reliable measurement Duration later = MonotonicClock.elapsed(); assertTrue(later.compareTo(initial) > 0, "Elapsed time should increase"); assertTrue( later.minus(initial).toMillis() >= 45, "Elapsed time difference should be at least 45ms (accounting for some timing variance)");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.8K bytes - Click Count (0) -
api/go1.22.txt
pkg go/types, method (Checker) PkgNameOf(*ast.ImportSpec) *PkgName #62037 pkg go/types, type Alias struct #63223 pkg go/types, type Info struct, FileVersions map[*ast.File]string #62605 pkg go/version, func Compare(string, string) int #62039 pkg go/version, func IsValid(string) bool #62039 pkg go/version, func Lang(string) string #62039 pkg html/template, const ErrJSTemplate //deprecated #61619
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Jan 24 20:54:27 GMT 2024 - 7.7K bytes - Click Count (0)