- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 608 for compare (0.04 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java
} /** * Checks if a model version is greater than or equal to a target version. * * @param modelVersion the model version to check * @param targetVersion the target version to compare against * @return true if modelVersion >= targetVersion */ public static boolean isVersionGreaterOrEqual(String modelVersion, String targetVersion) { if (modelVersion == null || targetVersion == null) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 9.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
for (double x : VALUES) { for (double y : VALUES) { // note: spec requires only that the sign is the same assertWithMessage("%s, %s", x, y) .that(Doubles.compare(x, y)) .isEqualTo(Double.compare(x, y)); } } } public void testContains() { assertThat(Doubles.contains(EMPTY, 1.0)).isFalse(); assertThat(Doubles.contains(ARRAY1, 2.0)).isFalse();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 30.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
*/ @Nullable <T> T get(@Nonnull Key<T> key); /** * Retrieve of compute the data associated with the specified key. * * @param key the key for which to retrieve the session data, must not be {@code null} * @param supplier the supplier will compute the new value * @return the session data associated with the key */ @NullableRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
@SuppressWarnings("unchecked") // The null value can compare with any Object Comparable<Object> comparable = ArbitraryInstances.get(Comparable.class); assertEquals(0, comparable.compareTo(comparable)); assertThat(comparable.compareTo("")).isGreaterThan(0); assertThrows(NullPointerException.class, () -> comparable.compareTo(null)); } public void testGet_array() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 22.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
* of our TypeVariable implementation. * * - Under Android, it does. * * We want users to see the same behavior when they compare a built-in TypeVariable against * ours as they do when they perform the same comparison in reverse. To provide that * behavior on all platforms, TypeResolver must return the appropriate TypeVariableRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 22:30:05 UTC 2025 - 25.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
public void testCompare() { for (char x : VALUES) { for (char y : VALUES) { assertWithMessage("%s, %s", x, y) .that(Math.signum(Chars.compare(x, y))) .isEqualTo(Math.signum(Character.compare(x, y))); } } } public void testContains() { assertThat(Chars.contains(EMPTY, (char) 1)).isFalse(); assertThat(Chars.contains(ARRAY1, (char) 2)).isFalse();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 25.9K bytes - Viewed (0) -
cmd/metacache-stream.go
} // We have checked if prefix matches, so we can do direct compare. return b.First > prefix } // endedPrefix returns true if the given prefix ends within the block. func (b metacacheBlock) endedPrefix(prefix string) bool { if prefix == "" || strings.HasPrefix(b.Last, prefix) { return false } // We have checked if prefix matches, so we can do direct compare. return b.Last > prefix
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 07 15:37:12 UTC 2025 - 19.5K bytes - Viewed (0) -
docs/distributed/decom.sh
if [ "${expected_checksum}" != "${got_checksum}" ]; then echo "BUG: decommission failed on encrypted objects: expected ${expected_checksum} got ${got_checksum}" exit 1 fi # after decommissioning, compare listings in bucket2 and tiered ./mc version info myminio/bucket2 | grep -q "versioning is enabled" ret=$? if [ $ret -ne 0 ]; then echo "BUG: expected versioning enabled after decommission on bucket2" exit 1 fiRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon May 27 19:17:46 UTC 2024 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
assertThat(reverse).isNotNull(); } public void testBuilderAsymptotics() { int[] compares = {0}; Comparator<Integer> countingComparator = (i, j) -> { compares[0]++; return i.compareTo(j); }; ImmutableSortedSet.Builder<Integer> builder = new ImmutableSortedSet.Builder<Integer>(countingComparator, 10);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.7K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
if (roundArbitrarilyAsLong == Long.MAX_VALUE) { /* * For most values, the conversion from roundArbitrarily to roundArbitrarilyAsLong is * lossless. In that case we can compare x to roundArbitrarily using Long.compare(x, * roundArbitrarilyAsLong). The exception is for values where the conversion to double rounds * up to give roundArbitrarily equal to 2^63, so the conversion back to long overflows andRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 03 21:01:09 UTC 2025 - 46.8K bytes - Viewed (0)