Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for internalArrayEnd (0.25 sec)

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

        return delegateList.internalArray();
      }
    
      @Override
      int internalArrayStart() {
        return delegateList.internalArrayStart();
      }
    
      @Override
      int internalArrayEnd() {
        return delegateList.internalArrayEnd();
      }
    
      @Override
      public E get(int index) {
        return delegateList.get(index);
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableSet.java

      }
    
      @Override
      @Nullable
      Object[] internalArray() {
        return elements;
      }
    
      @Override
      int internalArrayStart() {
        return 0;
      }
    
      @Override
      int internalArrayEnd() {
        return size;
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        System.arraycopy(elements, 0, dst, offset, size);
        return offset + size;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

      Object[] internalArray() {
        return elements.internalArray();
      }
    
      @Override
      int internalArrayStart() {
        return elements.internalArrayStart();
      }
    
      @Override
      int internalArrayEnd() {
        return elements.internalArrayEnd();
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return elements.iterator();
      }
    
      @GwtIncompatible // NavigableSet
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableList.java

        return false;
      }
    
      @Override
      @Nullable
      Object[] internalArray() {
        return array;
      }
    
      @Override
      int internalArrayStart() {
        return 0;
      }
    
      @Override
      int internalArrayEnd() {
        return size;
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int dstOff) {
        System.arraycopy(array, 0, dst, dstOff, size);
        return dstOff + size;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

      }
    
      /**
       * If this collection is backed by an array of its elements in insertion order, returns the offset
       * where this collection's elements end.
       */
      int internalArrayEnd() {
        throw new UnsupportedOperationException();
      }
    
      static <E> ImmutableCollection<E> unsafeDelegate(Collection<E> delegate) {
        return new ForwardingImmutableCollection<E>(delegate);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableCollection.java

        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) {
          other[size] = null;
        }
        copyIntoArray(other, 0);
        return other;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/collect/ImmutableCollection.java

        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) {
          other[size] = null;
        }
        copyIntoArray(other, 0);
        return other;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableList.java

          return ImmutableList.this.internalArray();
        }
    
        @Override
        int internalArrayStart() {
          return ImmutableList.this.internalArrayStart() + offset;
        }
    
        @Override
        int internalArrayEnd() {
          return ImmutableList.this.internalArrayStart() + offset + length;
        }
    
        @Override
        public E get(int index) {
          checkElementIndex(index, length);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 27K bytes
    - Viewed (0)
Back to top