Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 63 for Warner (0.45 sec)

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

       *
       * @param element the element to prepend to the front of {@code array}
       * @param array the array of elements to append
       * @return an array whose size is one larger than {@code array}, with {@code element} occupying
       *     the first position, and the elements of {@code array} occupying the remaining elements.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

    /**
     * {@link TestCase} for {@link HostSpecifier}. This is a relatively cursory test, as HostSpecifier
     * is a thin wrapper around {@link InetAddresses} and {@link InternetDomainName}; the unit tests for
     * those classes explore numerous corner cases. The intent here is to confirm that everything is
     * wired up properly.
     *
     * @author Craig Berry
     */
    public final class HostSpecifierTest extends TestCase {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 18 15:33:20 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Joiner;
    import com.google.common.collect.ImmutableMap;
    import java.util.Deque;
    
    /** Parser for a map of reversed domain names stored as a serialized radix tree. */
    @GwtCompatible
    final class TrieParser {
    
      private static final Joiner DIRECT_JOINER = Joiner.on("");
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Oct 13 19:20:43 GMT 2022
    - 4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

      /*
       * Cache the size for efficiency. Using a long lets us avoid the need for
       * overflow checking and ensures that size() will function correctly even if
       * the multiset had once been larger than Integer.MAX_VALUE.
       */
      private transient long size;
    
      /** Standard constructor. */
      protected AbstractMapBasedMultiset(Map<E, Count> backingMap) {
        checkArgument(backingMap.isEmpty());
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        @Override
        @CheckForNull
        public E getNext() {
          return null;
        }
      }
    
      /** Marker interface for {@link InternalEntry} implementations for strong values. */
      interface StrongValueEntry<K, V, E extends InternalEntry<K, V, E>>
          extends InternalEntry<K, V, E> {}
    
      /** Marker interface for {@link InternalEntry} implementations for weak values. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

         * that could call it, nor exposed this Future for users to call cancel() on).
         */
        requireNonNull(futures);
    
        // Corner case: List is empty.
        if (futures.isEmpty()) {
          handleAllCompleted();
          return;
        }
    
        // NOTE: If we ever want to use a custom executor here, have a look at CombinedFuture as we'll
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Bytes.java

        return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array;
      }
    
      /**
       * Returns an array containing each value of {@code collection}, converted to a {@code byte} value
       * in the manner of {@link Number#byteValue}.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

            for (int i = 0; i < array.length; i++) {
              array[i] = counter.getAndIncrement();
            }
            builder.addAll(ImmutableLongArray.copyOf(array));
          }
        },
        ADD_LARGER_ARRAY {
          @Override
          void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) {
            long[] array = new long[RANDOM.nextInt(200) + 200];
            for (int i = 0; i < array.length; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 19K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

            for (int i = 0; i < array.length; i++) {
              array[i] = counter.getAndIncrement();
            }
            builder.addAll(ImmutableDoubleArray.copyOf(array));
          }
        },
        ADD_LARGER_ARRAY {
          @Override
          void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) {
            double[] array = new double[RANDOM.nextInt(200) + 200];
            for (int i = 0; i < array.length; i++) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

     *
     * <p>Unlike {@code java.util.HashSet}, iteration is only proportional to the actual {@code size()},
     * which is optimal, and <i>not</i> the size of the internal hashtable, which could be much larger
     * than {@code size()}. Furthermore, this structure only depends on a fixed number of arrays; {@code
     * add(x)} operations <i>do not</i> create objects for the garbage collector to deal with, and for
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
Back to top