Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 247 for _1 (0.29 sec)

  1. okhttp/src/test/java/okhttp3/internal/http/ExternalHttp2Example.kt

    import okhttp3.Request
    
    object ExternalHttp2Example {
      @JvmStatic
      fun main(args: Array<String>) {
        val client =
          OkHttpClient.Builder()
            .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
            .build()
        val call =
          client.newCall(
            Request.Builder()
              .url("https://www.google.ca/")
              .build(),
          )
        val response = call.execute()
        try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

        //
        private static final Logger logger = LogManager.getLogger(AdminUpgradeAction.class);
    
        private static final String VERSION_13_0 = "13.0";
    
        private static final String VERSION_13_1 = "13.1";
    
        private static final String VERSION_13_2 = "13.2";
    
        private static final String VERSION_13_3 = "13.3";
    
        private static final String VERSION_13_4 = "13.4";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  3. tests/test_dependency_cache.py

    
    @app.get("/scope-counter")
    async def get_scope_counter(
        count: int = Security(dep_counter),
        scope_count_1: int = Security(dep_counter, scopes=["scope"]),
        scope_count_2: int = Security(dep_counter, scopes=["scope"]),
    ):
        return {
            "counter": count,
            "scope_counter_1": scope_count_1,
            "scope_counter_2": scope_count_2,
        }
    
    
    client = TestClient(app)
    
    
    def test_normal_counter():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Aug 23 13:30:24 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  4. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        response.use {
          assertEquals(Protocol.HTTP_2, response.protocol)
          if (Build.VERSION.SDK_INT >= 29) {
            assertEquals(TlsVersion.TLS_1_3, response.handshake?.tlsVersion)
          } else {
            assertEquals(TlsVersion.TLS_1_2, response.handshake?.tlsVersion)
          }
          assertEquals(200, response.code)
          assertTrue(socketClass?.startsWith("com.android.org.conscrypt.") == true)
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 27K bytes
    - Viewed (1)
  5. docs/zh/docs/fastapi-people.md

    **FastAPI** 得到了社区的大力支持。因此我想突出他们的贡献。
    
    这些人:
    
    * [帮助他人解决 GitHub 上的问题](help-fastapi.md#github_1){.internal-link target=_blank}。
    * [创建 Pull Requests](help-fastapi.md#pr){.internal-link target=_blank}。
    * 审核 Pull Requests, 对于 [翻译](contributing.md#_8){.internal-link target=_blank} 尤为重要。
    
    向他们致以掌声。 👏 🙇
    
    ## FastAPI 专家
    
    这些用户一直以来致力于 [帮助他人解决 GitHub 上的问题](help-fastapi.md#github_1){.internal-link target=_blank}。 🙇
    
    他们通过帮助许多人而被证明是 **FastAPI 专家**。 ✨
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 25 17:09:48 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

        socket.supportedCipherSuites = arrayOf("TLS_A")
        socket.enabledCipherSuites = arrayOf("TLS_A")
        val connectionSpec =
          ConnectionSpec.Builder(true)
            .tlsVersions(TlsVersion.TLS_1_1, TlsVersion.TLS_1_2, TlsVersion.TLS_1_3)
            .cipherSuites("TLS_A")
            .build()
        applyConnectionSpec(connectionSpec, socket, false)
        assertArrayEquals(arrayOf("TLSv1.1", "TLSv1.2"), socket.enabledProtocols)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. CHANGELOG.md

    [idna_15_1_0]: https://www.unicode.org/reports/tr46/#Modifications
    [kotlin_1_4_20]: https://github.com/JetBrains/kotlin/releases/tag/v1.4.20
    [kotlin_1_5_31]: https://github.com/JetBrains/kotlin/releases/tag/v1.5.31
    [kotlin_1_6_10]: https://github.com/JetBrains/kotlin/releases/tag/v1.6.10
    [kotlin_1_6_21]: https://github.com/JetBrains/kotlin/releases/tag/v1.6.21
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

                            .expectResult(PARENT_MODULE, MODULE_C, MODULE_C_1, MODULE_A, MODULE_C_2, INDEPENDENT_MODULE),
                    scenario("Excluded optional project")
                            .inactiveOptionalProjects(MODULE_B)
                            .expectResult(PARENT_MODULE, MODULE_C, MODULE_C_1, MODULE_A, MODULE_C_2, INDEPENDENT_MODULE),
                    scenario("Excluded missing optional project")
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 27.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

    import okhttp3.DelegatingServerSocketFactory
    import okhttp3.DelegatingSocketFactory
    import okhttp3.MediaType
    import okhttp3.OkHttpClient
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Protocol.HTTP_1_1
    import okhttp3.RecordingEventListener
    import okhttp3.Request
    import okhttp3.RequestBody
    import okhttp3.SimpleProvider
    import okhttp3.internal.http.CancelTest.CancelMode.CANCEL
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

    import okhttp3.ConnectionSpec
    import okhttp3.EventListener
    import okhttp3.Handshake
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.TlsVersion
    import okhttp3.TlsVersion.TLS_1_2
    import okhttp3.TlsVersion.TLS_1_3
    import okhttp3.internal.SuppressSignatureCheck
    import okhttp3.recipes.kt.WireSharkListenerFactory.WireSharkKeyLoggerListener.Launch
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
Back to top