Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 77 for comparisons (0.05 sec)

  1. guava/src/com/google/common/primitives/Floats.java

          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the least value present in {@code array}, using the same rules of comparison as {@link
       * Math#min(float, float)}.
       *
       * @param array a <i>nonempty</i> array of {@code float} values
       * @return the value present in {@code array} that is less than or equal to every other value in
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TopKSelector.java

     * offering expected O(n + k log k) performance (worst case O(n log k)) for n calls to {@link
     * #offer} and a call to {@link #topK}, with O(k) memory. In comparison, quickselect has the same
     * asymptotics but requires O(n) memory, and a {@code PriorityQueue} implementation takes O(n log
     * k). In benchmarks, this implementation performs at least as well as either implementation, and
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Doubles.java

          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the least value present in {@code array}, using the same rules of comparison as {@link
       * Math#min(double, double)}.
       *
       * @param array a <i>nonempty</i> array of {@code double} values
       * @return the value present in {@code array} that is less than or equal to every other value in
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

       * left.equals(right)} instead of this method.
       *
       * @param left the map to treat as the "left" map for purposes of comparison
       * @param right the map to treat as the "right" map for purposes of comparison
       * @return the difference between the two maps
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          MapDifference<K, V> difference(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

       * left.equals(right)} instead of this method.
       *
       * @param left the map to treat as the "left" map for purposes of comparison
       * @param right the map to treat as the "right" map for purposes of comparison
       * @return the difference between the two maps
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          MapDifference<K, V> difference(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

             *
             * - 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 TypeVariable
             * implementation in each of the three possible cases:
             *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ACETest.java

                assertTrue(ACE.GENERIC_EXECUTE < ACE.GENERIC_WRITE, "GENERIC_EXECUTE should be less than GENERIC_WRITE");
                // Note: GENERIC_READ (0x80000000) is negative, so it's less than positive values in signed comparison
                assertTrue(ACE.GENERIC_WRITE > 0 && ACE.GENERIC_READ < 0, "GENERIC_WRITE is positive, GENERIC_READ is negative");
            }
    
            @Test
            @DisplayName("Should validate constant bit ranges")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Verify.java

     *
     * // In case bug 12345 happens again we'd rather just die
     * Verify.verify(bill.status() == Status.UNPAID,
     *     "Unexpected bill status: %s", bill.status());
     * }
     *
     * <h3>Comparison to alternatives</h3>
     *
     * <p><b>Note:</b> In some cases the differences explained below can be subtle. When it's unclear
     * which approach to use, <b>don't worry</b> too much about it; just pick something that seems
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            p1 = path1.lastIndexOf('/');
            p2 = path2.lastIndexOf('/');
            l1 = path1.length() - p1;
            l2 = path2.length() - p2;
    
            // anything with dots voids comparison
            if ((l1 > 1 && path1.charAt(p1 + 1) == '.') || (l2 > 1 && path2.charAt(p2 + 1) == '.')) {
                return true;
            }
    
            return l1 == l2 && path1.regionMatches(true, p1, path2, p2, l1);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Throwables.java

      }
    
      /**
       * Returns the stack trace of {@code throwable}, possibly providing slower iteration over the full
       * trace but faster iteration over parts of the trace. Here, "slower" and "faster" are defined in
       * comparison to the normal way to access the stack trace, {@link Throwable#getStackTrace()
       * throwable.getStackTrace()}. Note, however, that this method's special implementation is not
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top