Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 285 for ktlint (0.03 sec)

  1. okcurl/src/main/kotlin/okhttp3/curl/MainCommandLine.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.curl
    
    import com.github.ajalt.clikt.core.main
    import kotlin.system.exitProcess
    
    fun main(args: Array<String>) {
      Main().main(args)
      exitProcess(0)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Dec 21 08:56:29 UTC 2024
    - 768 bytes
    - Viewed (0)
  2. .gitignore

    .classpath
    .kotlin
    .project
    .settings
    .gradle
    eclipsebin
    
    bin
    gen
    build
    out
    lib
    generated
    
    target
    pom.xml.*
    release.properties
    local.properties
    
    .vscode
    
    .idea
    *.iml
    *.ipr
    *.iws
    *.log
    classes
    
    obj
    
    .DS_Store
    
    # Special Mkdocs files
    docs/4.x
    docs/changelog.md
    docs/contributing.md
    docs/index.md
    
    # jenv
    /.java-version
    /site/
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Oct 11 09:17:37 UTC 2025
    - 354 bytes
    - Viewed (0)
  3. 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. */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. 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"
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. okhttp-sse/build.gradle.kts

    import com.vanniktech.maven.publish.JavadocJar
    import com.vanniktech.maven.publish.KotlinJvm
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.sse",
      "Bundle-SymbolicName: com.squareup.okhttp3.sse"
    )
    
    project.applyJavaModules("okhttp3.sse")
    
    dependencies {
      api(projects.okhttp)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 679 bytes
    - Viewed (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
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/AnyValue.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()
        result = 31 * result + bytes.hashCode()
        return result
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. 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" ||
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-testlib/pom.xml

                    <!-- https://errorprone.info/docs/installation#maven -->
                    <arg>-XDcompilePolicy=simple</arg>
                    <arg>-Xlint:-removal</arg>
                    <arg>-Xlint:-options</arg>
                  </compilerArgs>
                  <multiReleaseOutput>true</multiReleaseOutput>
                </configuration>
              </execution>
            </executions>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 17:59:17 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

    import assertk.assertThat
    import assertk.assertions.hasMessage
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotNull
    import assertk.fail
    import javax.net.ssl.SSLSocket
    import kotlin.reflect.KClass
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.CallEvent.CallEnd
    import okhttp3.CallEvent.CallStart
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top