Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 510 for NullUnmarked (0.06 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.locks.LockSupport;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    @NullUnmarked
    public final class InterruptibleTaskTest extends TestCase {
    
      // Regression test for a deadlock where a task could be stuck busy waiting for the task to
      // transition to DONE
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test cases for {@link SettableFuture}.
     *
     * @author Sven Mawson
     */
    @NullUnmarked
    public class SettableFutureTest extends TestCase {
    
      private SettableFuture<String> future;
      private ListenableFutureTester tester;
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

    import com.google.common.testing.GcFinalization;
    import java.io.File;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Android-incompatible tests for {@link FileBackedOutputStream}.
     *
     * @author Chris Nokleberg
     */
    @AndroidIncompatible // Finalization probably just doesn't happen fast enough?
    @NullUnmarked
    public class FileBackedOutputStreamAndroidIncompatibleTest extends IoTestCase {
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java

    import com.google.common.collect.testing.SortedMapInterfaceTest;
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtCompatible
    @NullUnmarked
    public abstract class AbstractImmutableSortedMapMapInterfaceTest<K, V>
        extends SortedMapInterfaceTest<K, V> {
      public AbstractImmutableSortedMapMapInterfaceTest() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/TestingWeighers.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Utility {@link Weigher} implementations intended for use in testing.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public final class TestingWeighers {
    
      /** Returns a {@link Weigher} that returns the given {@code constant} for every request. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for any listenable future that chains other listenable futures. Unit tests need only
     * override buildChainingFuture and getSuccessfulResult, but they can add custom tests as needed.
     *
     * @author Nishant Thakkar
     */
    @NullUnmarked
    public abstract class AbstractChainedListenableFutureTest<T> extends TestCase {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for comparing {@link MessageDigest}s and {@link com.google.common.hash.HashFunction}s
     * that wrap {@link MessageDigest}s.
     *
     * <p>Parameters for the benchmark are:
     *
     * <ul>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java

    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Benchmark for {@code BaseEncoding} performance. */
    @NullUnmarked
    public class BaseEncodingBenchmark {
      private static final int INPUTS_COUNT = 0x1000;
      private static final int INPUTS_MASK = 0xFFF;
    
      enum EncodingOption {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.File;
    import java.io.IOException;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link Files#fileTraverser()}.
     *
     * @author Jens Nyman
     */
    
    @NullUnmarked
    public class FilesFileTraverserTest extends IoTestCase {
    
      private File rootDir;
    
      @Override
      public void setUp() throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

    import com.google.common.collect.CollectionBenchmarkSampleData.Element;
    import java.util.HashMap;
    import java.util.Map;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Benchmarks for memory consumption of map implementations. */
    @NullUnmarked
    public class MapsMemoryBenchmark {
      static final Map<String, MapsImplEnum> mapEnums =
          uniqueIndex(
              Iterables.<MapsImplEnum>concat(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top