Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 462 for kotlin (0.06 sec)

  1. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

     *    crashes the application on Android and prints a stacktrace on the JVM. (Crash reporting
     *    libraries may customize this behavior.)
     *
     * A good way to signal a failure is with a synthetic HTTP response:
     *
     * ```kotlin
     *   @Throws(IOException::class)
     *   override fun intercept(chain: Interceptor.Chain): Response {
     *     if (myConfig.isInvalid()) {
     *       return Response.Builder()
     *           .request(chain.request())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt

     * limitations under the License.
     */
    
    package configurations
    
    import common.Os
    import common.applyDefaultSettings
    import jetbrains.buildServer.configs.kotlin.ParameterDisplay
    import jetbrains.buildServer.configs.kotlin.ReuseBuilds
    import model.CIBuildModel
    import model.PerformanceTestType
    import projects.PerformanceTestProject
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 10 13:15:00 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ResponseCommonTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import kotlin.test.Test
    import kotlin.test.assertFailsWith
    import okhttp3.ResponseBody.Companion.asResponseBody
    import okio.Buffer
    import okio.ByteString.Companion.EMPTY
    import okio.Source
    import okio.Timeout
    import okio.buffer
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. okhttp-sse/README.md

    OkHttp Server-Sent Events
    =========================
    
    Experimental support for server-sent events.
    API is not considered stable and may change at any time.
    
    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:okhttp-sse:4.12.0")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 245 bytes
    - Viewed (0)
  5. build-logic-commons/module-identity/build.gradle.kts

    plugins {
        `kotlin-dsl`
    }
    
    description = "Provides a plugin to define the version and name for subproject publications"
    
    group = "gradlebuild"
    
    dependencies {
        api(platform(projects.buildPlatform))
    
        implementation(projects.basics)
    
        implementation("com.google.code.gson:gson")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 17 10:11:26 UTC 2024
    - 292 bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/util/UtilPerformanceProject.kt

    package util
    
    import jetbrains.buildServer.configs.kotlin.Project
    
    object UtilPerformanceProject : Project({
        id("Util_Performance")
        name = "Performance"
    
        buildType(AdHocPerformanceScenarioLinux)
        buildType(AdHocPerformanceScenarioWindows)
        buildType(AdHocPerformanceScenarioMacOS)
        buildType(AdHocPerformanceScenarioMacAppleSilicon)
    
        params {
            param("env.DEVELOCITY_ACCESS_KEY", "%ge.gradle.org.access.key%")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 24 03:34:53 UTC 2024
    - 450 bytes
    - Viewed (0)
  7. samples/crawler/build.gradle.kts

    plugins {
      kotlin("jvm")
      application
    }
    
    application {
      mainClass.set("okhttp3.sample.Crawler")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(libs.jsoup)
    }
    
    tasks.compileJava {
      options.isWarnings = false
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 15 23:38:32 UTC 2022
    - 234 bytes
    - Viewed (0)
  8. build-logic-commons/publishing/build.gradle.kts

    plugins {
        `kotlin-dsl`
    }
    
    group = "gradlebuild"
    
    description = "Provides a plugin for publishing some of Gradle's subprojects to Artifactory or the Plugin Portal"
    
    dependencies {
        implementation(projects.basics)
        implementation(projects.moduleIdentity)
    
        implementation("com.gradle.publish:plugin-publish-plugin")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 08 14:54:27 UTC 2024
    - 329 bytes
    - Viewed (0)
  9. build-logic/dependency-modules/build.gradle.kts

    plugins {
        id("gradlebuild.build-logic.kotlin-dsl-gradle-plugin")
    }
    
    description = "Provides a plugin to minify and correct metadata for dependencies used by Gradle"
    
    dependencies {
        implementation("gradlebuild:basics")
        implementation("com.google.code.gson:gson")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 276 bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import kotlin.test.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertNull
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    
    /**
     * Test MediaType API and parsing.
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top