Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 699 for indexed (0.04 sec)

  1. android/guava/src/com/google/common/collect/Lists.java

        }
    
        private int reverseIndex(int index) {
          int size = size();
          checkElementIndex(index, size);
          return (size - 1) - index;
        }
    
        private int reversePosition(int index) {
          int size = size();
          checkPositionIndex(index, size);
          return size - index;
        }
    
        @Override
        public void add(int index, @ParametricNullness T element) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Chars.java

      }
    
      /**
       * Returns the index of the first appearance of the value {@code target} in {@code array}.
       *
       * @param array an array of {@code char} values, possibly empty
       * @param target a primitive {@code char} value
       * @return the least index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int indexOf(char[] array, char target) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Shorts.java

      }
    
      /**
       * Returns the index of the first appearance of the value {@code target} in {@code array}.
       *
       * @param array an array of {@code short} values, possibly empty
       * @param target a primitive {@code short} value
       * @return the least index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int indexOf(short[] array, short target) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Shorts.java

      }
    
      /**
       * Returns the index of the first appearance of the value {@code target} in {@code array}.
       *
       * @param array an array of {@code short} values, possibly empty
       * @param target a primitive {@code short} value
       * @return the least index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int indexOf(short[] array, short target) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        @Override
        public Range<C> get(int index) {
          checkElementIndex(index, size);
    
          Cut<C> lowerBound;
          if (positiveBoundedBelow) {
            lowerBound = (index == 0) ? Cut.belowAll() : ranges.get(index - 1).upperBound;
          } else {
            lowerBound = ranges.get(index).upperBound;
          }
    
          Cut<C> upperBound;
          if (positiveBoundedAbove && index == size - 1) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/HashBiMap.java

        @ParametricNullness final K key;
        int index;
    
        EntryForKey(int index) {
          // The cast is safe because we call forEntry only for indexes that contain entries.
          this.key = uncheckedCastNullableTToT(keys[index]);
          this.index = index;
        }
    
        void updateIndex() {
          if (index == ABSENT || index > size || !Objects.equals(keys[index], key)) {
            index = findEntryByKey(key);
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CartesianList.java

        }
        this.axesSizeProduct = axesSizeProduct;
      }
    
      private int getAxisIndexForProductIndex(int index, int axis) {
        return (index / axesSizeProduct[axis + 1]) % axes.get(axis).size();
      }
    
      @Override
      public int indexOf(@Nullable Object o) {
        if (!(o instanceof List)) {
          return -1;
        }
        List<?> list = (List<?>) o;
        if (list.size() != axes.size()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

       */
      fun queryParameterName(index: Int): String {
        if (queryNamesAndValues == null) throw IndexOutOfBoundsException()
        return queryNamesAndValues[index * 2]!!
      }
    
      /**
       * Returns the value of the query parameter at `index`. For example this returns `"apple"` for
       * `queryParameterName(0)` on `http://host/?a=apple&b=banana`. This throws if `index` is not less
       * than the [query size][querySize].
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                assertTrue(result.contains("dc=LARGEDC"));
                // The hex string should be 32 chars long (16 bytes * 2)
                String hexPart = result.substring(result.indexOf("0x") + 2, result.indexOf(",dc="));
                assertEquals(32, hexPart.length());
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

      abstract List<E> delegateList();
    
      @Override
      public int indexOf(@Nullable Object object) {
        return delegateList().indexOf(object);
      }
    
      @Override
      public int lastIndexOf(@Nullable Object object) {
        return delegateList().lastIndexOf(object);
      }
    
      @Override
      public E get(int index) {
        return delegateList().get(index);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top