Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getNextInWriteQueue (0.29 sec)

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

        public boolean isEmpty() {
          return head.getNextInWriteQueue() == head;
        }
    
        @Override
        public int size() {
          int size = 0;
          for (ReferenceEntry<K, V> e = head.getNextInWriteQueue();
              e != head;
              e = e.getNextInWriteQueue()) {
            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-tests/test/com/google/common/cache/LocalCacheTest.java

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

        }
      }
    
      private static <K, V> void assertConnected(
          LocalCache<K, V> map, ReferenceEntry<K, V> one, ReferenceEntry<K, V> two) {
        if (map.usesWriteQueue()) {
          assertSame(two, one.getNextInWriteQueue());
        }
        if (map.usesAccessQueue()) {
          assertSame(two, one.getNextInAccessQueue());
        }
      }
    
      public void testSegmentGetAndContains() {
        FakeTicker ticker = new FakeTicker();
    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