Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for Krause (2.96 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

        } catch (e: IllegalAccessException) {
          throw AssertionError(e)
        } catch (e: InvocationTargetException) {
          // https://github.com/square/okhttp/issues/5587
          val cause = e.cause
          when {
            cause is NullPointerException && cause.message == "ssl == null" -> null
            else -> throw AssertionError(e)
          }
        }
      }
    
      companion object {
        val playProviderFactory: DeferredSocketAdapter.Factory =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. licenses/github.com/miekg/dns/LICENSE

    BSD 3-Clause License
    
    Copyright (c) 2009, The Go Authors. Extensions copyright (c) 2011, Miek Gieben. 
    All rights reserved.
    
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:
    
    1. Redistributions of source code must retain the above copyright notice, this
       list of conditions and the following disclaimer.
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 14 18:02:23 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KtFirReferenceResolver.kt

                    } catch (e: Exception) {
                        if (shouldIjPlatformExceptionBeRethrown(e)) throw e
    
                        errorWithAttachment("Unable to resolve reference ${ref.element::class}", cause = e) {
                            withPsiEntry("reference", ref.element)
                        }
                    }
                    resolveToPsiElements.map { KotlinResolveResult(it) }.toTypedArray()
                }
            }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Sep 01 12:20:03 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

          try {
            val results = dns.lookup(host)
            println(results)
          } catch (uhe: UnknownHostException) {
            var e: Throwable? = uhe
            while (e != null) {
              println(e)
              e = e.cause
            }
          }
        }
        println()
      }
      time = System.currentTimeMillis() - time
      println("Time: ${time.toDouble() / 1000} seconds\n")
    }
    
    fun main() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. ci/official/README.md

    #   your builds. This usually saves a lot of time, especially when
    #   re-running tests. However, note that:
    #
    #    - New environments like new CUDA versions, changes to manylinux,
    #      compilers, etc. can cause undefined behavior such as build failures
    #      or tests passing incorrectly.
    #    - Automatic LLVM updates are known to extend build time even with
    #      the cache; this is unavoidable.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  6. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

          }
        } catch (ite: InvocationTargetException) {
          if (!expectedFailure(className, ite.cause!!)) {
            throw ite.cause!!
          }
        }
      }
    
      @Suppress("UNUSED_PARAMETER")
      private fun expectedFailure(
        className: String,
        cause: Throwable,
      ): Boolean {
        return when (className) {
          "okhttp3.recipes.CheckHandshake" -> true // by design
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntries.kt

                PluginEntry(id, implementationClass)
            }.toList()
        }
    } catch (cause: IOException) {
        throw IllegalArgumentException(
            "Failed to extract plugin metadata from '" + jar.path + "'",
            cause
        )
    }
    
    
    private
    fun isGradlePluginPropertiesFile(entry: JarEntry) = entry.run {
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/websockets.md

        ```Python hl_lines="68-69  81"
        {!> ../../../docs_src/websockets/tutorial002.py!}
        ```
    
    !!! info
        As this is a WebSocket it doesn't really make sense to raise an `HTTPException`, instead we raise a `WebSocketException`.
    
        You can use a closing code from the <a href="https://tools.ietf.org/html/rfc6455#section-7.4.1" class="external-link" target="_blank">valid codes defined in the specification</a>.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      }
    
      override fun isOutputShutdown(): Boolean {
        return delegate!!.isOutputShutdown
      }
    
      @Throws(SocketException::class)
      override fun setReuseAddress(reuse: Boolean) {
        delegate!!.reuseAddress = reuse
      }
    
      @Throws(SocketException::class)
      override fun getReuseAddress(): Boolean {
        return delegate!!.reuseAddress
      }
    
      @Throws(SocketException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. build-logic/build.gradle.kts

            if (jvmArgs.size > 1) {
                throw GradleException("gradle.properties and build-logic/gradle.properties have different org.gradle.jvmargs " +
                    "which may cause two daemons to be spawned on CI and in IDEA. " +
                    "Use the same org.gradle.jvmargs for both builds.")
            }
        }
    }
    
    fun readProperties(propertiesFile: File) = java.util.Properties().apply {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jan 24 02:52:56 GMT 2024
    - 1.2K bytes
    - Viewed (0)
Back to top