Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 169 for suppress (0.1 sec)

  1. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

    import org.junit.Ignore
    import org.junit.Test
    
    /**
     * Access every type, function, and property from Kotlin to defend against unexpected regressions in
     * modern 4.0.x kotlin source-compatibility.
     */
    @Suppress(
      "ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE",
      "UNUSED_ANONYMOUS_PARAMETER",
      "UNUSED_VALUE",
      "UNUSED_VARIABLE",
      "VARIABLE_WITH_REDUNDANT_INITIALIZER",
      "RedundantLambdaArrow",
      "RedundantExplicitType",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

       * collection is empty, but we'd still like to test removeAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
       */
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRemoveAll_nullCollectionReferenceEmptySubject() {
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

       *     writing process sets something else. This is used to encode SEQUENCES in values that are
       *     declared to have non-constructed values, like OCTET STRING values.
       */
      @Suppress("UNCHECKED_CAST") // read() produces a single element of the expected type.
      fun withExplicitBox(
        tagClass: Int = DerHeader.TAG_CLASS_CONTEXT_SPECIFIC,
        tag: Long,
        forceConstructed: Boolean? = null,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt

      override fun getLocalPrincipal(): Principal = throw UnsupportedOperationException()
    
      override fun getPacketBufferSize(): Int = throw UnsupportedOperationException()
    
      @Suppress("UNCHECKED_CAST")
      @Throws(SSLPeerUnverifiedException::class)
      override fun getPeerCertificates(): Array<Certificate> =
        if (certificates.isEmpty()) {
          throw SSLPeerUnverifiedException("peer not authenticated")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt

         */
        @JvmStatic
        @Throws(IOException::class)
        fun get(protocol: String): Protocol {
          // Unroll the loop over values() to save an allocation.
          @Suppress("DEPRECATION")
          return when (protocol) {
            HTTP_1_0.protocol -> HTTP_1_0
            HTTP_1_1.protocol -> HTTP_1_1
            H2_PRIOR_KNOWLEDGE.protocol -> H2_PRIOR_KNOWLEDGE
            HTTP_2.protocol -> HTTP_2
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jun 23 18:58:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

        expectContents(expectedWithDuplicateRemoved);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testCreateWithNullKeyUnsupported()} so that
       * tests can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

        expectContents(expectedWithDuplicateRemoved);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testCreateWithNullKeyUnsupported()} so that
       * tests can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

        // TODO: run the iterator through ListIteratorTester
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testListIterator_fullyModifiable()} so that
       * tests of {@link CopyOnWriteArraySet} can suppress it with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-6570575">JDK-6570575</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

        expectUnchanged();
        expectMissing(e3());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAddAtIndex_nullSupported()} so that tests
       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java

        List<E> expected = copyToList(array);
        expected.add(null);
        expectContents(expected);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_supportedNullPresent()} so that tests
       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddSupportedNullPresentMethod() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top