Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for Position (0.17 sec)

  1. 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 Apr 05 12:43:09 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/Java8Compatibility.java

        b.flip();
      }
    
      static void limit(Buffer b, int limit) {
        b.limit(limit);
      }
    
      static void mark(Buffer b) {
        b.mark();
      }
    
      static void position(Buffer b, int position) {
        b.position(position);
      }
    
      static void reset(Buffer b) {
        b.reset();
      }
    
      private Java8Compatibility() {}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  3. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

        };
      }
    
      /**
       * Returns the element at the specified position in an iterable.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.skip(position).findFirst().get()} (throws
       * {@code NoSuchElementException} if out of bounds)
       *
       * @param position position of the element to return
       * @return the element at the specified position in {@code iterable}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

      int indexOf(@CheckForNull Object target) {
        if (target == null) {
          return -1;
        }
        int position;
        try {
          position = Collections.binarySearch(elements, target, unsafeComparator());
        } catch (ClassCastException e) {
          return -1;
        }
        return (position >= 0) ? position : -1;
      }
    
      @Override
      public ImmutableList<E> asList() {
        return elements;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

       */
      protected AbstractIndexedListIterator(int size, int position) {
        checkPositionIndex(position, size);
        this.size = size;
        this.position = position;
      }
    
      @Override
      public final boolean hasNext() {
        return position < size;
      }
    
      @Override
      @ParametricNullness
      public final E next() {
        if (!hasNext()) {
          throw new NoSuchElementException();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 3.2K bytes
    - Viewed (0)
  7. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

       */
      protected void processRemaining(ByteBuffer bb) {
        Java8Compatibility.position(bb, bb.limit()); // move at the end
        Java8Compatibility.limit(bb, chunkSize + 7); // get ready to pad with longs
        while (bb.position() < chunkSize) {
          bb.putLong(0);
        }
        Java8Compatibility.limit(bb, chunkSize);
        Java8Compatibility.flip(bb);
        process(bb);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractIndexedListIterator.java

       */
      protected AbstractIndexedListIterator(int size, int position) {
        checkPositionIndex(position, size);
        this.size = size;
        this.position = position;
      }
    
      @Override
      public final boolean hasNext() {
        return position < size;
      }
    
      @Override
      @ParametricNullness
      public final E next() {
        if (!hasNext()) {
          throw new NoSuchElementException();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 3.2K bytes
    - Viewed (0)
  10. 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)
Back to top