Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AccessTime (0.05 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          long lastAccessTime = 0;
          long lastWriteTime = 0;
          for (ReferenceEntry<K, V> e : segment.recencyQueue) {
            long accessTime = e.getAccessTime();
            assertTrue(accessTime >= lastAccessTime);
            lastAccessTime = accessTime;
            long writeTime = e.getWriteTime();
            assertTrue(writeTime >= lastWriteTime);
            lastWriteTime = writeTime;
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          long lastAccessTime = 0;
          long lastWriteTime = 0;
          for (ReferenceEntry<K, V> e : segment.recencyQueue) {
            long accessTime = e.getAccessTime();
            assertTrue(accessTime >= lastAccessTime);
            lastAccessTime = accessTime;
            long writeTime = e.getWriteTime();
            assertTrue(writeTime >= lastWriteTime);
            lastWriteTime = writeTime;
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

        }
    
        // The code below is exactly the same for each access entry type.
    
        volatile long accessTime = Long.MAX_VALUE;
    
        @Override
        public long getAccessTime() {
          return accessTime;
        }
    
        @Override
        public void setAccessTime(long time) {
          this.accessTime = time;
        }
    
        // Guarded By Segment.this
        @Weak ReferenceEntry<K, V> nextAccess = nullEntry();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top