- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 507 for compare (0.03 sec)
-
guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
return new NullFriendlyComparator<>(); } private static final class NullFriendlyComparator<T> implements Comparator<T>, Serializable { @Override public int compare(T left, T right) { return String.valueOf(left).compareTo(String.valueOf(right)); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 21.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
public void testCompare() { for (double x : VALUES) { for (double y : VALUES) { // note: spec requires only that the sign is the same assertWithMessage(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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
public void testCompare() { for (long x : VALUES) { for (long y : VALUES) { // note: spec requires only that the sign is the same assertWithMessage(x + ", " + y).that(Longs.compare(x, y)).isEqualTo(Long.compare(x, y)); } } } public void testContains() { assertThat(Longs.contains(EMPTY, 1L)).isFalse(); assertThat(Longs.contains(ARRAY1, 2L)).isFalse();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
public void testCompare() { for (float x : VALUES) { for (float y : VALUES) { // note: spec requires only that the sign is the same assertWithMessage(x + ", " + y).that(Floats.compare(x, y)).isEqualTo(Float.compare(x, y)); } } } public void testContains() { assertThat(Floats.contains(EMPTY, 1.0f)).isFalse(); assertThat(Floats.contains(ARRAY1, 2.0f)).isFalse();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
public void testCompare() { for (int x : VALUES) { for (int y : VALUES) { // note: spec requires only that the sign is the same assertWithMessage(x + ", " + y).that(Ints.compare(x, y)).isEqualTo(Integer.compare(x, y)); } } } public void testContains() { assertThat(Ints.contains(EMPTY, (int) 1)).isFalse(); assertThat(Ints.contains(ARRAY1, (int) 2)).isFalse();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
public void testCompare() { for (float x : VALUES) { for (float y : VALUES) { // note: spec requires only that the sign is the same assertWithMessage(x + ", " + y).that(Floats.compare(x, y)).isEqualTo(Float.compare(x, y)); } } } public void testContains() { assertThat(Floats.contains(EMPTY, 1.0f)).isFalse(); assertThat(Floats.contains(ARRAY1, 2.0f)).isFalse();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
xlMeta.AddTestObjectPart(i+1, 67108864) } return xlMeta } // Compare the unmarshaled XLMetaV1 with the one obtained from jsoniter parsing. func compareXLMetaV1(t *testing.T, unMarshalXLMeta, jsoniterXLMeta xlMetaV1Object) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 17.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 39.9K bytes - Viewed (0) -
src/bytes/bytes.go
func Equal(a, b []byte) bool { // Neither cmd/compile nor gccgo allocates for these string conversions. return string(a) == string(b) } // Compare returns an integer comparing two byte slices lexicographically. // The result will be 0 if a == b, -1 if a < b, and +1 if a > b. // A nil argument is equivalent to an empty slice. func Compare(a, b []byte) int { return bytealg.Compare(a, b) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
byte[] messageBytes = original.toByteArray(); // When Type3Message parsed = new Type3Message(messageBytes); // Then // Note: getType() method does not exist, so we cannot compare message types assertEquals(original.getDomain(), parsed.getDomain()); assertEquals(original.getUser(), parsed.getUser()); assertEquals(original.getWorkstation(), parsed.getWorkstation()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0)