Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 61 for INCLUSIVE (0.07 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

       * is fine with that.
       */
    
      /**
       * Ensures that {@code index} specifies a valid <i>element</i> in an array, list or string of size
       * {@code size}. An element index may range from zero, inclusive, to {@code size}, exclusive.
       *
       * @param index a user-supplied index identifying an element of an array, list or string
       * @param size the size of that array, list or string
       * @return the value of {@code index}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/PairedStatsAccumulator.java

       * guaranteed to be exactly +/-1 even when the data are perfectly (anti-)correlated, due to
       * numerical errors. However, it is guaranteed to be in the inclusive range [-1, +1].
       *
       * <h3>Non-finite values</h3>
       *
       * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/LittleEndianByteArray.java

      /**
       * Load 8 bytes into long in a little endian manner, from the substring between position and
       * position + 8. The array must have at least 8 bytes from offset (inclusive).
       *
       * @param input the input bytes
       * @param offset the offset into the array at which to start
       * @return a long of a concatenated 8 bytes
       */
      static long load64(byte[] input, int offset) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/PairedStats.java

       * guaranteed to be exactly +/-1 even when the data are perfectly (anti-)correlated, due to
       * numerical errors. However, it is guaranteed to be in the inclusive range [-1, +1].
       *
       * <h3>Non-finite values</h3>
       *
       * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

            () -> UnsignedLongs.parseUnsignedLong("1234567890abcdef1", 16));
      }
    
      public void testParseLongThrowsExceptionForInvalidRadix() {
        // Valid radix values are Character.MIN_RADIX to Character.MAX_RADIX, inclusive.
        assertThrows(
            NumberFormatException.class,
            () -> UnsignedLongs.parseUnsignedLong("0", Character.MIN_RADIX - 1));
    
        assertThrows(
            NumberFormatException.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableList.java

        return indexOf(object) >= 0;
      }
    
      // constrain the return type to ImmutableList<E>
    
      /**
       * Returns an immutable list of the elements between the specified {@code fromIndex}, inclusive,
       * and {@code toIndex}, exclusive. (If {@code fromIndex} and {@code toIndex} are equal, the empty
       * immutable list is returned.)
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/CharMatcher.java

        return anyOf(sequence).negate();
      }
    
      /**
       * Returns a {@code char} matcher that matches any character in a given BMP range (both endpoints
       * are inclusive). For example, to match any lowercase letter of the English alphabet, use {@code
       * CharMatcher.inRange('a', 'z')}.
       *
       * @throws IllegalArgumentException if {@code endInclusive < startInclusive}
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/LongMathTest.java

      public void testIsPrimeOnUniformRandom() {
        Random rand = new Random(1);
        for (int bits = 10; bits < 63; bits++) {
          for (int i = 0; i < 2000; i++) {
            // A random long between 0 and Long.MAX_VALUE, inclusive.
            long l = rand.nextLong() & ((1L << bits) - 1);
            assertEquals(BigInteger.valueOf(l).isProbablePrime(100), LongMath.isPrime(l));
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/net/InetAddresses.java

          if (digit < 0) {
            return -1;
          }
          decimal += digit;
        }
        return decimal;
      }
    
      // Parse a hextet out of the ipString from start (inclusive) to end (exclusive)
      private static short parseHextet(String ipString, int start, int end) {
        // Note: we already verified that this string contains only hex digits.
        int length = end - start;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

          if (digit < 0) {
            return -1;
          }
          decimal += digit;
        }
        return decimal;
      }
    
      // Parse a hextet out of the ipString from start (inclusive) to end (exclusive)
      private static short parseHextet(String ipString, int start, int end) {
        // Note: we already verified that this string contains only hex digits.
        int length = end - start;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top