Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for lives (1.98 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        // wait, so that entries have just 10 ms to live
        ticker.advance(ttl * 2 / 3, MILLISECONDS);
    
        assertEquals(10, CacheTesting.expirationQueueSize(cache));
        assertEquals(0, removalListener.getCount());
    
        int shift2 = shift1 + 10;
        loader.setValuePrefix(shift2);
        // fill with new data - has to live for 20 ms more
        for (int i = 0; i < 10; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Collections2.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Collections2 {
      private Collections2() {}
    
      /**
       * Returns the elements of {@code unfiltered} that satisfy a predicate. The returned collection is
       * a live view of {@code unfiltered}; changes to one affect the other.
       *
       * <p>The resulting collection's iterator does not support {@code remove()}, but all other
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multisets.java

          return null;
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a view of the elements of {@code unfiltered} that satisfy a predicate. The returned
       * multiset is a live view of {@code unfiltered}; changes to one affect the other.
       *
       * <p>The resulting multiset's iterators, and those of its {@code entrySet()} and {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

          } finally {
            // Ensure that if the thread was interrupted at all while processing the task queue, it
            // is returned to the delegate Executor interrupted so that it may handle the
            // interruption if it likes.
            if (interruptedDuringTask) {
              Thread.currentThread().interrupt();
            }
          }
        }
    
        @SuppressWarnings("GuardedBy")
        @Override
        public String toString() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

    import java.util.regex.Pattern;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ForwardingWrapperTester}. Live in a different package to detect reflection
     * access issues, if any.
     *
     * @author Ben Yu
     */
    public class ForwardingWrapperTesterTest extends TestCase {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Ascii.java

       */
      public static final byte NL = 10;
    
      /**
       * Vertical Tabulation ('\v'): A format effector which controls the movement of the printing
       * position to the next in a series of predetermined printing lines. (Applicable also to display
       * devices.)
       *
       * @since 8.0
       */
      public static final byte VT = 11;
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        Collection<Number> nums = ImmutableSet.of();
        Predicate<Number> p1 = Predicates.in(nums);
        Predicate<Object> p2 = Predicates.<Object>in(nums);
        // The next two lines are not expected to compile.
        // Predicate<Integer> p3 = Predicates.in(nums);
        // Predicate<Integer> p4 = Predicates.<Integer>in(nums);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       {@code fail}, {@code assertTrue}, etc.) It is OK (but not particularly recommended) for
     *       other code to use these forms too. Only the most typically used JUnit assertion methods are
     *       defined this way, but enough to live with.
     *   <li>If you override {@link #setUp} or {@link #tearDown}, make sure to invoke {@code
     *       super.setUp} and {@code super.tearDown} within them. These methods are used to clear and
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Monitor.java

     *
     * <p>The following examples show a simple threadsafe holder expressed using {@code synchronized},
     * {@link ReentrantLock}, and {@code Monitor}.
     *
     * <h3>{@code synchronized}</h3>
     *
     * <p>This version is the fewest lines of code, largely because the synchronization mechanism used
     * is built into the language and runtime. But the programmer has to remember to avoid a couple of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterables.java

       * (that is, identical to {@link java.util.Arrays Arrays}{@code
       * .toString(Iterables.toArray(iterable))}). Note that for <i>most</i> implementations of {@link
       * Collection}, {@code collection.toString()} also gives the same result, but that behavior is not
       * generally guaranteed.
       */
      public static String toString(Iterable<?> iterable) {
        return Iterators.toString(iterable.iterator());
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
Back to top