Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 181 for Suppress (0.45 seconds)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

            String::class.java,
            String::class.java,
          )
        } catch (_: NoSuchMethodException) {
          null
        }
    
      /** Android method to clean and sort certificates, called via reflection. */
      @Suppress("unused", "UNCHECKED_CAST")
      fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
        host: String,
      ): List<Certificate> {
        if (host in insecureHosts) return listOf()
        try {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/CloserTest.java

        private final List<Suppression> suppressions = new ArrayList<>();
    
        @Override
        public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) {
          suppressions.add(new Suppression(closeable, thrown, suppressed));
        }
      }
    
      /** Record of a call to suppress. */
      private static class Suppression {
        private final Closeable closeable;
        private final Throwable thrown;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusTask.kt

    import org.gradle.api.tasks.Input
    import org.gradle.api.tasks.TaskAction
    import org.gradle.kotlin.dsl.registerIfAbsent
    import org.gradle.language.base.plugins.LifecycleBasePlugin
    
    @Suppress("UnstableApiUsage")
    internal abstract class NullawayStatusTask : DefaultTask() {
        @get:ServiceReference
        abstract val statusService: Property<NullawayStatusService>
    
        @get:Input
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Aug 20 13:18:23 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. android/guava-testlib/test/com/google/common/testing/AndroidIncompatible.java

    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with LargeTest.
     *
     * <p>For more discussion, see {@linkplain com.google.common.base.AndroidIncompatible the
     * documentation on another copy of this annotation}.
     */
    @Retention(CLASS)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 15:54:11 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/AndroidIncompatible.java

    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with LargeTest.
     *
     * <p>For more discussion, see {@linkplain com.google.common.base.AndroidIncompatible the
     * documentation on another copy of this annotation}.
     */
    @Retention(CLASS)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 15:54:11 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/primitives/AndroidIncompatible.java

    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with LargeTest.
     *
     * <p>For more discussion, see {@linkplain com.google.common.base.AndroidIncompatible the
     * documentation on another copy of this annotation}.
     */
    @Retention(CLASS)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 15:54:11 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/AndroidIncompatible.java

    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with LargeTest.
     *
     * <p>For more discussion, see {@linkplain com.google.common.base.AndroidIncompatible the
     * documentation on another copy of this annotation}.
     */
    @Retention(CLASS)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 15:54:11 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java

        expectContents(array);
      }
    
      /**
       * 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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

            () -> {
              Object unused = getSubjectGenerator().create(array);
            });
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testCreateWithNull_unsupported()} 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt

          )
        return x509TrustManager
          ?: readFieldOrNull(
            context,
            X509TrustManager::class.java,
            "trustManager",
          )
      }
    
      companion object {
        @Suppress("UNCHECKED_CAST", "PrivateApi")
        fun buildIfSupported(packageName: String = "com.android.org.conscrypt"): SocketAdapter? =
          try {
            val sslSocketClass =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 09:36:53 GMT 2026
    - 2.8K bytes
    - Click Count (0)
Back to Top