Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getNextInWriteQueue (0.22 sec)

  1. android/guava/src/com/google/common/cache/ReferenceEntry.java

      /** Sets the entry write time in ns. */
      @SuppressWarnings("GoodTime") // b/122668874
      void setWriteTime(long time);
    
      /** Returns the next entry in the write queue. */
      ReferenceEntry<K, V> getNextInWriteQueue();
    
      /** Sets the next entry in the write queue. */
      void setNextInWriteQueue(ReferenceEntry<K, V> next);
    
      /** Returns the previous entry in the write queue. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  2. android/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() {
    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)
  3. 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() {
    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)
  4. guava/src/com/google/common/cache/ReferenceEntry.java

      /** Sets the entry write time in ns. */
      @SuppressWarnings("GoodTime") // b/122668874
      void setWriteTime(long time);
    
      /** Returns the next entry in the write queue. */
      ReferenceEntry<K, V> getNextInWriteQueue();
    
      /** Sets the next entry in the write queue. */
      void setNextInWriteQueue(ReferenceEntry<K, V> next);
    
      /** Returns the previous entry in the write queue. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheTesting.java

              assertTrue(entries.add(current));
              if (prev != null) {
                assertSame(prev, current.getPreviousInWriteQueue());
                assertSame(prev.getNextInWriteQueue(), current);
                assertThat(prev.getWriteTime()).isAtMost(current.getWriteTime());
              }
              Object key = current.getKey();
              if (key != null) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheTesting.java

              assertTrue(entries.add(current));
              if (prev != null) {
                assertSame(prev, current.getPreviousInWriteQueue());
                assertSame(prev.getNextInWriteQueue(), current);
                assertThat(prev.getWriteTime()).isAtMost(current.getWriteTime());
              }
              Object key = current.getKey();
              if (key != null) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  7. 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();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  8. 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();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
Back to top