Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 680 for Platform (0.05 sec)

  1. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(handshake.peerPrincipal).isNull()
        assertThat(handshake.peerCertificates.size).isEqualTo(0)
      }
    
      @Test
      fun httpsWithClientAuth() {
        platform.assumeNotBouncyCastle()
        platform.assumeNotConscrypt()
        val clientCa =
          HeldCertificate
            .Builder()
            .certificateAuthority(0)
            .build()
        val serverCa =
          HeldCertificate
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  2. 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;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 317 bytes
    - Viewed (0)
  3. 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()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. configure.py

      pass
    
    
    def is_windows():
      return platform.system() == 'Windows'
    
    
    def is_linux():
      return platform.system() == 'Linux'
    
    
    def is_macos():
      return platform.system() == 'Darwin'
    
    
    def is_ppc64le():
      return platform.machine() == 'ppc64le'
    
    
    def is_s390x():
      return platform.machine() == 's390x'
    
    
    def is_cygwin():
      return platform.system().startswith('CYGWIN_NT')
    
    
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Wed Apr 30 15:18:54 UTC 2025
    - 48.3K bytes
    - Viewed (0)
  5. build-logic-commons/module-identity/build.gradle.kts

    plugins {
        `kotlin-dsl`
    }
    
    description = "Provides a plugin to define the version and name for subproject publications"
    
    group = "gradlebuild"
    
    dependencies {
        api(platform(projects.buildPlatform))
    
        implementation(projects.basics)
    
        implementation("com.google.code.gson:gson")
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Sep 17 10:11:26 UTC 2024
    - 292 bytes
    - Viewed (0)
  6. android-test/src/test/kotlin/okhttp/android/test/NonRobolectricOkHttpClientTest.kt

        assertFailure { super.testPublicSuffixDb() }.all {
          hasMessage("Unable to load PublicSuffixDatabase.list resource.")
          cause().isNotNull().all {
            hasMessage(
              "Platform applicationContext not initialized. " +
                "Possibly running Android unit test without Robolectric. " +
                "Android tests should run with Robolectric " +
                "and call OkHttp.initialize before test",
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. tensorflow/c/c_op_requires.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_C_OP_REQUIRES_H_
    #define TENSORFLOW_C_C_OP_REQUIRES_H_
    
    #include "tensorflow/core/platform/macros.h"
    
    namespace tensorflow {
    
    // Convenience macros for asserting and handling exceptional conditions, for
    // C structs, including `TF_OpKernelContext`, `TF_Status`, etc. This is analogus
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue Aug 02 21:35:06 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  8. 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>) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Jun 02 09:57:54 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
          ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. 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 =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top