Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 365 for ktlint (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupRootPlugin.kt

    import org.gradle.api.Task
    import org.gradle.api.reporting.Reporting
    import org.gradle.api.tasks.testing.Test
    import org.gradle.build.event.BuildEventsListenerRegistry
    import org.gradle.kotlin.dsl.*
    import org.gradle.kotlin.dsl.support.serviceOf
    import java.io.File
    
    
    class TestFilesCleanupRootPlugin : Plugin<Project> {
        override fun apply(project: Project) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jul 06 10:57:13 GMT 2023
    - 3K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isTrue
    import kotlin.test.Test
    import kotlin.time.Duration.Companion.seconds
    
    class CacheControlTest {
      @Test
      @Throws(Exception::class)
      fun emptyBuilderIsEmpty() {
        val cacheControl = CacheControl.Builder().build()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDocumentationExtension.java

        /**
         * Source code root folders. Java, Groovy and Kotlin public API sources, including
         * generated code.
         */
        public abstract ConfigurableFileCollection getSourceRoots();
    
        /**
         * Kotlin DSL source code to be documented. This should be the "public" Kotlin APIs,
         * including generated code.
         */
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Aug 20 14:11:17 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  4. mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt

     * the `@Rule` annotation:
     *
     * ```java
     * @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
     * ```
     *
     * For Kotlin the `@JvmField` annotation is also necessary:
     *
     * ```kotlin
     * @JvmField @Rule val serverRule = MockWebServerRule()
     * ```
     */
    class MockWebServerRule : ExternalResource() {
      val server: MockWebServer = MockWebServer()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jun 16 22:36:18 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  5. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/StartStop.kt

     * field with the `@StartStop` annotation:
     *
     * ```java
     * @StartStop public final MockWebServer server = new MockWebServer();
     * ```
     *
     * Or for Kotlin:
     *
     * ```kotlin
     * @StartStop val server = MockWebServer()
     * ```
     */
    @Target(AnnotationTarget.FIELD)
    @Retention(AnnotationRetention.RUNTIME)
    @ExtendWith(StartStopExtension::class)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jun 19 11:44:16 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  6. build-logic-commons/build-platform/build.gradle.kts

    val spockVersion = if (isGroovy4) "2.3-groovy-4.0" else "2.3-groovy-3.0"
    val groovyGroup = if (isGroovy4) "org.apache.groovy" else "org.codehaus.groovy"
    val asmVersion = "9.9"
    // To try out newer kotlin versions
    val kotlinVersion = providers.gradleProperty("buildKotlinVersion")
        .getOrElse(embeddedKotlinVersion)
    
    dependencies {
        constraints {
            api("org.gradle.guides:gradle-guides-plugin:0.24.0")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:16:30 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        if (byteCount == limit) return END_OF_DATA
    
        // We've exhausted the source stream.
        if (limit == -1L && source.exhausted()) return END_OF_DATA
    
        // Read the tag.
        val tagAndClass = source.readByte().toInt() and 0xff
        val tagClass = tagAndClass and 0b1100_0000
        val constructed = (tagAndClass and 0b0010_0000) == 0b0010_0000
        val tag =
          when (val tag0 = tagAndClass and 0b0001_1111) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  8. .teamcity/src/main/kotlin/promotion/StartReleaseCycleTest.kt

     */
    
    package promotion
    
    import common.PLUGINS_PORTAL_URL_OVERRIDE
    import common.VersionedSettingsBranch
    import common.gradleWrapper
    import jetbrains.buildServer.configs.kotlin.triggers.schedule
    import jetbrains.buildServer.configs.kotlin.triggers.vcs
    
    object StartReleaseCycleTest : BasePromotionBuildType(cleanCheckout = false) {
        init {
            id("Promotion_AllBranchesStartReleaseCycleTest")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/promotion/MergeReleaseIntoMaster.kt

     * limitations under the License.
     */
    
    package promotion
    
    import common.VersionedSettingsBranch
    import common.gradleWrapper
    import jetbrains.buildServer.configs.kotlin.AbsoluteId
    import jetbrains.buildServer.configs.kotlin.triggers.finishBuildTrigger
    
    object MergeReleaseIntoMaster : BasePromotionBuildType() {
        init {
            id("Promotion_MergeReleaseIntoMaster")
            name = "Merge Release into Master"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 10 10:38:00 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

    import com.fasterxml.jackson.databind.ObjectMapper
    import common.FlakyTestStrategy
    import common.functionalTestExtraParameters
    import common.getBuildScanCustomValueParam
    import jetbrains.buildServer.configs.kotlin.BuildSteps
    import jetbrains.buildServer.configs.kotlin.buildFeatures.perfmon
    import model.CIBuildModel
    import model.Stage
    import model.TestCoverage
    import model.TestType
    
    const val FUNCTIONAL_TEST_TAG = "FunctionalTest"
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 09 05:26:45 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top