Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for backers (0.17 sec)

  1. guava/src/com/google/common/collect/CompactHashSet.java

      int allocArrays() {
        Preconditions.checkState(needsAllocArrays(), "Arrays already allocated");
    
        int expectedSize = metadata;
        int buckets = CompactHashing.tableSize(expectedSize);
        this.table = CompactHashing.createTable(buckets);
        setHashTableMask(buckets - 1);
    
        this.entries = new int[expectedSize];
        this.elements = new Object[expectedSize];
    
        return expectedSize;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

     *
     * @since 23.3
     */
    @Beta
    @GwtCompatible
    public enum PublicSuffixType {
    
      /** Public suffix that is provided by a private company, e.g. "blogspot.com" */
      PRIVATE(':', ','),
      /** Public suffix that is backed by an ICANN-style domain name registry */
      REGISTRY('!', '?');
    
      /** The character used for an inner node in the trie encoding */
      private final char innerNodeCode;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableEnumMap.java

    import java.io.Serializable;
    import java.util.EnumMap;
    import java.util.Spliterator;
    import java.util.function.BiConsumer;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@link ImmutableMap} backed by a non-empty {@link java.util.EnumMap}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/GraphConstants.java

      static final String ENDPOINTS_MISMATCH =
          "Mismatch: endpoints' ordering is not compatible with directionality of the graph";
    
      /** Singleton edge value for {@link Graph} implementations backed by {@link ValueGraph}s. */
      enum Presence {
        EDGE_EXISTS
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableEnumSet.java

    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import java.util.Collection;
    import java.util.EnumSet;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@link ImmutableSet} backed by a non-empty {@link java.util.EnumSet}.
     *
     * @author Jared Levy
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashMap.java

      int allocArrays() {
        Preconditions.checkState(needsAllocArrays(), "Arrays already allocated");
    
        int expectedSize = metadata;
        int buckets = CompactHashing.tableSize(expectedSize);
        this.table = CompactHashing.createTable(buckets);
        setHashTableMask(buckets - 1);
    
        this.entries = new int[expectedSize];
        this.keys = new Object[expectedSize];
        this.values = new Object[expectedSize];
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactLinkedHashMap.java

     * amortized) constant time operations. Expected in the hashtable sense (depends on the hash
     * function doing a good job of distributing the elements to the buckets to a distribution not far
     * from uniform), and amortized since some operations can trigger a hash table resize.
     *
     * <p>As compared with {@link java.util.LinkedHashMap}, this structure places significantly reduced
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Booleans.java

        for (int i = 0; i < len; i++) {
          // checkNotNull for GWT (do not optimize)
          array[i] = (Boolean) checkNotNull(boxedArray[i]);
        }
        return array;
      }
    
      /**
       * Returns a fixed-size list backed by the specified array, similar to {@link
       * Arrays#asList(Object[])}. The list supports {@link List#set(int, Object)}, but any attempt to
       * set a value to {@code null} will result in a {@link NullPointerException}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                        return ImmutableMultiset.<String>builder().add(elements).buildJdkBacked();
                      }
                    })
                .named("ImmutableMultiset [JDK backed]")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

          }
          // The cast is safe because of the hasPeeked check.
          return uncheckedCastNullableTToT(peekedElement);
        }
      }
    
      /**
       * Returns a {@code PeekingIterator} backed by the given iterator.
       *
       * <p>Calls to the {@code peek} method with no intervening calls to {@code next} do not affect the
       * iteration, and hence return the same object each time. A subsequent call to {@code next} is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top