Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 456 for ktlint (0.05 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Credentials.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.nio.charset.Charset
    import kotlin.text.Charsets.ISO_8859_1
    import okio.ByteString.Companion.encode
    
    /** Factory for HTTP authorization credentials. */
    object Credentials {
      /** Returns an auth credential for the Basic scheme. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CommonRequestBodyTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import kotlin.test.Test
    import okhttp3.RequestBody.Companion.toRequestBody
    
    class CommonRequestBodyTest {
      @Test
      fun correctContentType() {
        val body = "Body"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/KotlinDslReference.java

     * limitations under the License.
     */
    
    package gradlebuild.docs;
    
    import org.gradle.api.file.DirectoryProperty;
    import org.gradle.api.provider.Property;
    
    /**
     * Configuration for generating Dokka based Kotlin DSL docs.
     */
    public abstract class KotlinDslReference {
    
        /**
         * The location of the final rendered Dokka content.
         */
        public abstract DirectoryProperty getRenderedDocumentation();
    
        /**
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 15 14:00:14 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/FailingCall.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.reflect.KClass
    import okio.Timeout
    
    open class FailingCall : Call {
      override fun request(): Request = error("unexpected")
    
      override fun execute(): Response = error("unexpected")
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. build-logic-settings/default-settings-plugins/build.gradle.kts

     * 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.
     */
    
    plugins {
        `kotlin-dsl`
    }
    
    description = "Provides plugin for configuring default settings plugins"
    
    group = "gradlebuild"
    
    dependencies {
        implementation(buildLibs.develocityPlugin)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 09:06:26 GMT 2026
    - 909 bytes
    - Click Count (0)
  6. okhttp-testing-support/src/test/kotlin/okhttp3/OkHttpClientTestRuleTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.hasMessage
    import kotlin.test.assertFailsWith
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.BeforeEachCallback
    import org.junit.jupiter.api.extension.ExtensionContext
    import org.junit.jupiter.api.extension.RegisterExtension
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  7. 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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

    package common
    
    import jetbrains.buildServer.configs.kotlin.DslContext
    
    fun isSecurityFork(): Boolean =
        DslContext.settingsRoot.id
            .toString()
            .lowercase()
            .contains("security")
    
    // GradleMaster -> Master
    // GradleSecurityAdvisory84mwRelease -> SecurityAdvisory84mwRelease
    val DslContext.uuidPrefix: String
        get() = settingsRoot.id.toString().substringAfter("Gradle")
    
    data class VersionedSettingsBranch(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. 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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 1K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

                }
                if (infixChanged) {
                    changes.add(modifierChangeDetail("infix", newIsInfix))
                }
                return acceptOrReject(member, changes, Violation.error(member, "Breaking Kotlin modifier change"))
            }
    
            return null
        }
    
        private static String modifierChangeDetail(String modifier, boolean added) {
            return "$modifier modifier was ${added ? "added" : "removed"}"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.4K bytes
    - Click Count (0)
Back to Top