Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,495 for greatest (0.29 sec)

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

            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
       * @return the value present in {@code array} that is greater than or equal to every other value
       *     in the array according to {@link #compare}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. 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) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. 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) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. src/sort/gen_sort_variants.go

    		root = child
    	}
    }
    
    func heapSort{{.FuncSuffix}}{{.TypeParam}}(data {{.DataType}}, a, b int {{.ExtraParam}}) {
    	first := a
    	lo := 0
    	hi := b - a
    
    	// Build heap with greatest element at top.
    	for i := (hi - 1) / 2; i >= 0; i-- {
    		siftDown{{.FuncSuffix}}(data, i, hi, first {{.ExtraArg}})
    	}
    
    	// Pop elements, largest first, into end of data.
    	for i := hi - 1; i >= 0; i-- {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/IntMath.java

        if (m <= 0) {
          throw new ArithmeticException("Modulus " + m + " must be > 0");
        }
        int result = x % m;
        return (result >= 0) ? result : result + m;
      }
    
      /**
       * Returns the greatest common divisor of {@code a, b}. Returns {@code 0} if {@code a == 0 && b ==
       * 0}.
       *
       * @throws IllegalArgumentException if {@code a < 0} or {@code b < 0}
       */
      public static int gcd(int a, int b) {
        /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/IntMath.java

        if (m <= 0) {
          throw new ArithmeticException("Modulus " + m + " must be > 0");
        }
        int result = x % m;
        return (result >= 0) ? result : result + m;
      }
    
      /**
       * Returns the greatest common divisor of {@code a, b}. Returns {@code 0} if {@code a == 0 && b ==
       * 0}.
       *
       * @throws IllegalArgumentException if {@code a < 0} or {@code b < 0}
       */
      public static int gcd(int a, int b) {
        /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. src/math/big/int.go

    	if z.neg && len(mWords) > 0 {
    		// make modulus result positive
    		z.abs = z.abs.sub(mWords, z.abs) // z == x**y mod |m| && 0 <= z < |m|
    		z.neg = false
    	}
    
    	return z
    }
    
    // GCD sets z to the greatest common divisor of a and b and returns z.
    // If x or y are not nil, GCD sets their value such that z = a*x + b*y.
    //
    // a and b may be positive, zero or negative. (Before Go 1.14 both had
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        List<InvocationTargetException> instantiationExceptions = Lists.newArrayList();
        List<FactoryMethodReturnsNullException> nullErrors = Lists.newArrayList();
        // Try factories with the greatest number of parameters.
        for (Invokable<?, ?> factory : factories) {
          if (factory.getParameters().size() == numberOfParameters) {
            try {
              testEqualsUsing(factory);
              return;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        List<InvocationTargetException> instantiationExceptions = Lists.newArrayList();
        List<FactoryMethodReturnsNullException> nullErrors = Lists.newArrayList();
        // Try factories with the greatest number of parameters.
        for (Invokable<?, ?> factory : factories) {
          if (factory.getParameters().size() == numberOfParameters) {
            try {
              testEqualsUsing(factory);
              return;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/LongMath.java

        if (m <= 0) {
          throw new ArithmeticException("Modulus must be positive");
        }
        long result = x % m;
        return (result >= 0) ? result : result + m;
      }
    
      /**
       * Returns the greatest common divisor of {@code a, b}. Returns {@code 0} if {@code a == 0 && b ==
       * 0}.
       *
       * @throws IllegalArgumentException if {@code a < 0} or {@code b < 0}
       */
      public static long gcd(long a, long b) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top