Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 94 for Position (0.15 sec)

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

        b.clear();
      }
    
      static void flip(Buffer b) {
        b.flip();
      }
    
      static void limit(Buffer b, int limit) {
        b.limit(limit);
      }
    
      static void position(Buffer b, int position) {
        b.position(position);
      }
    
      private Java8Compatibility() {}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ReaderInputStream.java

       * is perpetually "flipped" (unencoded characters between position and limit).
       */
      private CharBuffer charBuffer;
    
      /**
       * byteBuffer holds encoded characters that have not yet been sent to the caller of the input
       * stream. When encoding it is "unflipped" (encoded bytes between 0 and position) and when
       * draining it is flipped (undrained bytes between position and limit).
       */
      private ByteBuffer byteBuffer;
    
    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)
  3. android/guava/src/com/google/common/hash/AbstractByteHasher.java

        }
      }
    
      /** Updates this hasher with bytes from the given buffer. */
      protected void update(ByteBuffer b) {
        if (b.hasArray()) {
          update(b.array(), b.arrayOffset() + b.position(), b.remaining());
          Java8Compatibility.position(b, b.limit());
        } else {
          for (int remaining = b.remaining(); remaining > 0; remaining--) {
            update(b.get());
          }
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

            }
            return this;
          }
    
          @Override
          public Hasher putBytes(ByteBuffer bytes) {
            int pos = bytes.position();
            for (Hasher hasher : hashers) {
              Java8Compatibility.position(bytes, pos);
              hasher.putBytes(bytes);
            }
            return this;
          }
    
          @Override
          public Hasher putShort(short s) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ByteStreams.java

          long oldPosition = sourceChannel.position();
          long position = oldPosition;
          long copied;
          do {
            copied = sourceChannel.transferTo(position, ZERO_COPY_CHUNK_SIZE, to);
            position += copied;
            sourceChannel.position(position);
          } while (copied > 0 || position < sourceChannel.size());
          return position - oldPosition;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          }
          return crossOverUp(index, x);
        }
    
        /**
         * Fills the hole at {@code index} by moving in the least of its grandchildren to this position,
         * then recursively filling the new hole created.
         *
         * @return the position of the new hole (where the lowest grandchild moved from, that had no
         *     grandchild to replace it)
         */
        int fillHoleAt(int index) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/AbstractHasher.java

        }
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(ByteBuffer b) {
        if (b.hasArray()) {
          putBytes(b.array(), b.arrayOffset() + b.position(), b.remaining());
          Java8Compatibility.position(b, b.limit());
        } else {
          for (int remaining = b.remaining(); remaining > 0; remaining--) {
            putByte(b.get());
          }
        }
        return this;
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Iterators.java

          }
        };
      }
    
      /**
       * Advances {@code iterator} {@code position + 1} times, returning the element at the {@code
       * position}th position.
       *
       * @param position position of the element to return
       * @return the element at the specified position in {@code iterator}
       * @throws IndexOutOfBoundsException if {@code position} is negative or greater than or equal to
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Preconditions.java

       * Ensures that {@code start} and {@code end} specify valid <i>positions</i> in an array, list or
       * string of size {@code size}, and are in order. A position index may range from zero to {@code
       * size}, inclusive.
       *
       * @param start a user-supplied index identifying a starting position in an array, list or string
       * @param end a user-supplied index identifying an ending position in an array, list or string
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Ascii.java

       * printing space backward on the same printing line. (Applicable also to display devices.)
       *
       * @since 8.0
       */
      public static final byte BS = 8;
    
      /**
       * Horizontal Tabulation ('\t'): A format effector which controls the movement of the printing
       * position to the next in a series of predetermined positions along the printing line.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
Back to top