Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 329 for Kotlin (0.2 sec)

  1. buildSrc/build.gradle.kts

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    plugins {
      `kotlin-dsl`
    }
    
    repositories {
      mavenCentral()
    }
    
    dependencies {
      // TODO (https://github.com/square/okhttp/issues/8612) we will need a consistent version
      // 7.1.0 is used because it avoids this error
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:41:00 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import kotlin.math.abs
    import okio.ByteString
    
    internal sealed interface MappedRange {
      val rangeStart: Int
    
      data class Constant(
        override val rangeStart: Int,
        val type: Int,
      ) : MappedRange {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

    package common
    
    import jetbrains.buildServer.configs.kotlin.DslContext
    
    fun isSecurityFork(): Boolean =
        DslContext.settingsRoot.id
            .toString()
            .lowercase()
            .contains("security")
    
    // GradleMaster -> Master
    // GradleSecurityAdvisory84mwRelease -> SecurityAdvisory84mwRelease
    val DslContext.uuidPrefix: String
        get() = settingsRoot.id.toString().substringAfter("Gradle")
    
    data class VersionedSettingsBranch(
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jun 17 09:57:45 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/README.md

    You can redact headers that may contain sensitive information by calling `redactHeader()`.
    ```java
    logging.redactHeader("Authorization");
    logging.redactHeader("Cookie");
    ```
    
    Download
    --------
    
    ```kotlin
    implementation("com.squareup.okhttp3:logging-interceptor:5.1.0")
    ```
    
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

     */
    package okhttp3.internal.idn
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isGreaterThan
    import assertk.assertions.isLessThan
    import kotlin.test.assertEquals
    import kotlin.test.assertFailsWith
    import okio.Buffer
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import kotlin.test.Test
    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    
    /** Runs the web platform ToAscii tests. */
    class WebPlatformToAsciiTest {
      @Suppress("ktlint:standard:max-line-length")
      val knownFailures =
        setOf(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/promotion/PublishRelease.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package promotion
    
    import common.VersionedSettingsBranch
    import jetbrains.buildServer.configs.kotlin.ParameterDisplay
    
    const val FINAL_RELEASE_BUILD_CONFIGURATION_ID = "Promotion_FinalRelease"
    const val RELEASE_CANDIDATE_BUILD_CONFIGURATION_ID = "Promotion_ReleaseCandidate"
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Jul 24 03:08:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import kotlin.test.assertFailsWith
    import okhttp3.ResponseBody.Companion.asResponseBody
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okio.Buffer
    import okio.BufferedSource
    import okio.Source
    import okio.Timeout
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    /** Exposes Kotlin-internal APIs to Java test code and code in other modules. */
    @file:JvmName("Internal")
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    import java.nio.charset.Charset
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/HandshakeTest.kt

    import assertk.assertions.hasMessage
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import java.io.IOException
    import java.security.cert.Certificate
    import kotlin.test.assertFailsWith
    import okhttp3.Handshake.Companion.handshake
    import okhttp3.tls.HeldCertificate
    import org.junit.jupiter.api.Test
    
    class HandshakeTest {
      val serverRoot =
        HeldCertificate
          .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top