Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for streaming (0.11 sec)

  1. src/main/java/org/codelibs/core/io/FileUtil.java

         * For files larger than {@value #MAX_BUF_SIZE} bytes (10MB), an
         * {@link IORuntimeException} will be thrown to prevent OutOfMemoryError.
         * For large files, use streaming APIs instead.
         * </p>
         *
         * @param file
         *            The file. Must not be {@literal null}.
         * @return A byte array containing the contents of the file.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapVideo.java

        public void setPlatform(final String platform) {
            this.platform = platform;
        }
    
        /**
         * Gets the live streaming flag.
         * @return the live value
         */
        public String getLive() {
            return live;
        }
    
        /**
         * Sets the live streaming flag.
         * @param live the live value to set
         */
        public void setLive(final String live) {
            this.live = live;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. tests/test_dependency_after_yield_raise.py

        yield "s"
        raise ValueError("Broken after yield")
    
    
    app = FastAPI()
    
    
    @app.get("/catching")
    def catching(d: Annotated[str, Depends(catching_dep)]) -> Any:
        raise CustomError("Simulated error during streaming")
    
    
    @app.get("/broken")
    def broken(d: Annotated[str, Depends(broken_dep)]) -> Any:
        return {"message": "all good?"}
    
    
    client = TestClient(app)
    
    
    def test_catching():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. README.md

    - `org.codelibs.curl.CurlResponse`: wrapper for HTTP responses.
    - `org.codelibs.curl.CurlException`: unchecked exception for errors.
    - `org.codelibs.curl.io.ContentCache` and `ContentOutputStream`: internal utilities for streaming and caching.
    
    Refer to the Javadoc for full API details.
    
    ## Building and Testing
    
    ```bash
    git clone https://github.com/codelibs/curl4j.git
    cd curl4j
    mvn clean test
    ```
    
    ## License
    
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

          val response = chain.proceed(request)
    
          decompress(response)
        } else {
          chain.proceed(chain.request())
        }
    
      /**
       * Returns a decompressed copy of the Response, typically via a streaming Source.
       * If no known decompression or the response is not compressed, returns the response unmodified.
       */
      internal fun decompress(response: Response): Response {
        if (!response.promisesBody()) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 15:15:28 UTC 2025
    - 2.9K bytes
    - Viewed (1)
  6. docs/es/docs/advanced/middleware.md

    ## `GZipMiddleware` { #gzipmiddleware }
    
    Maneja responses GZip para cualquier request que incluya `"gzip"` en el header `Accept-Encoding`.
    
    El middleware manejará tanto responses estándar como en streaming.
    
    {* ../../docs_src/advanced_middleware/tutorial003_py39.py hl[2,6] *}
    
    Se soportan los siguientes argumentos:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. CLAUDE.md

    ### I/O Layer
    
    - **`org.codelibs.curl.io.ContentCache`**: Handles automatic in-memory or on-disk caching of request/response bodies
    - **`org.codelibs.curl.io.ContentOutputStream`**: Streaming utilities for efficient content handling
    
    ### Key Design Patterns
    
    1. **Fluent Builder Pattern**: `CurlRequest` uses method chaining for configuration
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/middleware.md

    ## `GZipMiddleware` { #gzipmiddleware }
    
    Handles GZip responses for any request that includes `"gzip"` in the `Accept-Encoding` header.
    
    The middleware will handle both standard and streaming responses.
    
    {* ../../docs_src/advanced_middleware/tutorial003_py39.py hl[2,6] *}
    
    The following arguments are supported:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

    import com.google.errorprone.annotations.Immutable;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.nio.charset.Charset;
    
    /**
     * Skeleton implementation of {@link HashFunction}, appropriate for non-streaming algorithms. All
     * the hash computation done using {@linkplain #newHasher()} are delegated to the {@linkplain
     * #hashBytes(byte[], int, int)} method.
     *
     * @author Dimitris Andreou
     */
    @Immutable
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 04 15:39:10 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

         * to the target URL or serves file content directly if configured.
         *
         * @param form the go form containing document ID and tracking parameters
         * @return action response for redirection or content streaming
         * @throws IOException if an I/O error occurs during content retrieval
         */
        @Execute
        public ActionResponse index(final GoForm form) throws IOException {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top