Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for esClient (0.26 sec)

  1. android/guava/src/com/google/common/math/LongMath.java

      static boolean fitsInInt(long x) {
        return (int) x == x;
      }
    
      /**
       * Returns the arithmetic mean of {@code x} and {@code y}, rounded toward negative infinity. This
       * method is resilient to overflow.
       *
       * @since 14.0
       */
      public static long mean(long x, long y) {
        // Efficient method for computing the arithmetic mean.
        // The alternative (x + y) / 2 fails for large values.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/IntMathTest.java

        assertEquals(
            "The mean of x and y should equal the mean of y and x", expectedMean, IntMath.mean(y, x));
      }
    
      /**
       * Computes the mean in a way that is obvious and resilient to overflow by using BigInteger
       * arithmetic.
       */
      private static int computeMeanSafely(int x, int y) {
        BigInteger bigX = BigInteger.valueOf(x);
        BigInteger bigY = BigInteger.valueOf(y);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/IntMath.java

        39,
        37,
        35,
        34,
        34,
        33
      };
    
      /**
       * Returns the arithmetic mean of {@code x} and {@code y}, rounded towards negative infinity. This
       * method is overflow resilient.
       *
       * @since 14.0
       */
      public static int mean(int x, int y) {
        // Efficient method for computing the arithmetic mean.
        // The alternative (x + y) / 2 fails for large values.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/LongMathTest.java

        assertEquals(
            "The mean of x and y should equal the mean of y and x", expectedMean, LongMath.mean(y, x));
      }
    
      /**
       * Computes the mean in a way that is obvious and resilient to overflow by using BigInteger
       * arithmetic.
       */
      private static long computeMeanSafely(long x, long y) {
        BigInteger bigX = BigInteger.valueOf(x);
        BigInteger bigY = BigInteger.valueOf(y);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/IntMathTest.java

        assertEquals(
            "The mean of x and y should equal the mean of y and x", expectedMean, IntMath.mean(y, x));
      }
    
      /**
       * Computes the mean in a way that is obvious and resilient to overflow by using BigInteger
       * arithmetic.
       */
      private static int computeMeanSafely(int x, int y) {
        BigInteger bigX = BigInteger.valueOf(x);
        BigInteger bigY = BigInteger.valueOf(y);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/LongMathTest.java

        assertEquals(
            "The mean of x and y should equal the mean of y and x", expectedMean, LongMath.mean(y, x));
      }
    
      /**
       * Computes the mean in a way that is obvious and resilient to overflow by using BigInteger
       * arithmetic.
       */
      private static long computeMeanSafely(long x, long y) {
        BigInteger bigX = BigInteger.valueOf(x);
        BigInteger bigY = BigInteger.valueOf(y);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
Back to top