Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for fromIndex (0.04 sec)

  1. guava/src/com/google/common/collect/SingletonImmutableList.java

        return singleton(element).spliterator();
      }
    
      @Override
      public int size() {
        return 1;
      }
    
      @Override
      public ImmutableList<E> subList(int fromIndex, int toIndex) {
        Preconditions.checkPositionIndexes(fromIndex, toIndex, 1);
        return (fromIndex == toIndex) ? ImmutableList.<E>of() : this;
      }
    
      @Override
      public String toString() {
        return '[' + element.toString() + ']';
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingList.java

      @ParametricNullness
      public E set(int index, @ParametricNullness E element) {
        return delegate().set(index, element);
      }
    
      @Override
      public List<E> subList(int fromIndex, int toIndex) {
        return delegate().subList(fromIndex, toIndex);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        return object == this || delegate().equals(object);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

      }
    
      @Override
      public E get(int index) {
        return delegateList().get(index);
      }
    
      @Override
      public ImmutableList<E> subList(int fromIndex, int toIndex) {
        return unsafeDelegateList(delegateList().subList(fromIndex, toIndex));
      }
    
      @Override
      public Object[] toArray() {
        // Note that ArrayList.toArray() doesn't work here because it returns E[]
        // instead of Object[].
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testSortDescending(
          byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        SignedBytes.sortDescending(input, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      public void testSortDescendingIndexed() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

        }
    
        @Override
        public ListIterator<T> listIterator(int index) {
          return standardListIterator(index);
        }
    
        @Override
        public List<T> subList(int fromIndex, int toIndex) {
          return standardSubList(fromIndex, toIndex);
        }
      }
    
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testSortDescending(
          byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        SignedBytes.sortDescending(input, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      public void testSortDescendingIndexed() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

          val toIndex = minOf(source.buffer.size, maxByteCount) + 1L
          val boundaryIndex =
            source.indexOf(
              bytes = crlfDashDashBoundary,
              fromIndex = 0L,
              toIndex = toIndex,
            )
          return when {
            boundaryIndex != -1L -> boundaryIndex // We found the boundary.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top