Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getNextInAccessQueue (0.16 sec)

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

        public boolean isEmpty() {
          return head.getNextInAccessQueue() == head;
        }
    
        @Override
        public int size() {
          int size = 0;
          for (ReferenceEntry<K, V> e = head.getNextInAccessQueue();
              e != head;
              e = e.getNextInAccessQueue()) {
            size++;
          }
          return size;
        }
    
        @Override
        public void clear() {
    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. android/guava/src/com/google/common/cache/ReferenceEntry.java

      /** Sets the entry access time in ns. */
      @SuppressWarnings("GoodTime") // b/122668874
      void setAccessTime(long time);
    
      /** Returns the next entry in the access queue. */
      ReferenceEntry<K, V> getNextInAccessQueue();
    
      /** Sets the next entry in the access queue. */
      void setNextInAccessQueue(ReferenceEntry<K, V> next);
    
      /** Returns the previous entry in the access queue. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        if (map.usesWriteQueue()) {
          assertSame(two, one.getNextInWriteQueue());
        }
        if (map.usesAccessQueue()) {
          assertSame(two, one.getNextInAccessQueue());
        }
      }
    
      public void testSegmentGetAndContains() {
        FakeTicker ticker = new FakeTicker();
        LocalCache<Object, Object> map =
            makeLocalCache(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        if (map.usesWriteQueue()) {
          assertSame(two, one.getNextInWriteQueue());
        }
        if (map.usesAccessQueue()) {
          assertSame(two, one.getNextInAccessQueue());
        }
      }
    
      public void testSegmentGetAndContains() {
        FakeTicker ticker = new FakeTicker();
        LocalCache<Object, Object> map =
            makeLocalCache(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
Back to top