Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 63 for item (0.2 sec)

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

       * operation. This may be incremented not in conjunction with {@code missCount} if the load occurs
       * as a result of a refresh or if the cache loader returned more items than was requested. {@code
       * missCount} may also be incremented not in conjunction with this (nor {@link
       * #loadExceptionCount}) on calls to {@code getIfPresent}.
       */
      public long loadSuccessCount() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheStats.java

       * operation. This may be incremented not in conjunction with {@code missCount} if the load occurs
       * as a result of a refresh or if the cache loader returned more items than was requested. {@code
       * missCount} may also be incremented not in conjunction with this (nor {@link
       * #loadExceptionCount}) on calls to {@code getIfPresent}.
       */
      public long loadSuccessCount() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IterablesTest.java

      public void testConsumingIterable_queue_iterator() {
        final List<Integer> items = ImmutableList.of(4, 8, 15, 16, 23, 42);
        new IteratorTester<Integer>(3, UNMODIFIABLE, items, IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<Integer> newTargetIterator() {
            return Iterables.consumingIterable(Lists.newLinkedList(items)).iterator();
          }
        }.test();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/SplitterTest.java

        String simple = "a,b,c,d";
        Iterable<String> items = COMMA_SPLITTER.limit(1).split(simple);
        assertThat(items).containsExactly("a,b,c,d").inOrder();
      }
    
      public void testLimitSeparator() {
        String simple = "a,b,c,d";
        Iterable<String> items = COMMA_SPLITTER.limit(2).split(simple);
        assertThat(items).containsExactly("a", "b,c,d").inOrder();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Enumeration<Integer> enumer = enumerate(1, 2, 3);
        Iterator<Integer> iter = Iterators.forEnumeration(enumer);
    
        assertTrue(iter.hasNext());
        assertEquals(1, (int) iter.next());
        assertTrue(iter.hasNext());
        assertEquals(2, (int) iter.next());
        assertTrue(iter.hasNext());
        assertEquals(3, (int) iter.next());
        assertFalse(iter.hasNext());
      }
    
      public void testAsEnumerationEmpty() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheTesting.java

       * getting a bunch of different keys), then makes sure all the items in the cache are also in the
       * eviction queue. It will invoke the given {@code operation} on the first element in the eviction
       * queue, and then reverify that all items in the cache are in the eviction queue, and verify that
       * the head of the eviction queue has changed as a result of the operation.
       */
    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)
  7. guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

     * features}, the features supported by the iterator; and {@code expectedElements}, the elements the
     * iterator should return in order.
     *
     * <p>The items in {@code elementsToInsert} will be repeated if {@code steps} is larger than the
     * number of provided elements.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

     * features}, the features supported by the iterator; and {@code expectedElements}, the elements the
     * iterator should return in order.
     *
     * <p>The items in {@code elementsToInsert} will be repeated if {@code steps} is larger than the
     * number of provided elements.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactHashing.java

      private static final int SHORT_MASK = (1 << Short.SIZE) - 1; // 2^16 - 1 = 65_535
    
      /**
       * Returns the power of 2 hashtable size required to hold the expected number of items or the
       * minimum hashtable size, whichever is greater.
       */
      static int tableSize(int expectedSize) {
        // We use entries next == 0 to indicate UNSET, so actual capacity is 1 less than requested.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashing.java

      private static final int SHORT_MASK = (1 << Short.SIZE) - 1; // 2^16 - 1 = 65_535
    
      /**
       * Returns the power of 2 hashtable size required to hold the expected number of items or the
       * minimum hashtable size, whichever is greater.
       */
      static int tableSize(int expectedSize) {
        // We use entries next == 0 to indicate UNSET, so actual capacity is 1 less than requested.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
Back to top