Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 174 for suppress (0.04 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * @author Charles Fry
     */
    @SuppressWarnings("GuardedBy") // TODO(b/35466881): Fix or suppress.
    @NullUnmarked
    public class LocalCacheTest extends TestCase {
      @AndroidIncompatible
      private static class TestStringCacheGenerator extends TestStringMapGenerator {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * @author Charles Fry
     */
    @SuppressWarnings("GuardedBy") // TODO(b/35466881): Fix or suppress.
    @NullUnmarked
    public class LocalCacheTest extends TestCase {
      @AndroidIncompatible
      private static class TestStringCacheGenerator extends TestStringMapGenerator {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

                alreadyEncoded = true,
                strict = true,
                unicodeAllowed = true,
              )
          }
    
        fun build(): HttpUrl {
          @Suppress("UNCHECKED_CAST") // percentDecode returns either List<String?> or List<String>.
          return HttpUrl(
            scheme = scheme ?: throw IllegalStateException("scheme == null"),
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        throw new InvalidObjectException("Use SerializedForm");
      }
    
      // This class is never actually serialized directly, but we have to make the
      // warning go away (and suppressing would suppress for all nested classes too)
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    
      /**
       * Not supported. Use {@link #toImmutableSortedMap}, which offers better type-safety, instead.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 52.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

    import kotlin.test.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertFailsWith
    import kotlin.test.fail
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.UrlComponentEncodingTester.Encoding
    
    @Suppress("HttpUrlsUsage") // Don't warn if we should be using https://.
    open class HttpUrlTest {
      protected open fun parse(url: String): HttpUrl = url.toHttpUrl()
    
      protected open fun assertInvalid(
        string: String,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

     * @author Doug Lea ({@code ConcurrentHashMap})
     */
    // TODO(kak): Consider removing @CanIgnoreReturnValue from this class.
    @J2ktIncompatible
    @GwtIncompatible
    @SuppressWarnings({
      "GuardedBy", // TODO(b/35466881): Fix or suppress.
      "nullness", // too much trouble for the payoff
    })
    @NullUnmarked // TODO(cpovirk): Annotate for nullness.
    final class MapMakerInternalMap<
            K,
            V,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 89.9K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Pepper, mostly,' said the cook.
    
      `Treacle,' said a sleepy voice behind her.
    
      `Collar that Dormouse,' the Queen shrieked out.  `Behead that
    Dormouse!  Turn that Dormouse out of court!  Suppress him!  Pinch
    him!  Off with his whiskers!'
    
      For some minutes the whole court was in confusion, getting the
    Dormouse turned out, and, by the time they had settled down
    again, the cook had disappeared.
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      public void testCopyExceptions() {
        // test that exceptions are suppressed
    
        for (CharSource in : BROKEN_SOURCES) {
          int suppressed = runSuppressionFailureTest(in, newNormalCharSink());
          assertEquals(0, suppressed);
    
          suppressed = runSuppressionFailureTest(in, BROKEN_CLOSE_SINK);
          assertEquals((in == BROKEN_OPEN_SOURCE) ? 0 : 1, suppressed);
        }
    
        for (CharSink out : BROKEN_SINKS) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt

          client.newCall(request).execute()
        }.also { expected ->
          expected.assertSuppressed {
            val suppressed = it.single()
            assertThat(suppressed).isInstanceOf(IOException::class.java)
            assertThat(suppressed).isNotSameAs(expected)
          }
        }
      }
    
      /** Confirm suppressed exceptions that occur after connecting are returned. */
      @Test fun httpExceptionsAreReturnedAsSuppressed() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top