Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for preWriteCleanup (0.21 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);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  2. 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;
            }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  3. android/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);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
Back to top