Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 370 for invoked (0.05 sec)

  1. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

    import java.util.logging.Level;
    
    /**
     * A list of listeners for implementing a concurrency friendly observable object.
     *
     * <p>Listeners are registered once via {@link #addListener} and then may be invoked by {@linkplain
     * #enqueue enqueueing} and then {@linkplain #dispatch dispatching} events.
     *
     * <p>The API of this class is designed to make it easy to achieve the following properties
     *
     * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code add(int, Object)} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java

     */
    @GwtCompatible
    @NullMarked
    public class RegularImmutableAsListTest extends TestCase {
      /**
       * RegularImmutableAsList should assume its input is null-free without checking, because it only
       * gets invoked from other immutable collections.
       */
      public void testDoesntCheckForNull() {
        ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3);
        ImmutableList<Integer> unused =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java

    import com.google.common.annotations.GwtCompatible;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code get()} operations on a list. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Internal.java

       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountUnconditionallyTester.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests unconditional {@code setCount()} operations on a multiset. Can't
     * be invoked directly; please see {@link MultisetTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code isEmpty()} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapSizeTester.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.AbstractMapTester;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code size()} operations on a map. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListCreationTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests creation (typically through a constructor or static factory
     * method) of a list. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Internal.java

      @IgnoreJRERequirement
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top