Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 470 for ktlint (0.1 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

        in '0'..'9' -> this - '0'
        in 'a'..'f' -> this - 'a' + 10
        in 'A'..'F' -> this - 'A' + 10
        else -> -1
      }
    
    internal infix fun Byte.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Short.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Int.and(mask: Long): Long = toLong() and mask
    
    @Throws(IOException::class)
    internal fun BufferedSink.writeMedium(medium: Int) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. 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
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 8.9K bytes
    - Click Count (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

              else -> reader.readUnknown()
            }
          }
        }
      }
    
      /**
       * Object class to adapter type. This approach limits us to one adapter per Kotlin class, which
       * might be too few for values like UTF_STRING and OBJECT_IDENTIFIER that share a Kotlin class but
       * have very different ASN.1 interpretations.
       */
      private val defaultAnyChoices =
        listOf(
          Boolean::class to BOOLEAN,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Click Count (0)
  4. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/tasks/IncubatingApiAggregateReportTask.kt

    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.TaskAction
    // Using star import to workaround https://youtrack.jetbrains.com/issue/KTIJ-24390
    import org.gradle.kotlin.dsl.*
    import org.gradle.workers.WorkerExecutor
    import javax.inject.Inject
    
    
    @CacheableTask
    abstract class IncubatingApiAggregateReportTask : DefaultTask() {
    
        @get:InputFiles
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu May 29 08:21:16 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val archunitJunit5 = "com.tngtech.archunit:archunit-junit5"
        val archunitJunit5Api = "com.tngtech.archunit:archunit-junit5-api"
        val awaitility = "org.awaitility:awaitility-kotlin"
        val bytebuddy = "net.bytebuddy:byte-buddy"
        val bytebuddyAgent = "net.bytebuddy:byte-buddy-agent"
        val cglib = "cglib:cglib"
        val compileTesting = "com.google.testing.compile:compile-testing"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:45:52 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                attributes.put("toc-title", "Contents");
                attributes.put("groovyDslPath", "../dsl");
                attributes.put("javadocPath", "../javadoc");
                attributes.put("kotlinDslPath", "../kotlin-dsl");
                // Used by SampleIncludeProcessor from `gradle/dotorg-docs`
                // TODO: This breaks the provider
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 04 14:26:28 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.ci-reporting.gradle.kts

     * Team City.
     */
    
    val testFilesCleanup = extensions.create<TestFileCleanUpExtension>("testFilesCleanup").apply {
        reportOnly.convention(false)
    }
    
    if ("CI" in System.getenv() && project.name != "gradle-kotlin-dsl-accessors") {
        rootProject.plugins.apply(TestFilesCleanupRootPlugin::class.java)
        val globalExtension = rootProject.extensions.getByType<TestFilesCleanupBuildServiceRootExtension>()
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 2K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.http
    
    import assertk.assertThat
    import assertk.assertions.isIn
    import java.net.Socket
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.Call
    import okhttp3.Connection
    import okhttp3.EventListener
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Jul 29 21:11:09 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

     * <pre>
     * public class CustomLanguageProvider implements LanguageProvider {
     *     public Collection&lt;Language&gt; provides() {
     *         return Arrays.asList(
     *             language("kotlin"),
     *             language("scala")
     *         );
     *     }
     * }
     * </pre>
     *
     * @param <T> The type of extensible enum to extend
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioProvisioningPlugin.kt

    import gradlebuild.basics.runAndroidStudioInHeadlessMode
    import org.gradle.api.Plugin
    import org.gradle.api.Project
    import org.gradle.api.provider.Property
    import org.gradle.internal.os.OperatingSystem
    import org.gradle.kotlin.dsl.*
    import org.gradle.process.CommandLineArgumentProvider
    
    
    // Android Studio Narwhal 3 | 2025.1.3
    // Find all references here https://developer.android.com/studio/archive
    // Update verification-metadata.xml
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Sep 19 16:20:44 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top