Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 120 for moving (0.2 sec)

  1. android/guava/src/com/google/common/collect/ObjectArrays.java

        for (int i = 0; i < length; i++) {
          checkElementNotNull(array[i], i);
        }
        return array;
      }
    
      // We do this instead of Preconditions.checkNotNull to save boxing and array
      // creation cost.
      @CanIgnoreReturnValue
      static Object checkElementNotNull(@CheckForNull Object element, int index) {
        if (element == null) {
          throw new NullPointerException("at index " + index);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/Striped64.java

       * needed again; and for short-lived ones, it does not matter.
       */
    
      /**
       * Padded variant of AtomicLong supporting only raw accesses plus CAS. The value field is placed
       * between pads, hoping that the JVM doesn't reorder them.
       *
       * <p>JVM intrinsics note: It would be possible to use a release-only form of CAS here, if it were
       * provided.
       */
      static final class Cell {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/PairedStats.java

            ensurePositive(xSumOfSquaresOfDeltas * ySumOfSquaresOfDeltas);
        return ensureInUnitRange(sumOfProductsOfDeltas / Math.sqrt(productOfSumsOfSquaresOfDeltas));
      }
    
      /**
       * Returns a linear transformation giving the best fit to the data according to <a
       * href="http://mathworld.wolfram.com/LeastSquaresFitting.html">Ordinary Least Squares linear
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Doubles.java

        public boolean contains(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          return (target instanceof Double)
              && Doubles.indexOf(array, (Double) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Double) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/Helpers.java

            assertFalse(greater.equals(t));
          }
        }
      }
    
      /**
       * Returns a collection that simulates concurrent modification by having its size method return
       * incorrect values. This is useful for testing methods that must treat the return value from
       * size() as a hint only.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedBytes.java

      /**
       * Compares the two specified {@code byte} values, treating them as unsigned values between 0 and
       * 255 inclusive. For example, {@code (byte) -127} is considered greater than {@code (byte) 127}
       * because it is seen as having the value of positive {@code 129}.
       *
       * @param a the first {@code byte} to compare
       * @param b the second {@code byte} to compare
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Chars.java

        public boolean contains(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          return (target instanceof Character)
              && Chars.indexOf(array, (Character) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Character) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InetAddresses.java

     * socket option on an IPv6 socket). Yes, it's confusing. Nevertheless, these "mapped" addresses
     * were never supposed to be seen on the wire. That assumption was dropped, some say mistakenly, in
     * later RFCs with the apparent aim of making IPv4-to-IPv6 transition simpler.
     *
     * <p>Technically one <i>can</i> create a 128bit IPv6 address with the wire format of a "mapped"
     * address, as shown above, and transmit it in an IPv6 packet header. However, Java's InetAddress
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  9. guava-tests/test/com/google/common/io/MoreFilesTest.java

        }
      }
    
      /**
       * Creates a new file system for testing that supports the given features in addition to
       * supporting symbolic links. The file system is created initially having the following file
       * structure:
       *
       * <pre>
       *   /
       *      work/
       *         dir/
       *            a
       *            b/
       *               g
       *               h -> ../a
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharSource.java

       * <p>Note that, in cases where {@code lengthIfKnown} returns zero, it is <i>possible</i> that
       * chars are actually available for reading. This means that a source may return {@code true} from
       * {@code isEmpty()} despite having readable content.
       *
       * @throws IOException if an I/O error occurs
       * @since 15.0
       */
      public boolean isEmpty() throws IOException {
        Optional<Long> lengthIfKnown = lengthIfKnown();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
Back to top