Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for spooled (0.05 sec)

  1. docs/en/docs/tutorial/request-files.md

    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[14] *}
    
    Using `UploadFile` has several advantages over `bytes`:
    
    * You don't have to use `File()` in the default value of the parameter.
    * It uses a "spooled" file:
        * A file stored in memory up to a maximum size limit, and after passing this limit it will be stored in disk.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/request-files.md

    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[14] *}
    
    Utilizar `UploadFile` tem várias vantagens sobre `bytes`:
    
    * Você não precisa utilizar o `File()` no valor padrão do parâmetro.
    * Ele utiliza um arquivo "spooled":
        * Um arquivo armazenado na memória até um limite máximo de tamanho, e após passar esse limite, ele será armazenado no disco.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/request-files.md

    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[14] *}
    
    Usar `UploadFile` tiene varias ventajas sobre `bytes`:
    
    * No tienes que usar `File()` en el valor por defecto del parámetro.
    * Usa un archivo "spooled":
        * Un archivo almacenado en memoria hasta un límite de tamaño máximo, y después de superar este límite, se almacenará en el disco.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        return planConnectToRoute(newRouteSelection.next(), newRouteSelection.routes)
      }
    
      /**
       * Returns a plan to reuse a pooled connection, or null if the pool doesn't have a connection for
       * this address.
       *
       * If [planToReplace] is non-null, this will swap it for a pooled connection if that pooled
       * connection uses HTTP/2. That results in fewer sockets overall and thus fewer TCP slow starts.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

        @DisplayName("Should distinguish between pooled and non-pooled connections")
        void testPooledVsNonPooledConnections() {
            // When: Create pooled and non-pooled connections
            SmbTransportImpl pooled = pool.getSmbTransport(ctx, address, 445, false);
            SmbTransportImpl nonPooled = pool.getSmbTransport(ctx, address, 445, true);
    
            // Then: Pool should track pooled but not non-pooled
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java

            // Could implement a more sophisticated buffer pool here
        }
    
        /**
         * Clean up all pooled regions
         *
         * This method should be called when shutting down to
         * release all resources.
         */
        public void cleanup() {
            // Clean up all pooled regions
            RdmaMemoryRegion region;
    
            while ((region = availableSendRegions.poll()) != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     *     list of available routes.
     *
     * If the pool gains an eligible connection while DNS, TCP, or TLS work is in flight, this finder
     * will prefer pooled connections. Only pooled HTTP/2 connections are used for such de-duplication.
     *
     * It is possible to cancel the finding process by canceling its call.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        // If we raced another call connecting to this host, coalesce the connections. This makes for
        // 3 different lookups in the connection pool!
        val pooled3 = routePlanner.planReusePooledConnection(this, routes)
        if (pooled3 != null) return pooled3.connection
    
        connection.withLock {
          connectionPool.put(connection)
          user.acquireConnectionNoEvents(connection)
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

        try (Response response = client.newCall(request).execute()) {
          // Consume and discard the response body.
          response.body().source().readByteString();
        }
    
        System.out.println("REQUEST 2 (pooled connection)");
        try (Response response = client.newCall(request).execute()) {
          // Consume and discard the response body.
          response.body().source().readByteString();
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/query-param-models.md

                "input": "plumbus"
            }
        ]
    }
    ```
    
    ## Resumen
    
    Puedes usar **modelos de Pydantic** para declarar **parámetros query** en **FastAPI**. 😎
    
    /// tip | Consejo
    
    Alerta de spoiler: también puedes usar modelos de Pydantic para declarar cookies y headers, pero leerás sobre eso más adelante en el tutorial. 🤫
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top