Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 541 for Platform (0.06 seconds)

  1. module-tests/src/test/java/module-info.java

      requires okhttp3.logging;
      requires mockwebserver3;
      requires mockwebserver3.junit5;
      requires jdk.crypto.ec;
      requires org.junit.jupiter.api;
      requires okhttp3.modules;
      opens okhttp3.modules.test to org.junit.platform.commons;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 317 bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt

    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    import okhttp3.UrlComponentEncodingTester.Component
    
    fun urlComponentEncodingTesterJvmPlatform(component: Component): UrlComponentEncodingTester.Platform =
      when (component) {
        Component.USER ->
          UrlComponentEncodingTesterJvmPlatform()
            .escapeForUri('%'.code)
    
        Component.PASSWORD ->
          UrlComponentEncodingTesterJvmPlatform()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  3. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

            configurations["testRuntimeClasspath"].extendsFrom(platformImplementation)
            // use lazy API to not attempt to find platform project during script compilation
            platformImplementation.dependencies.addLater(provider {
                project.dependencies.platform(project.dependencies.create(project(":distributions-dependencies")))
            })
        }
    }
    
    fun addCompileAllTasks() {
    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)
  4. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

            testParseOriginal(codePoint, codePointString, encoding, component)
            testParseAlreadyEncoded(codePoint, encoding, component)
    
            val platform = urlComponentEncodingTesterJvmPlatform(component)
            platform.test(codePoint, codePointString, encoding, component)
          }
        }
    
      private fun testParseAlreadyEncoded(
        codePoint: Int,
        encoding: Encoding,
    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)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.http.HttpMethod
    import okhttp3.internal.http.StatusLine
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.platform.Platform.Companion.WARN
    import okhttp3.internal.toLongOrDefault
    import okio.Buffer
    import okio.BufferedSink
    import okio.BufferedSource
    import okio.ByteString.Companion.decodeBase64
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

        }
    
        private
        fun toCategory(version: String, gradleModule: String) = when {
            gradleModule.endsWith("-native") || gradleModule in listOf("model-core", "platform-base", "testing-base") -> "Software Model and Native"
            else -> "Incubating since $version"
        }
    
        private
        fun generateHtmlReport(data: Map<String, ProjectNameToProblems>) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
     * OkHttp.
     *
     * https://square.github.io/okhttp/
     */
    class OkHttpClientTest {
      @JvmField @RegisterExtension
      val platform = PlatformRule()
    
      @StartStop
      private val server = MockWebServer()
    
      @Test fun get() {
        server.enqueue(MockResponse(body = "hello, OkHttp"))
    
        val client = OkHttpClient()
    
        val request =
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

    import okhttp3.internal.http.BridgeInterceptor
    import okhttp3.internal.http.CallServerInterceptor
    import okhttp3.internal.http.RealInterceptorChain
    import okhttp3.internal.http.RetryAndFollowUpInterceptor
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.threadName
    import okio.AsyncTimeout
    import okio.Timeout
    
    /**
     * Bridge between OkHttp's application and network layers. This class exposes high-level application
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  9. build-logic-commons/code-quality-rules/build.gradle.kts

     * limitations under the License.
     */
    
    plugins {
        id("java-library")
    }
    description = "Provides a custom CodeNarc rule used by the Gradle build"
    
    group = "gradlebuild"
    
    dependencies {
        api(platform(projects.buildPlatform))
        compileOnly(localGroovy())
        compileOnly("org.codenarc:CodeNarc") {
            exclude(group = "org.apache.groovy")
            exclude(group = "org.codehaus.groovy")
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Sep 17 10:11:26 GMT 2024
    - 980 bytes
    - Click Count (0)
  10. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.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.platform.android
    
    import javax.net.ssl.SSLSocket
    import okhttp3.Protocol
    
    /**
     * Deferred implementation of SocketAdapter that works by observing the socket
     * and initializing on first use.
     *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top