Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for containers (0.3 sec)

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

        final long maxSegmentWeight;
    
        /**
         * The key reference queue contains entries whose keys have been garbage collected, and which
         * need to be cleaned up internally.
         */
        @CheckForNull final ReferenceQueue<K> keyReferenceQueue;
    
        /**
         * The value reference queue contains value references whose values have been garbage collected,
         * and which need to be cleaned up internally.
    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. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertThat(future.toString()).contains("[status=SUCCESS, result=[" + DATA1 + "]]");
      }
    
      public void testImmediateVoidFuture() throws Exception {
        ListenableFuture<@Nullable Void> voidFuture = immediateVoidFuture();
    
        assertThat(getDone(voidFuture)).isNull();
        assertThat(getDoneFromTimeoutOverload(voidFuture)).isNull();
        assertThat(voidFuture.toString()).contains("[status=SUCCESS, result=[null]]");
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(valueOne, listener.getLastEvictedValue());
        assertTrue(map.removalNotificationQueue.isEmpty());
        assertFalse(segment.accessQueue.contains(entryOne));
        assertFalse(segment.writeQueue.contains(entryOne));
        assertEquals(0, segment.count);
        assertNull(table.get(0));
      }
    
      public void testRemoveEntryFromChain() {
    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)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(valueOne, listener.getLastEvictedValue());
        assertTrue(map.removalNotificationQueue.isEmpty());
        assertFalse(segment.accessQueue.contains(entryOne));
        assertFalse(segment.writeQueue.contains(entryOne));
        assertEquals(0, segment.count);
        assertNull(table.get(0));
      }
    
      public void testRemoveEntryFromChain() {
    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)
  5. android/guava/src/com/google/common/collect/Maps.java

       * @param o the object that might be contained in {@code c}
       * @return {@code true} if {@code c} contains {@code o}
       */
      static <K extends @Nullable Object, V extends @Nullable Object> boolean containsEntryImpl(
          Collection<Entry<K, V>> c, @CheckForNull Object o) {
        if (!(o instanceof Entry)) {
          return false;
        }
        return c.contains(unmodifiableEntry((Entry<?, ?>) o));
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

        final long maxSegmentWeight;
    
        /**
         * The key reference queue contains entries whose keys have been garbage collected, and which
         * need to be cleaned up internally.
         */
        @CheckForNull final ReferenceQueue<K> keyReferenceQueue;
    
        /**
         * The value reference queue contains value references whose values have been garbage collected,
         * and which need to be cleaned up internally.
    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)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

          }
        }
        return future;
      }
    
      /**
       * Marks this step as the last step in the {@code ClosingFuture} pipeline. When this step is done,
       * {@code receiver} will be called with an object that contains the result of the operation. The
       * receiver can store the {@link ValueAndCloser} outside the receiver for later synchronous use.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
Back to top