Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for toIndex (0.33 sec)

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

      }
    
      @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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. build-logic/packaging/src/main/kotlin/gradlebuild/packaging/GradleDistributionSpecs.kt

            if (relativePathLength == 0) this else this.parentFile.containingSubprojectFolder(relativePathLength - 1)
    
        private
        fun Array<String>.subArray(toIndex: Int) = listOf(*this).subList(0, toIndex).toTypedArray()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 12:35:42 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/net/interface.go

    	sync.RWMutex                // guard the following
    	lastFetched  time.Time      // last time routing information was fetched
    	toIndex      map[string]int // interface name to its index
    	toName       map[int]string // interface index to its name
    }
    
    var zoneCache = ipv6ZoneCache{
    	toIndex: make(map[string]int),
    	toName:  make(map[int]string),
    }
    
    // update refreshes the network interface information if the cache was last
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/SignedBytes.java

       * exclusive in descending order.
       *
       * @since 23.1
       */
      public static void sortDescending(byte[] array, int fromIndex, int toIndex) {
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        Arrays.sort(array, fromIndex, toIndex);
        Bytes.reverse(array, fromIndex, toIndex);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/SignedBytes.java

       * exclusive in descending order.
       *
       * @since 23.1
       */
      public static void sortDescending(byte[] array, int fromIndex, int toIndex) {
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        Arrays.sort(array, fromIndex, toIndex);
        Bytes.reverse(array, fromIndex, toIndex);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

            }
    
            int toIndex = offset + size;
            if (toIndex > protwordsItemList.size()) {
                toIndex = protwordsItemList.size();
            }
    
            return new PagingList<>(protwordsItemList.subList(offset, toIndex), offset, size, protwordsItemList.size());
        }
    
        @Override
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

            }
    
            int toIndex = offset + size;
            if (toIndex > stopwordsItemList.size()) {
                toIndex = stopwordsItemList.size();
            }
    
            return new PagingList<>(stopwordsItemList.subList(offset, toIndex), offset, size, stopwordsItemList.size());
        }
    
        @Override
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

        return delegateList().lastIndexOf(object);
      }
    
      public E get(int index) {
        return delegateList().get(index);
      }
    
      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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. 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(@CheckForNull Object object) {
        return object == this || delegate().equals(object);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

            }
    
            int toIndex = offset + size;
            if (toIndex > kuromojiItemList.size()) {
                toIndex = kuromojiItemList.size();
            }
    
            return new PagingList<>(kuromojiItemList.subList(offset, toIndex), offset, size, kuromojiItemList.size());
        }
    
        @Override
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top