Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for entriesSize (0.21 sec)

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

      private void resizeMeMaybe(int newSize) {
        int entriesSize = entries.length;
        if (newSize > entriesSize) {
          int newCapacity = entriesSize + Math.max(1, entriesSize >>> 1);
          if (newCapacity < 0) {
            newCapacity = Integer.MAX_VALUE;
          }
          if (newCapacity != entriesSize) {
            resizeEntries(newCapacity);
          }
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactHashSet.java

      private void resizeMeMaybe(int newSize) {
        int entriesSize = requireEntries().length;
        if (newSize > entriesSize) {
          // 1.5x but round up to nearest odd (this is optimal for memory consumption on Android)
          int newCapacity =
              Math.min(CompactHashing.MAX_SIZE, (entriesSize + Math.max(1, entriesSize >>> 1)) | 1);
          if (newCapacity != entriesSize) {
            resizeEntries(newCapacity);
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactHashSet.java

      private void resizeMeMaybe(int newSize) {
        int entriesSize = requireEntries().length;
        if (newSize > entriesSize) {
          // 1.5x but round up to nearest odd (this is optimal for memory consumption on Android)
          int newCapacity =
              Math.min(CompactHashing.MAX_SIZE, (entriesSize + Math.max(1, entriesSize >>> 1)) | 1);
          if (newCapacity != entriesSize) {
            resizeEntries(newCapacity);
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashMap.java

      private void resizeMeMaybe(int newSize) {
        int entriesSize = requireEntries().length;
        if (newSize > entriesSize) {
          // 1.5x but round up to nearest odd (this is optimal for memory consumption on Android)
          int newCapacity =
              Math.min(CompactHashing.MAX_SIZE, (entriesSize + Math.max(1, entriesSize >>> 1)) | 1);
          if (newCapacity != entriesSize) {
            resizeEntries(newCapacity);
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashMap.java

      private void resizeMeMaybe(int newSize) {
        int entriesSize = requireEntries().length;
        if (newSize > entriesSize) {
          // 1.5x but round up to nearest odd (this is optimal for memory consumption on Android)
          int newCapacity =
              Math.min(CompactHashing.MAX_SIZE, (entriesSize + Math.max(1, entriesSize >>> 1)) | 1);
          if (newCapacity != entriesSize) {
            resizeEntries(newCapacity);
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 35.8K bytes
    - Viewed (0)
Back to top