Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for preWriteCleanup (0.33 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

          boolean createNewEntry = true;
    
          lock();
          try {
            // re-read ticker once inside the lock
            long now = map.ticker.read();
            preWriteCleanup(now);
    
            int newCount = this.count - 1;
            AtomicReferenceArray<ReferenceEntry<K, V>> table = this.table;
            int index = hash & (table.length() - 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/MapMakerInternalMap.java

          } finally {
            postReadCleanup();
          }
        }
    
        @CheckForNull
        V put(K key, int hash, V value, boolean onlyIfAbsent) {
          lock();
          try {
            preWriteCleanup();
    
            int newCount = this.count + 1;
            if (newCount > this.threshold) { // ensure capacity
              expand();
              newCount = this.count + 1;
            }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          } finally {
            postReadCleanup();
          }
        }
    
        @CheckForNull
        V put(K key, int hash, V value, boolean onlyIfAbsent) {
          lock();
          try {
            preWriteCleanup();
    
            int newCount = this.count + 1;
            if (newCount > this.threshold) { // ensure capacity
              expand();
              newCount = this.count + 1;
            }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
Back to top