Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 424 for companies (0.06 seconds)

  1. native-image-tests/src/test/kotlin/okhttp3/nativeimage/PublicSuffixDatabaseTest.kt

     * limitations under the License.
     */
    package okhttp3.nativeimage
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import org.junit.jupiter.api.Test
    
    class PublicSuffixDatabaseTest {
      @Test
      fun testResourcesLoaded() {
        val url = "https://api.twitter.com".toHttpUrl()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jul 04 08:15:11 GMT 2025
    - 964 bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/RecordingAuthenticator.kt

            "url=$requestingURL type=$requestorType prompt=$requestingPrompt " +
            "protocol=$requestingProtocol scheme=$requestingScheme",
        )
        return authentication
      }
    
      companion object {
        /** base64("username:password")  */
        const val BASE_64_CREDENTIALS = "dXNlcm5hbWU6cGFzc3dvcmQ="
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  3. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt

     */
    data class Story(
      val description: String? = null,
      val cases: List<Case>,
      val fileName: String? = null,
    ) {
      // Used as the test name.
      override fun toString() = fileName ?: "?"
    
      companion object {
        @JvmField
        val MISSING = Story(description = "Missing", cases = listOf(), "missing")
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/PostForm.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.recipes.kt
    
    import java.io.IOException
    import okhttp3.FormBody
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class PostForm {
      private val client = OkHttpClient()
    
      fun run() {
        val formBody =
          FormBody
            .Builder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

    import assertk.assertThat
    import assertk.assertions.startsWith
    import kotlin.test.assertFailsWith
    import kotlin.test.fail
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.internal.idn.Punycode
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    
    /**
     * Tests how each code point is encoded and decoded in the context of each URL component.
     *
     * This supports [HttpUrlTest].
     */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/TlsVersion.kt

      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "javaName"),
        level = DeprecationLevel.ERROR,
      )
      fun javaName(): String = javaName
    
      companion object {
        @JvmStatic
        fun forJavaName(javaName: String): TlsVersion =
          when (javaName) {
            "TLSv1.3" -> TLS_1_3
            "TLSv1.2" -> TLS_1_2
            "TLSv1.1" -> TLS_1_1
            "TLSv1" -> TLS_1_0
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  7. okhttp/src/jvmMain/kotlin/okhttp3/internal/graal/GraalSvm.kt

    @TargetClass(Jdk8WithJettyBootPlatform::class)
    @Delete
    class TargetJdk8WithJettyBootPlatform
    
    @TargetClass(OpenJSSEPlatform::class)
    @Delete
    class TargetOpenJSSEPlatform
    
    @TargetClass(Platform.Companion::class)
    class TargetPlatform {
      @Substitute
      fun findPlatform(): Platform = Jdk9Platform.buildIfSupported()!!
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

    import assertk.assertions.isFalse
    import assertk.assertions.isSameAs
    import assertk.assertions.isTrue
    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import okhttp3.CacheControl.Companion.parse
    import okhttp3.Headers.Companion.headersOf
    import org.junit.jupiter.api.Test
    
    class CacheControlJvmTest {
      @Test
      @Throws(Exception::class)
      fun completeBuilder() {
        val cacheControl =
          CacheControl
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  9. compat/maven-artifact/src/site/apt/index.apt

     with its <<<DefaultArtifact>>> implementation ({{{./xref/org/apache/maven/artifact/DefaultArtifact.html}source}}).
    
     The jar file is executable and provides a little tool to display how Maven parses and compares versions:
    
    +----+
    $ java -jar maven-artifact-*.jar 3.2.4-alpha-1 3.2.4-SNAPSHOT 3.2.4.0
    Display parameters as parsed by Maven (in canonical form) and comparison result:
    1. 3.2.4-alpha-1 == 3.2.4.alpha.1
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/configurations/CompileAll.kt

            )
    
            setArtifactRules(
                """$artifactRules
    platforms/core-runtime/base-services/build/generated-resources/build-receipt/org/gradle/build-receipt.properties
    """,
            )
        }) {
        companion object {
            fun buildTypeId(model: CIBuildModel) = buildTypeId(model.projectId)
    
            fun buildTypeId(projectId: String) = "${projectId}_CompileAllBuild"
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top