Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 695 for checkID (0.14 sec)

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

    import java.util.concurrent.ScheduledFuture;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@code Futures#withTimeout}.
     *
     * <p>Future that delegates to another but will finish early (via a {@link TimeoutException} wrapped
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.util.concurrent.NullnessCasts.uncheckedCastNullableTToT;
    
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Emulation for InterruptibleTask in GWT. */
    @ElementTypesAreNonnullByDefault
    abstract class InterruptibleTask<T extends @Nullable Object> implements Runnable {
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 08 20:30:27 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/NullnessCasts.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class NullnessCasts {
      /**
       * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that
       * that conversion is safe.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link AbstractLoadingCache}.
     *
     * @author Charles Fry
     */
    public class AbstractLoadingCacheTest extends TestCase {
    
      public void testGetUnchecked_checked() {
        final Exception cause = new Exception();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.DoNotMock;
    import java.util.Map;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A map, each entry of which maps a {@link TypeToken} to an instance of that type. In addition to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 22 01:15:23 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

    import com.google.common.testing.EqualsTester;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Subscriber}.
     *
     * @author Cliff Biffle
     * @author Colin Decker
     */
    public class SubscriberTest extends TestCase {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Abstract test case parent for anything implementing {@link ListenableFuture}. Tests the two get
     * methods and the addListener method.
     *
     * @author Sven Mawson
     * @since 10.0
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

    import com.google.common.testing.GcFinalization;
    import java.lang.ref.WeakReference;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@code AbstractIterator}.
     *
     * @author Kevin Bourrillion
     */
    @SuppressWarnings("serial") // No serialization is used in this test
    @GwtCompatible(emulated = true)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for testers of classes (including {@link Collection} and {@link java.util.Map Map})
     * that contain elements.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

    import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
    import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
    import java.util.logging.Level;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A helper which does some thread-safe operations for aggregate futures, which must be implemented
     * differently in GWT. Namely:
     *
     * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
Back to top