Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 58 for greatestOf (0.23 seconds)

  1. android/guava/src/com/google/common/primitives/Ints.java

       *
       * @param array an array of {@code int} values, possibly empty
       * @param target a primitive {@code int} value
       * @return the greatest index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int lastIndexOf(int[] array, int target) {
        return lastIndexOf(array, target, 0, array.length);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 31.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/SortedLists.java

    import java.util.List;
    import java.util.RandomAccess;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Static methods pertaining to sorted {@link List} instances.
     *
     * <p>In this documentation, the terms <i>greatest</i>, <i>greater</i>, <i>least</i>, and
     * <i>lesser</i> are considered to refer to the comparator on the elements, and the terms
     * <i>first</i> and <i>last</i> are considered to refer to the elements' ordering in a list.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        for (int i = 1; i < array.length; i++) {
          long next = flip(array[i]);
          if (next < min) {
            min = next;
          }
        }
        return flip(min);
      }
    
      /**
       * Returns the greatest value present in {@code array}, treating values as unsigned.
       *
       * @param array a <i>nonempty</i> array of unsigned {@code long} values
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/Bytes.java

       *
       * @param array an array of {@code byte} values, possibly empty
       * @param target a primitive {@code byte} value
       * @return the greatest index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int lastIndexOf(byte[] array, byte target) {
        return lastIndexOf(array, target, 0, array.length);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. cmd/endpoint-ellipses.go

    }
    
    // Supported set sizes this is used to find the optimal
    // single set size.
    var setSizes = []uint64{2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}
    
    // getDivisibleSize - returns a greatest common divisor of
    // all the ellipses sizes.
    func getDivisibleSize(totalSizes []uint64) (result uint64) {
    	gcd := func(x, y uint64) uint64 {
    		for y != 0 {
    			x, y = y, x%y
    		}
    		return x
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/primitives/Longs.java

       *
       * @param array an array of {@code long} values, possibly empty
       * @param target a primitive {@code long} value
       * @return the greatest index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int lastIndexOf(long[] array, long target) {
        return lastIndexOf(array, target, 0, array.length);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 29K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInts.java

        for (int i = 1; i < array.length; i++) {
          int next = flip(array[i]);
          if (next < min) {
            min = next;
          }
        }
        return flip(min);
      }
    
      /**
       * Returns the greatest value present in {@code array}, treating values as unsigned.
       *
       * @param array a <i>nonempty</i> array of unsigned {@code int} values
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/Booleans.java

       *
       * @param array an array of {@code boolean} values, possibly empty
       * @param target a primitive {@code boolean} value
       * @return the greatest index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int lastIndexOf(boolean[] array, boolean target) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/primitives/UnsignedBytes.java

        for (int i = 1; i < array.length; i++) {
          int next = toUnsignedInt(array[i]);
          if (next < min) {
            min = next;
          }
        }
        return (byte) min;
      }
    
      /**
       * Returns the greatest value present in {@code array}, treating values as unsigned.
       *
       * @param array a <i>nonempty</i> array of {@code byte} values
       * @return the value present in {@code array} that is greater than or equal to every other value
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 21K bytes
    - Click Count (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

     * <li>Strings are checked for well-known qualifiers, and the qualifier ordering is used for version ordering.
     *     Well-known qualifiers (case-insensitive) are, in order from least to greatest:<ol>
     *     <li><code>alpha</code> or <code>a</code></li>
     *     <li><code>beta</code> or <code>b</code></li>
     *     <li><code>milestone</code> or <code>m</code></li>
     *     <li><code>rc</code> or <code>cr</code></li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
Back to Top