Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 597 for calc (0.01 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt

          clientTestRule
            .newClientBuilder()
            .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager)
            .build()
    
        val call = client.newCall(Request(server.url("/")))
        val response = call.execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.handshake!!.cipherSuite).isNotNull()
        assertThat(response.handshake!!.tlsVersion).isNotNull()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. okhttp-coroutines/README.md

    OkHttp Coroutines
    =================
    
    Support for Kotlin clients using coroutines.
    
    ```kotlin
    val call = client.newCall(request)
    
    call.executeAsync().use { response ->
      withContext(Dispatchers.IO) {
        println(response.body?.string())
      }
    }
    ```
    
    This is implemented using `suspendCancellableCoroutine`
    but uses the standard Dispatcher in OkHttp. This means
    that by default Kotlin's Dispatchers are not used.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Nov 09 15:47:27 UTC 2023
    - 609 bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

            override fun connectionAcquired(
              call: Call,
              connection: Connection,
            ) {
              // We have the connection and it's in the pool. Let request2 proceed to make a connection.
              latch2.countDown()
            }
          }
        val request2Listener: EventListener =
          object : EventListener() {
            override fun connectStart(
              call: Call,
              inetSocketAddress: InetSocketAddress,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            // Second call (even) should fail
            String result2 = aggregateLogJob.execute();
            assertTrue(result2.contains("Even call error"));
    
            // Third call (odd) should succeed
            String result3 = aggregateLogJob.execute();
            assertEquals("", result3);
        }
    
        public void test_execute_performanceWithLargeErrorMessage() {
            // Test with very large error message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. dbflute_fess/manage.bat

    @echo off
    
    setlocal
    %~d0
    cd %~p0
    call _project.bat
    
    :: tilde to remove double quotation
    set FIRST_ARG=%~1
    if "%FIRST_ARG%"=="" set FIRST_ARG=""
    set SECOND_ARG=%2
    if "%SECOND_ARG%"=="" set SECOND_ARG=""
    
    call %DBFLUTE_HOME%\etc\cmd\_df-manage.cmd %MY_PROPERTIES_PATH% "%FIRST_ARG%" %SECOND_ARG%
    
    if "%pause_at_end%"=="y" (
      pause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 04 22:46:31 UTC 2015
    - 332 bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/MutableGraph.java

       *
       * @return {@code true} if the graph was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean removeNode(N node);
    
      /**
       * Removes the edge connecting {@code nodeU} to {@code nodeV}, if it is present.
       *
       * @return {@code true} if the graph was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean removeEdge(N nodeU, N nodeV);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. android-test/src/test/kotlin/okhttp/android/test/BaseOkHttpClientUnitTest.kt

        assumeNetwork()
    
        val request = Request("https://www.google.com/robots.txt".toHttpUrl())
    
        val networkRequest =
          request
            .newBuilder()
            .build()
    
        val call = client.newCall(networkRequest)
    
        call.execute().use { response ->
          assertThat(response.code).isEqualTo(200)
          assertThat(response.cacheResponse).isNull()
        }
    
        val cachedCall = client.newCall(request)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        hostname: String,
        networkRequests: List<Call>,
        responses: MutableList<InetAddress>,
        failures: MutableList<Exception>,
      ) {
        val latch = CountDownLatch(networkRequests.size)
    
        for (call in networkRequests) {
          call.enqueue(
            object : Callback {
              override fun onFailure(
                call: Call,
                e: IOException,
              ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java

          return TrustedListenableFutureTask.this.isDone();
        }
    
        @Override
        ListenableFuture<V> runInterruptibly() throws Exception {
          return checkNotNull(
              callable.call(),
              "AsyncCallable.call returned null instead of a Future. "
                  + "Did you mean to return immediateFuture(null)? %s",
              callable);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

              .Builder()
              .eventListenerFactory(
                clientTestRule.wrap(
                  object : EventListener() {
                    override fun connectionAcquired(
                      call: Call,
                      connection: Connection,
                    ) {
                      socketClass = connection.socket().javaClass.name
                    }
                  },
                ),
              ).build()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
Back to top