Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 456 for ktlint (0.05 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt

            .plus(Boolean::class, true)
            .plus(String::class, "b")
        assertThat(tags[String::class]).isEqualTo("b")
        assertThat(tags.toString())
          .isEqualTo("{class kotlin.Int=5, class kotlin.Boolean=true, class kotlin.String=b}")
      }
    
      /** The implementation retains only the first node from the original linked list. */
      @Test
      fun replaceMiddleElement() {
        val tags =
          EmptyTags
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Oct 24 11:37:46 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

                .toList();
    
            if (pair.size() == 2 &&
                pair.get(0).lang == Language.GROOVY &&
                pair.get(1).lang == Language.KOTLIN) {
                addError(errors, file, new Error(pair.get(0).line,
                    "Reversed order: found Groovy first then Kotlin. Expected Kotlin first then Groovy."));
            }
        }
    
        private static String parseSourceLang(String lineTrimmed) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

        internal
        fun checkBinaryCompatibleKotlin(@Language("kotlin") v1: String = "", @Language("kotlin") v2: String, block: CheckResult.() -> Unit = {}): CheckResult =
            runKotlinBinaryCompatibilityCheck(v1, v2) {
                assertBinaryCompatible()
                block()
            }
    
        internal
        fun checkNotBinaryCompatibleKotlin(@Language("kotlin") v1: String = "", @Language("kotlin") v2: String, block: CheckResult.() -> Unit = {}): CheckResult =
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  4. okhttp/src/jvmMain/resources/META-INF/native-image/okhttp/okhttp/reflect-config.json

    [
      {
        "name": "kotlin.internal.jdk8.JDK8PlatformImplementations",
        "allDeclaredConstructors":true
      },
      {
        "name": "kotlin.KotlinVersion",
        "allPublicMethods": true,
        "allDeclaredFields":true,
        "allDeclaredMethods":true,
        "allDeclaredConstructors":true
      },
      {
        "name": "kotlin.KotlinVersion[]"
      },
      {
        "name": "kotlin.KotlinVersion$Companion"
      },
      {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 438 bytes
    - Click Count (0)
  5. mockwebserver/build.gradle.kts

      testImplementation(libs.kotlin.test.junit)
      testImplementation(libs.assertk)
    }
    
    kotlin {
      explicitApi()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 591 bytes
    - Click Count (0)
  6. tensorflow/__init__.py

    # Bring in all of the public TensorFlow interface into this
    # module.
    
    # pylint: disable=g-bad-import-order
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
    
    from tensorflow.python.platform import flags  # pylint: disable=g-import-not-at-top
    from tensorflow.python.platform import app  # pylint: disable=g-import-not-at-top
    app.flags = flags
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Sep 28 21:37:05 GMT 2021
    - 1.4K bytes
    - Click Count (0)
  7. docs/changelogs/changelog_4x.md

     [jetty_8_252]: https://webtide.com/jetty-alpn-java-8u252/
     [kotlin_1_3_71]: https://github.com/JetBrains/kotlin/releases/tag/v1.3.71
     [kotlin_1_4_10]: https://github.com/JetBrains/kotlin/releases/tag/v1.4.10
     [kotlin_1_6_20]: https://github.com/JetBrains/kotlin/releases/tag/v1.6.20
     [kotlin_1_8_21]: https://github.com/JetBrains/kotlin/releases/tag/v1.8.21
     [legacy_interceptor]: https://gist.github.com/swankjesse/80135f4e03629527e723ab3bcf64be0b
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Click Count (0)
  8. .teamcity/src/main/kotlin/vcsroots/VcsRoots.kt

    package vcsroots
    
    import jetbrains.buildServer.configs.kotlin.AbsoluteId
    import jetbrains.buildServer.configs.kotlin.CheckoutMode
    import jetbrains.buildServer.configs.kotlin.VcsSettings
    
    fun VcsSettings.useAbsoluteVcs(absoluteId: String) {
        root(AbsoluteId(absoluteId))
    
        checkoutMode = CheckoutMode.ON_AGENT
        this.cleanCheckout = cleanCheckout
        showDependenciesChanges = true
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 20 06:13:56 GMT 2025
    - 391 bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/SuppressSignatureCheck.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal
    
    import kotlin.annotation.AnnotationRetention.BINARY
    import kotlin.annotation.AnnotationTarget.CLASS
    import kotlin.annotation.AnnotationTarget.CONSTRUCTOR
    import kotlin.annotation.AnnotationTarget.FUNCTION
    
    @Retention(BINARY)
    @MustBeDocumented
    @Target(CONSTRUCTOR, CLASS, FUNCTION)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 09:36:53 GMT 2026
    - 957 bytes
    - Click Count (0)
  10. native-image-tests/build.gradle.kts

    import org.jetbrains.kotlin.gradle.dsl.JvmTarget
    import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
    
    plugins {
      id("org.graalvm.buildtools.native")
      kotlin("jvm")
      id("okhttp.jvm-conventions")
      id("okhttp.quality-conventions")
      id("okhttp.testing-conventions")
    }
    
    tasks.withType<KotlinCompile> {
      compilerOptions {
        jvmTarget.set(JvmTarget.JVM_17)
      }
    }
    
    tasks.withType<JavaCompile> {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 1.3K bytes
    - Click Count (0)
Back to Top