Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 150 for leading (0.17 sec)

  1. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        testRotate(new float[] {1}, 0, 0, 1, new float[] {1});
        testRotate(new float[] {1}, 1, 0, 1, new float[] {1});
        testRotate(new float[] {1}, 1, 1, 1, new float[] {1});
    
        // Rotate the central 5 elements, leaving the ends as-is
        testRotate(new float[] {0, 1, 2, 3, 4, 5, 6}, -6, 1, 6, new float[] {0, 2, 3, 4, 5, 1, 6});
        testRotate(new float[] {0, 1, 2, 3, 4, 5, 6}, -1, 1, 6, new float[] {0, 2, 3, 4, 5, 1, 6});
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeMultiset.java

      @GwtIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        @SuppressWarnings("unchecked")
        // reading data stored by writeObject
        Comparator<? super E> comparator = (Comparator<? super E>) requireNonNull(stream.readObject());
        Serialization.getFieldSetter(AbstractSortedMultiset.class, "comparator").set(this, comparator);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

      }
    
      /**
       * Used to randomize {@link #goodFastHash} instances, so that programs which persist anything
       * dependent on the hash codes they produce will fail sooner.
       */
      @SuppressWarnings("GoodTime") // reading system time without TimeSource
      static final int GOOD_FAST_HASH_SEED = (int) System.currentTimeMillis();
    
      /**
       * Returns a hash function implementing the <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

          if (newValue != null) {
            // The pending load was clobbered by a manual write.
            // Unblock all pending gets, and have them return the new value.
            set(newValue);
          } else {
            // The pending load was removed. Delay notifications until loading completes.
            oldValue = unset();
          }
    
          // TODO(fry): could also cancel loading if we had a handle on its future
        }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Doubles.java

       * <p>Unlike {@link Double#parseDouble(String)}, this method returns {@code null} instead of
       * throwing an exception if parsing fails. Valid inputs are exactly those accepted by {@link
       * Double#valueOf(String)}, except that leading and trailing whitespace is not permitted.
       *
       * <p>This implementation is likely to be faster than {@code Double.parseDouble} if many failures
       * are expected.
       *
    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)
  6. android/guava/src/com/google/common/net/InternetDomainName.java

        ImmutableList<String> ancestorParts = parts.subList(levels, parts.size());
    
        // levels equals the number of dots that are getting clipped away, then add the length of each
        // clipped part to get the length of the leading substring that is being removed.
        int substringFrom = levels;
        for (int i = 0; i < levels; i++) {
          substringFrom += parts.get(i).length();
        }
        String ancestorName = name.substring(substringFrom);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteSource.java

       * than would be returned by reading all of the bytes (for example, some special files may return
       * a size of 0 despite actually having content when read).
       *
       * <p>In either case, for mutable sources such as files, a subsequent read may return a different
       * number of bytes if the contents are changed.
       *
       * @throws IOException if an I/O error occurs while reading the size of this source
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ReaderInputStream.java

       * draining it is flipped (undrained bytes between position and limit).
       */
      private ByteBuffer byteBuffer;
    
      /** Whether we've finished reading the reader. */
      private boolean endOfInput;
      /** Whether we're copying encoded bytes to the caller's buffer. */
      private boolean draining;
      /** Whether we've successfully flushed the encoder. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheStats.java

     *       <ul>
     *         <li>After successfully loading an entry {@code missCount} and {@code loadSuccessCount}
     *             are incremented, and the total loading time, in nanoseconds, is added to {@code
     *             totalLoadTime}.
     *         <li>When an exception is thrown while loading an entry, {@code missCount} and {@code
     *             loadExceptionCount} are incremented, and the total loading time, in nanoseconds, is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/CacheStats.java

     *       <ul>
     *         <li>After successfully loading an entry {@code missCount} and {@code loadSuccessCount}
     *             are incremented, and the total loading time, in nanoseconds, is added to {@code
     *             totalLoadTime}.
     *         <li>When an exception is thrown while loading an entry, {@code missCount} and {@code
     *             loadExceptionCount} are incremented, and the total loading time, in nanoseconds, is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
Back to top