Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 135 for Synchronous (0.06 seconds)

  1. guava/src/com/google/common/base/Ascii.java

       * response to the sender.
       *
       * @since 8.0
       */
      public static final byte NAK = 21;
    
      /**
       * Synchronous Idle: A communication control character used by a synchronous transmission system
       * in the absence of any other character to provide a signal from which synchronism may be
       * achieved or retained.
       *
       * @since 8.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     * * `Response.body().byteStream().close()`
     * * `Response.body().bytes()`
     * * `Response.body().string()`
     *
     * There is no benefit to invoking multiple `close()` methods for the same response body.
     *
     * For synchronous calls, the easiest way to make sure a response body is closed is with a `try`
     * block. With this structure the compiler inserts an implicit `finally` clause that calls
     * [close()][Response.close] for you.
     *
     * ```java
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

          encodings[0x13] = encoding // Device Control 3 (oft. XOFF)
          encodings[0x14] = encoding // Device Control 4
          encodings[0x15] = encoding // Negative Acknowledgment
          encodings[0x16] = encoding // Synchronous idle
          encodings[0x17] = encoding // End of Transmission Block
          encodings[0x18] = encoding // Cancel
          encodings[0x19] = encoding // End of Medium
          encodings[0x1a] = encoding // Substitute
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  4. README.md

    configured to fall back for broad connectivity.
    
    Using OkHttp is easy. Its request/response API is designed with fluent builders and immutability. It
    supports both synchronous blocking calls and async calls with callbacks.
    
    A well behaved user agent
    -------------------------
    
    OkHttp follows modern HTTP specifications such as
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString
    
    /**
     * A socket connection to a remote peer. A connection hosts streams which can send and receive
     * data.
     *
     * Many methods in this API are **synchronous:** the call is completed before the method returns.
     * This is typical for Java but atypical for HTTP/2. This is motivated by exception transparency:
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 31.9K bytes
    - Click Count (0)
  6. docs/changelogs/changelog_2x.md

    OkHttp 2 is designed around a new API that is true to HTTP, with classes for
    requests, responses, headers, and calls. It uses modern Java patterns like
    immutability and chained builders. The API now offers asynchronous callbacks
    in addition to synchronous blocking calls.
    
    #### API Changes
    
     *  **New Request and Response types,** each with their own builder. There's also
        a `RequestBody` class to write the request body to the network and a
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

      ) {
        // Do nothing.
      }
    
      override fun noNewExchanges() {
        // Do nothing.
      }
    
      override fun cancel() {
        canceled = true
        // Close the raw socket so we don't end up doing synchronous I/O.
        rawSocket?.closeQuietly()
      }
    
      override fun retry(): RoutePlanner.Plan =
        ConnectPlan(
          taskRunner = taskRunner,
          connectionPool = connectionPool,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 19.3K bytes
    - Click Count (2)
  8. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

                    threadName.get().contains("ForkJoinPool") || !threadName.get().equals(Thread.currentThread().getName()));
            pool.shutdown();
        }
    
        // --- Synchronous execute() test ---
    
        @Test
        public void test_SynchronousExecute_ReturnsResponse() throws Exception {
            // ## Arrange ##
            String body = "sync response body";
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

        javaNetSocket.soTimeout = 0
        noNewExchanges()
      }
    
      override fun route(): Route = route
    
      override fun cancel() {
        // Close the raw socket so we don't end up doing synchronous I/O.
        rawSocket.closeQuietly()
      }
    
      override fun socket(): JavaNetSocket = javaNetSocket
    
      /** Returns true if this connection is ready to host new streams. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/llm/LlmClientManager.java

            }
            return getAvailableClient().evaluateResults(userMessage, query, searchResults);
        }
    
        /**
         * Generates an answer using document content (synchronous).
         *
         * @param userMessage the user's message
         * @param documents the documents with content
         * @param history the conversation history
         * @return the chat response
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 11:10:51 GMT 2026
    - 17.4K bytes
    - Click Count (0)
Back to Top