- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 317 for COMPARE (0.09 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-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) -
internal/s3select/sql/value.go
errArithInvalidOperator = errors.New("invalid arithmetic operator") errArithDivideByZero = errors.New("cannot divide by 0") errCmpMismatchedTypes = errors.New("cannot compare values of different types") errCmpInvalidBoolOperator = errors.New("invalid comparison operator for boolean arguments") ) // Value represents a value of restricted type reduced from an
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Feb 25 20:31:19 UTC 2022 - 20.2K 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.valueOf(x).compareTo(y)); } } } public void testContains() { assertThat(Floats.contains(EMPTY, (float) 1)).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
} 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.valueOf(x).compareTo(y)); } } } public void testContains() { assertThat(Ints.contains(EMPTY, (int) 1)).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
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.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) -
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.valueOf(x).compareTo(y)); } } } public void testContains() { assertThat(Floats.contains(EMPTY, (float) 1)).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) -
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.valueOf(x).compareTo(y)); } } } public void testContains() { assertThat(Longs.contains(EMPTY, (long) 1)).isFalse();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.8K bytes - Viewed (0) -
cmd/metacache-entries.go
oVer := oVers.versions[i] if eVer.header != oVer.header { if eVer.header.hasEC() != oVer.header.hasEC() { // One version has EC and the other doesn't - may have been written later. // Compare without considering EC. a, b := eVer.header, oVer.header a.EcN, a.EcM = 0, 0 b.EcN, b.EcM = 0, 0 if a == b { continue } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 24.1K bytes - Viewed (0) -
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)