Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 20 for objectArray (0.21 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.ObjectArrays;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.AbstractQueue;
    import java.util.Collection;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/io/MoreFilesTest.java

    import static java.nio.file.LinkOption.NOFOLLOW_LINKS;
    import static java.util.concurrent.Executors.newSingleThreadExecutor;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ObjectArrays;
    import com.google.common.jimfs.Configuration;
    import com.google.common.jimfs.Feature;
    import com.google.common.jimfs.Jimfs;
    import java.io.IOException;
    import java.nio.file.FileAlreadyExistsException;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/CompactHashSet.java

          if (a.length > 0) {
            a[0] = null;
          }
          return a;
        }
        Set<E> delegate = delegateOrNull();
        return (delegate != null)
            ? delegate.toArray(a)
            : ObjectArrays.toArrayImpl(requireElements(), 0, size, a);
      }
    
      /**
       * Ensures that this {@code CompactHashSet} has the smallest representation in memory, given its
       * current size.
       */
      public void trimToSize() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 23.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableList.java

    import static com.google.common.base.Preconditions.checkPositionIndexes;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.ObjectArrays.checkElementsNotNull;
    import static com.google.common.collect.RegularImmutableList.EMPTY;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableCollection.java

        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;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableSortedSet.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.ImmutableList.asImmutableList;
    import static com.google.common.collect.ObjectArrays.checkElementsNotNull;
    import static java.lang.System.arraycopy;
    import static java.util.Arrays.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/CompactHashSet.java

          if (a.length > 0) {
            a[0] = null;
          }
          return a;
        }
        Set<E> delegate = delegateOrNull();
        return (delegate != null)
            ? delegate.toArray(a)
            : ObjectArrays.toArrayImpl(requireElements(), 0, size, a);
      }
    
      /**
       * Ensures that this {@code CompactHashSet} has the smallest representation in memory, given its
       * current size.
       */
      public void trimToSize() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

       */
      @GwtIncompatible // Array.newInstance(Class, int)
      public static <T extends @Nullable Object> T[] toArray(
          Iterable<? extends T> iterable, Class<@NonNull T> type) {
        return toArray(iterable, ObjectArrays.newArray(type, 0));
      }
    
      static <T extends @Nullable Object> T[] toArray(Iterable<? extends T> iterable, T[] array) {
        Collection<? extends T> collection = castOrCopyToCollection(iterable);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/OrderingTest.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.collect.Iterators.singletonIterator;
    import static com.google.common.collect.ObjectArrays.newArray;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.testing.Helpers.testComparator;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/OrderingTest.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.collect.Iterators.singletonIterator;
    import static com.google.common.collect.ObjectArrays.newArray;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.testing.Helpers.testComparator;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
Back to Top