Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 470 for ktlint (0.09 seconds)

  1. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

        options.isFork = true
        options.forkOptions.jvmArgs?.add("-XX:+HeapDumpOnOutOfMemoryError")
        options.forkOptions.memoryMaximumSize = "1g"
        options.compilerArgs.addAll(mutableListOf("-Xlint:-options", "-Xlint:-path"))
    }
    
    fun addDependencies() {
        dependencies {
            testCompileOnly(libs.junit)
            testRuntimeOnly(libs.junit5Vintage)
            testImplementation(libs.groovy)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:44:41 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpMethod.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http
    
    import kotlin.jvm.JvmStatic
    
    object HttpMethod {
      @JvmStatic // Despite being 'internal', this method is called by popular 3rd party SDKs.
      fun invalidatesCache(method: String): Boolean =
        (
          method == "POST" ||
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/promotion/PromotionProject.kt

    import common.OpenJdk21
    import common.OpenJdk25
    import common.OpenJdk8
    import common.Os
    import common.VersionedSettingsBranch
    import common.cleanupRule
    import common.javaHome
    import jetbrains.buildServer.configs.kotlin.Project
    
    class PromotionProject(
        branch: VersionedSettingsBranch,
    ) : Project({
            id("Promotion")
            name = "Promotion"
    
            cleanupRule(historyDays = 14, artifactsDays = 7)
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 12 12:12:29 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/SimpleProvider.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import kotlin.jvm.Throws
    import org.junit.jupiter.api.extension.ExtensionContext
    import org.junit.jupiter.params.provider.Arguments
    import org.junit.jupiter.params.provider.ArgumentsProvider
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1K bytes
    - Click Count (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerHeader.kt

      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + tagClass
        result = 31 * result + tag.toInt()
        result = 31 * result + (if (constructed) 0 else 1)
        result = 31 * result + length.toInt()
        return result
      }
    
      override fun toString(): String = "$tagClass/$tag"
    
      companion object {
        const val TAG_CLASS_UNIVERSAL = 0b0000_0000
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/KotlinInvokeDefaultBridgeFilter.groovy

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.filters
    
    import japicmp.filter.BehaviorFilter
    import javassist.CtBehavior
    
    /**
     * Kotlin 2.2 produces bridge methods for invoke operator functions compiled as JVM default methods.
     */
    class KotlinInvokeDefaultBridgeFilter implements BehaviorFilter {
        @Override
        boolean matches(CtBehavior ctBehavior) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jul 08 07:03:16 GMT 2025
    - 1K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotEqualTo
    import kotlin.test.Test
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.Headers.Companion.toHeaders
    
    class HeadersTest {
      @Test fun ofTrims() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  8. .teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt

    import common.JvmVendor
    import common.JvmVersion
    import common.Os
    import common.VersionedSettingsBranch
    import common.asBuildScanCustomValue
    import common.getBuildScanCustomValueParam
    import jetbrains.buildServer.configs.kotlin.DslContext
    import model.CIBuildModel
    import model.JsonBasedGradleSubprojectProvider
    import model.TestCoverage
    import model.TestType
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Aug 05 16:58:51 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

              mappedTo.writeUtf8CodePoint(readHexadecimalUnsignedLong().toInt())
            }
          }
    
          TYPE_DISALLOWED, TYPE_DISALLOWED_STD3_VALID, TYPE_IGNORED, TYPE_VALID -> Unit
    
          else -> throw IOException("unexpected type")
        }
    
        skipRestOfLine()
    
        result +=
          Mapping(
            sourceCodePoint0.toInt(),
            sourceCodePoint1.toInt(),
            type,
            mappedTo.readByteString(),
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt

    import java.util.logging.ConsoleHandler
    import java.util.logging.Handler
    import java.util.logging.Level
    import java.util.logging.LogRecord
    import java.util.logging.Logger
    import java.util.logging.SimpleFormatter
    import kotlin.reflect.KClass
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.http2.Http2
    
    object OkHttpDebugLogging {
      // Keep references to loggers to prevent their configuration from being GC'd.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.9K bytes
    - Click Count (0)
Back to Top