Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 710 for fun (0.15 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectInterceptor.kt

     * be used for the returned response, or to validate a cached response with a conditional GET.
     */
    object ConnectInterceptor : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val realChain = chain as RealInterceptorChain
        val exchange = realChain.call.initExchange(realChain)
        val connectedChain = realChain.copy(exchange = exchange)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. samples/tlssurvey/src/main/kotlin/okhttp3/survey/CipherSuiteSurvey.kt

     */
    class CipherSuiteSurvey(
      val clients: List<Client>,
      val ianaSuites: IanaSuites,
      val orderBy: List<SuiteId>,
    ) {
      fun printGoogleSheet() {
        print("name")
        for (client in clients) {
          print("\t")
          print(client.nameAndVersion)
        }
        println()
        val sortedSuites =
          ianaSuites.suites.sortedBy { ianaSuite ->
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateContributorsInReleaseNotes.kt

    import org.gradle.work.DisableCachingByDefault
    
    @DisableCachingByDefault(because = "Depends on GitHub API")
    abstract class UpdateContributorsInReleaseNotes : AbstractCheckOrUpdateContributorsInReleaseNotes() {
        @TaskAction
        fun update() {
            val contributorsInReleaseNotes = getContributorsInReleaseNotes().associateBy { it.login }
            val contributorsFromPullRequests = getContributorsFromPullRequests().associateBy { it.login }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sun Dec 15 07:49:41 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixTesting.kt

     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    import org.junit.runner.Runner
    
    expect class PublicSuffixTestRunner : Runner
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri May 23 16:58:05 UTC 2025
    - 753 bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt

                }
            }
        }
    
        private val excludePackagePatterns = listOf(Pattern.compile(".+\\.internal(\\..+)?"))
    
        fun isPublicApiPackage(packageName: String) =
            includePackagePatterns.any { it.matcher(packageName).matches() } &&
                !excludePackagePatterns.any { it.matcher(packageName).matches() }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jun 12 23:20:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Header.kt

      constructor(name: String, value: String) : this(name.encodeUtf8(), value.encodeUtf8())
    
      constructor(name: ByteString, value: String) : this(name, value.encodeUtf8())
    
      override fun toString(): String = "${name.utf8()}: ${value.utf8()}"
    
      companion object {
        // Special header names defined in HTTP/2 spec.
        @JvmField val PSEUDO_PREFIX: ByteString = ":".encodeUtf8()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixList.kt

     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    import okio.ByteString
    
    /**
     * Basic I/O for `PublicSuffixDatabase.list`
     */
    internal interface PublicSuffixList {
      fun ensureLoaded()
    
      val bytes: ByteString
      val exceptionBytes: ByteString
    
      companion object
    }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 929 bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/repositories-extensions.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.basics
    
    import org.gradle.api.artifacts.dsl.RepositoryHandler
    
    
    fun RepositoryHandler.googleApisJs() {
        ivy {
            name = "googleApisJs"
            setUrl("https://ajax.googleapis.com/ajax/libs")
            patternLayout {
                artifact("[organization]/[revision]/[module].[ext]")
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt

        }
    
      private val isBouncyCastlePreferred: Boolean
        get() {
          val preferredProvider = Security.getProviders()[0].name
          return "BC" == preferredProvider
        }
    
      actual fun findPlatform(): Platform {
        if (isConscryptPreferred) {
          val conscrypt = ConscryptPlatform.buildIfSupported()
    
          if (conscrypt != null) {
            return conscrypt
          }
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu May 22 14:39:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt

    import javax.net.ssl.SSLException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLPeerUnverifiedException
    import okio.IOException
    
    /** Returns true if a TLS connection should be retried after [e]. */
    fun retryTlsHandshake(e: IOException): Boolean =
      when {
        // If there was a protocol problem, don't recover.
        e is ProtocolException -> false
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top