Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 470 for ktlint (0.09 seconds)

  1. build-logic/cleanup/build.gradle.kts

    plugins {
        id("gradlebuild.build-logic.kotlin-dsl-gradle-plugin")
        id("gradlebuild.build-logic.groovy-dsl-gradle-plugin")
    }
    
    description = "Provides a plugin that cleans up after executing tests"
    
    dependencies {
        implementation("gradlebuild:basics")
        implementation("gradlebuild:module-identity")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jun 16 06:11:03 GMT 2025
    - 311 bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallTagsTest.kt

            .url("https://square.com/".toHttpUrl())
            .tag(Integer::class, 5 as Integer)
            .tag(String::class, "hello")
            .build()
        val call = client.newCall(request)
    
        // Check the Kotlin-focused APIs.
        assertThat(call.tag(String::class)).isEqualTo("hello")
        assertThat(call.tag(Integer::class)).isEqualTo(5)
        assertThat(call.tag(Boolean::class)).isNull()
        assertThat(call.tag(Any::class)).isNull()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Oct 26 14:54:46 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

    import org.intellij.lang.annotations.Language
    import java.io.File
    import java.io.IOException
    import java.lang.reflect.Method
    import java.lang.reflect.Type
    import kotlin.reflect.KClass
    import kotlin.reflect.full.memberFunctions
    import kotlin.reflect.jvm.javaMethod
    
    
    abstract class AnnotationGeneratorWorkAction : WorkAction<AnnotationGeneratorWorkAction.AnnotationGeneratorParameters> {
    
        internal
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Jul 07 16:02:18 GMT 2024
    - 8.1K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/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
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/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())
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  6. mockwebserver-junit4/build.gradle.kts

    import com.vanniktech.maven.publish.JavadocJar
    import com.vanniktech.maven.publish.KotlinJvm
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyJavaModules("mockwebserver3.junit4")
    
    dependencies {
      api(projects.okhttp)
      api(projects.mockwebserver3)
      api(libs.junit)
    
      testImplementation(libs.assertk)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 533 bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/configurations/BaseGradleBuildType.kt

    package configurations
    
    import common.Os
    import jetbrains.buildServer.configs.kotlin.BuildType
    import model.Stage
    
    open class BaseGradleBuildType(
        open val stage: Stage? = null,
        open val failStage: Boolean = true,
        init: BaseGradleBuildType.() -> Unit = {},
    ) : BuildType() {
        init {
            this.init()
        }
    }
    
    open class OsAwareBaseGradleBuildType(
        val os: Os,
        override val stage: Stage? = null,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 560 bytes
    - Click Count (0)
  8. build-logic/integration-testing/build.gradle.kts

    plugins {
        id("gradlebuild.build-logic.kotlin-dsl-gradle-plugin")
    }
    
    description = "Provides plugins to create and configure integration, cross-version and distribution tests"
    
    gradlePlugin {
        plugins {
            register("androidStudioProvisioning") {
                id = "gradlebuild.android-studio-provisioning"
                implementationClass = "gradlebuild.integrationtests.ide.AndroidStudioProvisioningPlugin"
            }
        }
    
        plugins {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 27 06:24:17 GMT 2025
    - 930 bytes
    - Click Count (0)
  9. CONTRIBUTING.md

    [Google Python Style Guide](https://github.com/google/styleguide/blob/gh-pages/pyguide.md)
    
    Use `pylint` to check your Python changes. To install `pylint` and check a file
    with `pylint` against TensorFlow's custom style definition:
    
    ```bash
    pip install pylint
    pylint --rcfile=tensorflow/tools/ci_build/pylintrc myfile.py
    ```
    
    Note `pylint --rcfile=tensorflow/tools/ci_build/pylintrc` should run from the
    top level tensorflow directory.
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Jan 11 04:47:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/util/UtilProject.kt

    package util
    
    import common.Arch
    import common.Os
    import configurations.DownloadGitRepoToEc2Agent
    import jetbrains.buildServer.configs.kotlin.Project
    
    object UtilProject : Project({
        id("Util")
        name = "Util"
    
        buildType(RerunFlakyTest(Os.LINUX))
        buildType(RerunFlakyTest(Os.WINDOWS))
        buildType(RerunFlakyTest(Os.MACOS, Arch.AMD64))
        buildType(RerunFlakyTest(Os.MACOS, Arch.AARCH64))
        buildType(WarmupEc2Agent)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 12 06:13:12 GMT 2025
    - 639 bytes
    - Click Count (0)
Back to Top