Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 181 for Suppress (0.26 seconds)

  1. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

          val prop = Properties()
          Main::class.java.getResourceAsStream("/okcurl-version.properties")?.use {
            prop.load(it)
          }
          return prop.getProperty("version", "dev")
        }
    
        @Suppress("TrustAllX509TrustManager", "CustomX509TrustManager")
        private fun createInsecureTrustManager(): X509TrustManager =
          object : X509TrustManager {
            override fun checkClientTrusted(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

      /** Returns the negotiated protocol, or null if no protocol was negotiated. */
      open fun getSelectedProtocol(sslSocket: SSLSocket): String? = null
    
      /** For MockWebServer. This returns the inbound SNI names. */
      @Suppress("NewApi")
      @IgnoreJRERequirement // This function is overridden to require API >= 24.
      open fun getHandshakeServerNames(sslSocket: SSLSocket): List<String> {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

        }
    
        /**
         * Wait a duration in nanoseconds. Unlike [java.lang.Object.wait] this interprets 0 as
         * "don't wait" instead of "wait forever".
         */
        @Throws(InterruptedException::class)
        @Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN")
        override fun coordinatorWait(
          taskRunner: TaskRunner,
          nanos: Long,
        ) {
          taskRunner.assertLockHeld()
          if (nanos > 0) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 30 11:30:11 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

      // TODO: test adding element of wrong type
    
      /**
       * Returns {@link Method} instances for the {@code setCount()} tests that assume multisets support
       * duplicates so that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getSetCountDuplicateInitializingMethods() {
        return asList(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/TempFileCreator.java

             * unavailable. But given how much other reflection we're using, we might as well use it
             * here, too, so that we don't need to also suppress an AndroidApiChecker error.
             */
    
            Method currentMethod = processHandleClass.getMethod("current");
            Method infoMethod = processHandleClass.getMethod("info");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 18:50:14 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

    import okio.BufferedSink
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    
    /**
     * An [RFC 2387][rfc_2387]-compliant request body.
     *
     * [rfc_2387]: http://www.ietf.org/rfc/rfc2387.txt
     */
    @Suppress("NAME_SHADOWING")
    class MultipartBody internal constructor(
      private val boundaryByteString: ByteString,
      @get:JvmName("type") val type: MediaType,
      @get:JvmName("parts") val parts: List<Part>,
    ) : RequestBody() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

          }
        }
    
        // Call the next interceptor in the chain.
        val next = copy(index = index + 1, request = request)
        val interceptor = interceptors[index]
    
        @Suppress("USELESS_ELVIS")
        val response =
          interceptor.intercept(next) ?: throw NullPointerException(
            "interceptor $interceptor returned null",
          )
    
        if (exchange != null) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableMultimap.java

      // DoNotCall wants this to be final, but we want to override it to return more specific types.
      // Inheritance is closed, and all subtypes are @DoNotCall, so this is safe to suppress.
      @SuppressWarnings("DoNotCall")
      public ImmutableCollection<V> removeAll(@Nullable Object key) {
        throw new UnsupportedOperationException();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

     * code shouldn't use these, they're necessary for clients migrating from OkHttp 3.x and this test
     * ensures the symbols remain available and with the expected parameter and return types.
     */
    @Suppress(
      "DEPRECATION_ERROR",
      "UNUSED_VALUE",
      "UNUSED_VARIABLE",
      "VARIABLE_WITH_REDUNDANT_INITIALIZER",
    )
    class KotlinDeprecationErrorTest {
      private val factory = TestValueFactory()
    
      @AfterEach
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 13.3K bytes
    - Click Count (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

                            it.incoming.artifacts
                        }
                    }
                }
            }
    
            @Suppress("UnstableApiUsage")
            fun addErrorProneDependency(dep: Provider<out ExternalModuleDependency>) {
                project.dependencies.addProvider(
                    annotationProcessorConfigurationName,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:47:14 GMT 2026
    - 8.7K bytes
    - Click Count (0)
Back to Top