- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 566 for compare (0.07 sec)
-
cmd/xl-storage-format-v2.go
// Prefer lower types if x.Type != o.Type { return x.Type < o.Type } // Consistent sort on signature if v := bytes.Compare(x.Signature[:], o.Signature[:]); v != 0 { return v > 0 } // On ID mismatch if v := bytes.Compare(x.VersionID[:], o.VersionID[:]); v != 0 { return v > 0 } // Flags if x.Flags != o.Flags { return x.Flags > o.Flags } return false }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 64K bytes - Viewed (1) -
guava/src/com/google/common/net/MediaType.java
return true; } else if (obj instanceof MediaType) { MediaType that = (MediaType) obj; return this.type.equals(that.type) && this.subtype.equals(that.subtype) // compare parameters regardless of order && this.parametersAsMap().equals(that.parametersAsMap()); } else { return false; } } @Override public int hashCode() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Sep 26 19:15:09 UTC 2024 - 47.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
@Generates <T extends @Nullable Object> Ordering<T> generateOrdering() { return new Ordering<T>() { @Override @SuppressWarnings("UnusedVariable") // intentionally weird Comparator public int compare(T left, T right) { return 0; } final String string = paramString(Ordering.class, generateInt()); @Override public String toString() { return string; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
} /** * Configures this {@code Builder} to order entries by value according to the specified * comparator. * * <p>The sort order is stable, that is, if two entries have values that compare as equivalent, * the entry that was inserted first will be first in the built map's iteration order. * * @throws IllegalStateException if this method was already called * @since 19.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
@Generates <T extends @Nullable Object> Ordering<T> generateOrdering() { return new Ordering<T>() { @Override @SuppressWarnings("UnusedVariable") // intentionally weird Comparator public int compare(T left, T right) { return 0; } final String string = paramString(Ordering.class, generateInt()); @Override public String toString() { return string; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.7K bytes - Viewed (0) -
docs/fr/docs/alternatives.md
# Alternatives, inspiration et comparaisons Ce qui a inspiré **FastAPI**, comment il se compare à d'autres solutions et ce qu'il en a appris. ## Intro **FastAPI** n'existerait pas sans les précédentes contributions d'autres projets. De nombreux outils ont été créés auparavant et ont contribué à inspirer sa création. J'ai évité la création d'un nouveau framework pendant plusieurs années. J'ai d'abord essayé de combler toutes les
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 27.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
private final int value; ClassWithTerribleHashCode(int value) { this.value = value; } @Override public int compareTo(ClassWithTerribleHashCode that) { return Integer.compare(this.value, that.value); } @Override public boolean equals(@Nullable Object x) { return x instanceof ClassWithTerribleHashCode
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
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.valueOf(x).compareTo(y)); } } } public void testContains() { assertThat(Floats.contains(EMPTY, (float) 1)).isFalse(); assertThat(Floats.contains(ARRAY1, (float) 2)).isFalse();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
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.valueOf(x).compareTo(y)); } } } public void testContains() { assertThat(Ints.contains(EMPTY, (int) 1)).isFalse(); assertThat(Ints.contains(ARRAY1, (int) 2)).isFalse();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.1K bytes - Viewed (0) -
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(x + ", " + y) .that(Doubles.compare(x, y)) .isEqualTo(Double.valueOf(x).compareTo(y)); } } } public void testContains() { assertThat(Doubles.contains(EMPTY, (double) 1)).isFalse();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0)