Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 815 for Nullable (0.05 sec)

  1. guava/src/com/google/common/hash/BloomFilterStrategies.java

    import java.math.RoundingMode;
    import java.util.Arrays;
    import java.util.concurrent.atomic.AtomicLongArray;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Collections of strategies of generating the k * log(M) bits required for an element to be mapped
     * to a BloomFilter of M bits and k hash functions. These strategies are part of the serialized form
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.common.cache.LocalCache.Segment;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Benchmark for {@code LocalCache.Segment.removeEntryFromChain}.
     *
     * @author Charles Fry
     */
    @SuppressWarnings("CheckReturnValue")
    public class ChainBenchmark {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestSortedSetGenerator.java

    import java.util.SortedSet;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates sorted sets, containing sample elements, to be tested.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestSortedSetGenerator<E extends @Nullable Object> extends TestSetGenerator<E> {
      @Override
      SortedSet<E> create(Object... elements);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java

     * limitations under the License.
     */
    
    package com.google.common.eventbus.outside;
    
    import com.google.common.eventbus.EventBus;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Abstract base class for tests that EventBus finds the correct subscribers.
     *
     * <p>The actual tests are distributed among the other classes in this package based on whether they
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestSortedSetGenerator.java

    import java.util.SortedSet;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates sorted sets, containing sample elements, to be tested.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestSortedSetGenerator<E extends @Nullable Object> extends TestSetGenerator<E> {
      @Override
      SortedSet<E> create(Object... elements);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       * Tests that {@code cls} properly checks null on all constructor and method parameters that
       * aren't annotated nullable (according to the rules of {@link NullPointerTester}). In details:
       *
       * <ul>
       *   <li>All non-private static methods are checked such that passing null for any parameter
       *       that's not annotated nullable should throw {@link NullPointerException}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Uninterruptibles.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import java.util.concurrent.locks.Condition;
    import java.util.concurrent.locks.Lock;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Utilities for treating interruptible operations as uninterruptible. In all cases, if a thread is
     * interrupted during such a call, the call continues to block until the result is available or the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        public void execute(Runnable command) {
          command.run();
          runCount++;
        }
      }
    
      private final class MockCallback implements FutureCallback<String> {
        @Nullable private String value = null;
        @Nullable private Throwable failure = null;
        private boolean wasCalled = false;
        private final Object monitor = new Object();
    
        MockCallback(String expectedValue) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

    import java.lang.reflect.InvocationHandler;
    import java.lang.reflect.Method;
    import java.lang.reflect.Proxy;
    import java.util.Arrays;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Abstract implementation of {@link InvocationHandler} that handles {@link Object#equals}, {@link
     * Object#hashCode} and {@link Object#toString}. For example:
     *
     * <pre>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TopKSelector.java

    import java.math.RoundingMode;
    import java.util.Arrays;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An accumulator that selects the "top" {@code k} elements added to it, relative to a provided
     * comparator. "Top" can mean the greatest or the lowest elements, specified in the factory used to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top