Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for internalArray (0.06 sec)

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

      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        return delegateList.copyIntoArray(dst, offset);
      }
    
      @Override
      @Nullable Object @Nullable [] internalArray() {
        return delegateList.internalArray();
      }
    
      @Override
      int internalArrayStart() {
        return delegateList.internalArrayStart();
      }
    
      @Override
      int internalArrayEnd() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableList.java

        this.size = size;
      }
    
      @Override
      public int size() {
        return size;
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      @Nullable Object[] internalArray() {
        return array;
      }
    
      @Override
      int internalArrayStart() {
        return 0;
      }
    
      @Override
      int internalArrayEnd() {
        return size;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableList.java

          this.length = length;
        }
    
        @Override
        public int size() {
          return length;
        }
    
        @Override
        @Nullable Object @Nullable [] internalArray() {
          return ImmutableList.this.internalArray();
        }
    
        @Override
        int internalArrayStart() {
          return ImmutableList.this.internalArrayStart() + offset;
        }
    
        @Override
        int internalArrayEnd() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableCollection.java

      @SuppressWarnings("nullness")
      public final <T extends @Nullable Object> T[] toArray(T[] other) {
        checkNotNull(other);
        int size = size();
    
        if (other.length < size) {
          Object[] internal = internalArray();
          if (internal != null) {
            return Platform.copy(internal, internalArrayStart(), internalArrayEnd(), other);
          }
          other = ObjectArrays.newArray(other, size);
        } else if (other.length > size) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

          default:
            return new RegularImmutableAsList<E>(this, toArray());
        }
      }
    
      /** If this collection is backed by an array of its elements in insertion order, returns it. */
      Object @Nullable [] internalArray() {
        return null;
      }
    
      /**
       * If this collection is backed by an array of its elements in insertion order, returns the offset
       * where this collection's elements start.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableCollection.java

      @SuppressWarnings("nullness")
      public final <T extends @Nullable Object> T[] toArray(T[] other) {
        checkNotNull(other);
        int size = size();
    
        if (other.length < size) {
          Object[] internal = internalArray();
          if (internal != null) {
            return Platform.copy(internal, internalArrayStart(), internalArrayEnd(), other);
          }
          other = ObjectArrays.newArray(other, size);
        } else if (other.length > size) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

         * doesn't need this suppression, but we keep it to minimize diffs.) Generally be more clear
         * about when we have an Object[] vs. a Comparable[] or other array type in internalArray? If we
         * used Object[], we might be able to optimize toArray() to use clone() sometimes. (See
         * cl/592273615 and cl/592273683.)
         */
        public Builder(Comparator<? super E> comparator) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  8. okhttp/src/androidMain/baseline-prof.txt

    HSPLokio/ByteString;->getSize$okio()I
    HSPLokio/ByteString;->hashCode()I
    HSPLokio/ByteString;->indexOf$default(Lokio/ByteString;Lokio/ByteString;IILjava/lang/Object;)I
    HSPLokio/ByteString;->indexOf([BI)I
    HSPLokio/ByteString;->internalArray$okio()[B
    HSPLokio/ByteString;->internalGet$okio(I)B
    HSPLokio/ByteString;->rangeEquals(ILokio/ByteString;II)Z
    HSPLokio/ByteString;->rangeEquals(I[BII)Z
    HSPLokio/ByteString;->startsWith(Lokio/ByteString;)Z
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
Back to top