Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for greatestOf (0.09 sec)

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

        byte min = array[0];
        for (int i = 1; i < array.length; i++) {
          if (array[i] < min) {
            min = array[i];
          }
        }
        return min;
      }
    
      /**
       * Returns the greatest value present in {@code array}.
       *
       * @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
       *     in the array
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. docs/distributed/DESIGN.md

    of erasure set size is automatic based on the number of drives available, let's say for example if there are 32 servers and 32 drives which is a total of 1024 drives. In this scenario 16 becomes the erasure set size. This is decided based on the greatest common divisor (GCD) of acceptable erasure set sizes ranging from *4 to 16*.
    
    - *If total drives has many common divisors the algorithm chooses the minimum amounts of erasure sets possible for a erasure set size of any N*.  In the example...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Chars.java

       *
       * @param array an array of {@code char} values, possibly empty
       * @param target a primitive {@code char} 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(char[] array, char target) {
        return lastIndexOf(array, target, 0, array.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Shorts.java

       *
       * @param array an array of {@code short} values, possibly empty
       * @param target a primitive {@code short} 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(short[] array, short target) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Shorts.java

       *
       * @param array an array of {@code short} values, possibly empty
       * @param target a primitive {@code short} 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(short[] array, short target) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SortedLists.java

    import java.util.RandomAccess;
    import org.checkerframework.checker.nullness.qual.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.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. misc/cgo/gmp/gmp.go

    // DivModInt sets q = x / y and r = x % y.
    func DivModInt(q, r, x, y *Int) {
    	q.doinit()
    	r.doinit()
    	x.doinit()
    	y.doinit()
    	C.mpz_tdiv_qr(&q.i[0], &r.i[0], &x.i[0], &y.i[0])
    }
    
    // GcdInt sets d to the greatest common divisor of a and b,
    // which must be positive numbers.
    // If x and y are not nil, GcdInt sets x and y such that d = a*x + b*y.
    // If either a or b is not positive, GcdInt sets d = x = y = 0.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Chars.java

       *
       * @param array an array of {@code char} values, possibly empty
       * @param target a primitive {@code char} 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(char[] array, char target) {
        return lastIndexOf(array, target, 0, array.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. 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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Floats.java

       * that this always returns {@code -1} when {@code target} is {@code NaN}.
       *
       * @param array an array of {@code float} values, possibly empty
       * @param target a primitive {@code float} 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(float[] array, float target) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top