Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for toIndex (0.03 sec)

  1. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top