Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 566 for compare (0.08 sec)

  1. CHANGELOG/CHANGELOG-1.31.md

    - github.com/cenkalti/backoff/v4: [v4.2.1 → v4.3.0](https://github.com/cenkalti/backoff/compare/v4.2.1...v4.3.0)
    - github.com/cespare/xxhash/v2: [v2.2.0 → v2.3.0](https://github.com/cespare/xxhash/compare/v2.2.0...v2.3.0)
    - github.com/chzyer/readline: [2972be2 → v1.5.1](https://github.com/chzyer/readline/compare/2972be2...v1.5.1)
    - github.com/cncf/udpa/go: [c52dc94 → 269d4d4](https://github.com/cncf/udpa/compare/c52dc94...269d4d4)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 12:18:32 UTC 2024
    - 315.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testExplicit_two() {
        Comparator<Integer> c = Ordering.explicit(42, 5);
        assertEquals(0, c.compare(5, 5));
        assertTrue(c.compare(5, 42) > 0);
        assertTrue(c.compare(42, 5) < 0);
        IncomparableValueException expected =
            assertThrows(IncomparableValueException.class, () -> c.compare(5, 666));
        assertEquals(666, expected.value);
        new EqualsTester()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testExplicit_two() {
        Comparator<Integer> c = Ordering.explicit(42, 5);
        assertEquals(0, c.compare(5, 5));
        assertTrue(c.compare(5, 42) > 0);
        assertTrue(c.compare(42, 5) < 0);
        IncomparableValueException expected =
            assertThrows(IncomparableValueException.class, () -> c.compare(5, 666));
        assertEquals(666, expected.value);
        new EqualsTester()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            for (String version : args) {
                ComparableVersion c = new ComparableVersion(version);
    
                if (prev != null) {
                    int compare = prev.compareTo(c);
                    System.out.println("   " + prev.toString() + ' ' + ((compare == 0) ? "==" : ((compare < 0) ? "<" : ">"))
                            + ' ' + version);
                }
    
                System.out.println(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Ints.java

      }
    
      /**
       * Compares the two specified {@code int} values. The sign of the value returned is the same as
       * that of {@code ((Integer) a).compareTo(b)}.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the
       * equivalent {@link Integer#compare} method instead.
       *
       * @param a the first {@code int} to compare
       * @param b the second {@code int} to compare
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.32.md

    - github.com/opencontainers/runc: [v1.1.13 → v1.1.14](https://github.com/opencontainers/runc/compare/v1.1.13...v1.1.14)
    - github.com/opencontainers/runtime-spec: [494a5a6 → v1.2.0](https://github.com/opencontainers/runtime-spec/compare/494a5a6...v1.2.0)
    - github.com/pelletier/go-toml: [v1.2.0 → v1.9.5](https://github.com/pelletier/go-toml/compare/v1.2.0...v1.9.5)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 29 20:17:52 UTC 2024
    - 121.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/GeneralRange.java

         */
        if (hasLowerBound) {
          int unused =
              comparator.compare(
                  uncheckedCastNullableTToT(lowerEndpoint), uncheckedCastNullableTToT(lowerEndpoint));
        }
        if (hasUpperBound) {
          int unused =
              comparator.compare(
                  uncheckedCastNullableTToT(upperEndpoint), uncheckedCastNullableTToT(upperEndpoint));
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ComparatorOrdering.java

      final Comparator<T> comparator;
    
      ComparatorOrdering(Comparator<T> comparator) {
        this.comparator = checkNotNull(comparator);
      }
    
      @Override
      public int compare(@ParametricNullness T a, @ParametricNullness T b) {
        return comparator.compare(a, b);
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Doubles.java

       * to the JDK until JDK 7.
       *
       * @param a the first {@code double} to compare
       * @param b the second {@code double} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      @InlineMe(replacement = "Double.compare(a, b)")
      public static int compare(double a, double b) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedSet.java

        // Pretend the comparator can compare anything. If it turns out it can't
        // compare a and b, we should get a CCE or NPE on the subsequent line. Only methods
        // that are spec'd to throw CCE and NPE should call this.
        @SuppressWarnings({"unchecked", "nullness"})
        Comparator<@Nullable Object> unsafeComparator = (Comparator<@Nullable Object>) comparator;
        return unsafeComparator.compare(a, b);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
Back to top