Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for sizeOf (0.8 sec)

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

         * which are awaiting cleanup.
         */
        volatile int count;
    
        /**
         * Number of updates that alter the size of the table. This is used during bulk-read methods to
         * make sure they see a consistent snapshot: If modCounts change during a traversal of segments
         * computing size or checking containsValue, then we might have an inconsistent view of state so
         * (usually) must retry.
         */
        int modCount;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

        for (int size = 1; size < 200; size++) {
          assertWontGrow(
              size,
              new LinkedHashMap<>(),
              Maps.newLinkedHashMapWithExpectedSize(size),
              Maps.newLinkedHashMapWithExpectedSize(size));
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static void assertWontGrow(
          int size,
          HashMap<Object, Object> referenceMap,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

                public int getCount() {
                  return backingEntry.getValue().size();
                }
              };
            }
          };
        }
    
        @Override
        int distinctElements() {
          return multimap.asMap().size();
        }
    
        @Override
        public int size() {
          return multimap.size();
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        }
    
        @CanIgnoreReturnValue
        Builder<K, V> combine(ImmutableSortedMap.Builder<K, V> other) {
          ensureCapacity(size + other.size);
          System.arraycopy(other.keys, 0, this.keys, this.size, other.size);
          System.arraycopy(other.values, 0, this.values, this.size, other.size);
          size += other.size;
          return this;
        }
    
        /**
         * Returns a newly-created immutable sorted map.
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * which are awaiting cleanup.
         */
        volatile int count;
    
        /**
         * Number of updates that alter the size of the table. This is used during bulk-read methods to
         * make sure they see a consistent snapshot: If modCounts change during a traversal of segments
         * computing size or checking containsValue, then we might have an inconsistent view of state so
         * (usually) must retry.
         */
        int modCount;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
Back to top