Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 749 for NullUnmarked (0.06 seconds)

  1. guava-tests/test/com/google/common/reflect/ParameterTest.java

    import com.google.common.testing.NullPointerTester;
    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link Parameter}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class ParameterTest extends TestCase {
    
      public void testNulls() {
        try {
          Class.forName("java.lang.reflect.AnnotatedType");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java

    import com.google.common.base.Function;
    import java.lang.reflect.UndeclaredThrowableException;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Futures#transform(ListenableFuture, Function, Executor)}.
     *
     * @author Nishant Thakkar
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class FuturesTransformTest extends AbstractChainedListenableFutureTest<String> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/TestByteSink.java

    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A byte sink for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestByteSink extends ByteSink implements TestStreamSupplier {
    
      private final ByteArrayOutputStream bytes = new ByteArrayOutputStream();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java

    package com.google.common.io;
    
    import static org.junit.Assert.assertThrows;
    
    import java.io.ByteArrayOutputStream;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link CountingOutputStream}.
     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class CountingOutputStreamTest extends IoTestCase {
    
      public void testCount() throws Exception {
        int written = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

    import java.io.File;
    import java.io.FilenameFilter;
    import java.util.regex.PatternSyntaxException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link PatternFilenameFilter}.
     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class PatternFilenameFilterTest extends TestCase {
    
      public void testSyntaxException() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

    import com.google.common.collect.CollectionBenchmarkSampleData.Element;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test iteration speed at various size for {@link Set} instances.
     *
     * @author Christopher Swenson
     */
    @NullUnmarked
    public class SetIterationBenchmark {
      @Param({
        "3", "6", "11", "23", "45", "91", "181", "362", "724", "1448", "2896", "5793", "11585", "23170",
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java

    import com.google.common.collect.MapMaker;
    import java.util.Map;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Compare CacheBuilder and MapMaker performance, ensuring that they remain on par with each other.
     *
     * @author Nikita Sidorov
     */
    @SuppressWarnings("CheckReturnValue")
    @NullUnmarked
    public class MapMakerComparisonBenchmark {
      private static final String TEST_KEY = "test key";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Closeable;
    import java.util.concurrent.ExecutionException;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link ClosingFuture} that exercise {@link ClosingFuture#finishToFuture()}. */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ClosingFutureFinishToFutureTest extends AbstractClosingFutureTest {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

    import com.google.common.testing.NullPointerTester;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Atomics}.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class AtomicsTest extends TestCase {
    
      private static final Object OBJECT = new Object();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/reflect/ReflectionTest.java

    import java.lang.reflect.InvocationHandler;
    import java.lang.reflect.Method;
    import java.util.Map;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link Reflection} */
    @NullUnmarked
    public class ReflectionTest extends TestCase {
    
      public void testGetPackageName() throws Exception {
        assertThat(Reflection.getPackageName(Iterable.class)).isEqualTo("java.lang");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.8K bytes
    - Click Count (0)
Back to Top