Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 89 for factories (0.08 seconds)

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

      static final ImmutableMap<Object, Object> EMPTY =
          new RegularImmutableMap<>((Entry<Object, Object>[]) ImmutableMap.EMPTY_ENTRY_ARRAY, null, 0);
    
      /**
       * Closed addressing tends to perform well even with high load factors. Being conservative here
       * ensures that the table is still likely to be relatively sparse (hence it misses fast) while
       * saving space.
       */
      @VisibleForTesting static final double MAX_LOAD_FACTOR = 1.2;
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/CompactLinkedHashMap.java

     * <p>This class should not be assumed to be universally superior to {@code
     * java.util.LinkedHashMap}. Generally speaking, this class reduces object allocation and memory
     * consumption at the price of moderately increased constant factors of CPU. Only use this class
     * when there is a specific reason to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     */
    @J2ktIncompatible // no support for access-order mode in LinkedHashMap delegate
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       anything about how the property is tested. To find out, read the code.
     *   <li>These tests are "conformance tests", and do not attempt to test throughput, latency,
     *       scalability or other performance factors (see the separate "jtreg" tests for a set intended
     *       to check these for the most central aspects of functionality.) So, most tests use the
     *       smallest sensible numbers of threads, collection sizes, etc needed to check basic
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/net/HttpHeaders.java

      /**
       * The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factors">{@code
       * Sec-CH-UA-Form-Factors}</a> header field name.
       *
       * @since 33.3.0
       */
      public static final String SEC_CH_UA_FORM_FACTORS = "Sec-CH-UA-Form-Factors";
    
      /**
       * The HTTP <a
       * href="https://wicg.github.io/responsive-image-client-hints/#sec-ch-viewport-width">{@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 24 14:36:23 GMT 2026
    - 35.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/DoubleMath.java

       * Double.MAX_VALUE}.
       *
       * <p>The result is within 1 ulp of the true value.
       *
       * @throws IllegalArgumentException if {@code n < 0}
       */
      public static double factorial(int n) {
        checkNonNegative("n", n);
        if (n > MAX_FACTORIAL) {
          return Double.POSITIVE_INFINITY;
        } else {
          // Multiplying the last (n & 0xf) values into their own accumulator gives a more accurate
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/CompactHashSet.java

     *
     * <p>This class should not be assumed to be universally superior to {@code java.util.HashSet}.
     * Generally speaking, this class reduces object allocation and memory consumption at the price of
     * moderately increased constant factors of CPU. Only use this class when there is a specific reason
     * to prioritize memory over CPU.
     *
     * @author Dimitris Andreou
     * @author Jon Noack
     */
    @GwtIncompatible // not worth using in GWT for now
    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)
  7. android/guava/src/com/google/common/collect/Collections2.java

        final ImmutableList<E> inputList;
    
        PermutationCollection(ImmutableList<E> input) {
          this.inputList = input;
        }
    
        @Override
        public int size() {
          return IntMath.factorial(inputList.size());
        }
    
        @Override
        public boolean isEmpty() {
          return false;
        }
    
        @Override
        public Iterator<List<E>> iterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Collections2.java

        final ImmutableList<E> inputList;
    
        PermutationCollection(ImmutableList<E> input) {
          this.inputList = input;
        }
    
        @Override
        public int size() {
          return IntMath.factorial(inputList.size());
        }
    
        @Override
        public boolean isEmpty() {
          return false;
        }
    
        @Override
        public Iterator<List<E>> iterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 23K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/CompactHashSet.java

     *
     * <p>This class should not be assumed to be universally superior to {@code java.util.HashSet}.
     * Generally speaking, this class reduces object allocation and memory consumption at the price of
     * moderately increased constant factors of CPU. Only use this class when there is a specific reason
     * to prioritize memory over CPU.
     *
     * @author Dimitris Andreou
     * @author Jon Noack
     */
    @GwtIncompatible // not worth using in GWT for now
    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)
  10. guava/src/com/google/common/collect/CompactHashMap.java

     *
     * <p>This class should not be assumed to be universally superior to {@code java.util.HashMap}.
     * Generally speaking, this class reduces object allocation and memory consumption at the price of
     * moderately increased constant factors of CPU. Only use this class when there is a specific reason
     * to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     * @author Jon Noack
     */
    @GwtIncompatible // not worth using in GWT for now
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
Back to Top