Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 307 for NullUnmarked (0.05 seconds)

  1. android/guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

    import java.util.ArrayList;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Validate that {@link EventBus} behaves carefully when listeners publish their own events.
     *
     * @author Jesse Wilson
     */
    @NullUnmarked
    public class ReentrantEventsTest extends TestCase {
    
      static final String FIRST = "one";
      static final Double SECOND = 2.0d;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/html/HtmlEscapersTest.java

    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the {@link HtmlEscapers} class.
     *
     * @author David Beaumont
     */
    @GwtCompatible
    @NullUnmarked
    public class HtmlEscapersTest extends TestCase {
    
      public void testHtmlEscaper() throws Exception {
        assertEquals("xxx", htmlEscaper().escape("xxx"));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 22:03:28 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.ArrayList;
    import java.util.List;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmark for various ways to create an {@code ImmutableList}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ImmutableListCreationBenchmark {
    
      @Param({"10", "1000", "1000000"})
      int size;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

    import com.google.common.util.concurrent.AbstractFutureBenchmarks.Impl;
    import java.util.HashSet;
    import java.util.Set;
    import java.util.concurrent.Executor;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Measures the size of AbstractFuture implementations. */
    @NullUnmarked
    public class AbstractFutureFootprintBenchmark {
    
      enum State {
        NOT_DONE,
        FINISHED,
        CANCELLED,
        FAILED
      }
    
      @Param State state;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/io/AppendableWriterTest.java

    import java.io.Closeable;
    import java.io.Flushable;
    import java.io.IOException;
    import java.io.Writer;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link AppendableWriter}.
     *
     * @author Alan Green
     */
    @NullUnmarked
    public class AppendableWriterTest extends IoTestCase {
    
      /** Helper class for testing behavior with Flushable and Closeable targets. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

    import java.io.IOException;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.nio.Buffer;
    import java.nio.CharBuffer;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for {@link CharStreams#copy}.
     *
     * <p>{@link CharStreams#copy} has type specific optimizations for various common Appendable and
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Microbenchmark for {@link com.google.common.base.Strings#repeat}
     *
     * @author Mike Cripps
     */
    @NullUnmarked
    public class StringsRepeatBenchmark {
      @Param({"1", "5", "25", "125"})
      int count;
    
      @Param({"1", "10"})
      int length;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.BitSet;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Benchmark for the {@link CharMatcher#whitespace} implementation. */
    @NullUnmarked
    public class WhitespaceMatcherBenchmark {
      private static final int STRING_LENGTH = 10000;
    
      private static final String OLD_WHITESPACE_TABLE =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  9. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Benchmarks for the hashing of UTF-8 strings. */
    @NullUnmarked
    public class HashStringBenchmark {
      static class MaxCodePoint {
        final int value;
    
        /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/base/DefaultsTest.java

    import com.google.common.annotations.GwtIncompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Defaults}.
     *
     * @author Jige Yu
     */
    @GwtIncompatible
    @NullUnmarked
    public class DefaultsTest extends TestCase {
      public void testGetDefaultValue() {
        assertEquals(false, Defaults.defaultValue(boolean.class).booleanValue());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top