Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 91 for fromIndex (0.49 sec)

  1. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            if (size == 0) {
                return docs; // empty
            }
            int fromIndex = startPosition;
            if (fromIndex >= size) {
                fromIndex = size - 1;
            }
            int toIndex = startPosition + pageSize;
            if (toIndex >= size) {
                toIndex = size;
            }
            return docs.subList(fromIndex, toIndex);
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/collections/ListElementSource.java

            return Lists.newArrayList(listIterator()).listIterator(index);
        }
    
        @Override
        public List<? extends T> subList(int fromIndex, int toIndex) {
            return Lists.newArrayList(listIterator()).subList(fromIndex, toIndex);
        }
    
        private List<T> asList() {
            return Lists.newArrayList(listIterator());
        }
    
        @Override
        public T get(int index) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 15:12:15 UTC 2023
    - 7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        Chars.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(char[] input, int fromIndex, int toIndex, char[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Chars.reverse(input, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      public void testReverseIndexed() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

            public ListIterator<E> listIterator(final int index) {
                return parent.listIterator(index);
            }
    
            @Override
            public List<E> subList(final int fromIndex, final int toIndex) {
                return parent.subList(fromIndex, toIndex);
            }
    
            public int getAllRecordCount() {
                return allRecordCount;
            }
    
            public int getPageSize() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableRangeSet.java

          return ranges;
        }
    
        final int fromIndex;
        if (range.hasLowerBound()) {
          fromIndex =
              SortedLists.binarySearch(
                  ranges,
                  Range::upperBound,
                  range.lowerBound,
                  KeyPresentBehavior.FIRST_AFTER,
                  KeyAbsentBehavior.NEXT_HIGHER);
        } else {
          fromIndex = 0;
        }
    
        int toIndex;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 26.9K 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ShortsTest.java

        Shorts.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(
          short[] input, int fromIndex, int toIndex, short[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Shorts.reverse(input, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      public void testReverseIndexed() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

        Shorts.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(
          short[] input, int fromIndex, int toIndex, short[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Shorts.reverse(input, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      public void testReverseIndexed() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/QueryResponseList.java

        }
    
        @Override
        public int size() {
            return parent.size();
        }
    
        @Override
        public List<Map<String, Object>> subList(final int fromIndex, final int toIndex) {
            return parent.subList(fromIndex, toIndex);
        }
    
        @Override
        public Object[] toArray() {
            return parent.toArray();
        }
    
        @Override
        public <T> T[] toArray(final T[] a) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top