Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1221 - 1230 of 1,718 for content1 (0.04 sec)

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

    Por ejemplo, dentro de una *path operation function* `async` puedes obtener los contenidos con:
    
    ```Python
    contents = await myfile.read()
    ```
    
    Si estás dentro de una *path operation function* normal `def`, puedes acceder al `UploadFile.file` directamente, por ejemplo:
    
    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | Detalles Técnicos de `async`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/request-files.md

    * `close()`:关闭文件。
    
    因为上述方法都是 `async` 方法,要搭配「await」使用。
    
    例如,在 `async` *路径操作函数* 内,要用以下方式读取文件内容:
    
    ```Python
    contents = await myfile.read()
    ```
    
    在普通 `def` *路径操作函数*  内,则可以直接访问 `UploadFile.file`,例如:
    
    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | `async` 技术细节
    
    使用 `async` 方法时,**FastAPI** 在线程池中执行文件方法,并 `await` 操作完成。
    
    ///
    
    /// note | Starlette 技术细节
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. cmd/batch-rotate.go

    type BatchJobKeyRotateEncryption struct {
    	Type       BatchKeyRotationType `yaml:"type" json:"type"`
    	Key        string               `yaml:"key" json:"key"`
    	Context    string               `yaml:"context" json:"context"`
    	kmsContext kms.Context          `msg:"-"`
    }
    
    // Validate validates input key rotation encryption options.
    func (e BatchJobKeyRotateEncryption) Validate() error {
    	if e.Type != sses3 && e.Type != ssekms {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Verify path content
            byte[] actualPath = new byte[pathBytes.length];
            System.arraycopy(buffer, bodyOffset + 8, actualPath, 0, pathBytes.length);
            assertArrayEquals(pathBytes, actualPath);
        }
    
        @Test
        @DisplayName("Should handle response creation with null config from context")
        void testCreateResponseWithNullConfigFromContext() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/user/admin_user_edit.jsp

        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="user"/>
            <jsp:param name="menuType" value="user"/>
        </jsp:include>
        <main class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
                            <h1>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  6. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import android.annotation.SuppressLint
    import android.content.Context
    import android.os.Build
    import android.os.StrictMode
    import android.security.NetworkSecurityPolicy
    import android.util.CloseGuard
    import android.util.Log
    import javax.net.ssl.SSLContext
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Jul 20 11:25:50 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            assertTrue(paramWritten > 6);
            assertEquals(0, dataWritten);
    
            // Verify setup content
            assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, setupBuffer[0]);
            assertEquals(0x00, setupBuffer[1]);
    
            // Verify parameter content
            assertEquals(0x0101, SMBUtil.readInt2(paramBuffer, 0));
        }
    
        @Test
        void testWithMockConfiguration() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

      private fun dnsResponse(s: String): MockResponse =
        MockResponse
          .Builder()
          .body(Buffer().write(s.decodeHex()))
          .addHeader("content-type", "application/dns-message")
          .addHeader("content-length", s.length / 2)
          .build()
    
      private fun buildLocalhost(
        bootstrapClient: OkHttpClient,
        includeIPv6: Boolean,
        post: Boolean = false,
      ): DnsOverHttps {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

                assertEquals(6118, WinError.ERROR_NO_BROWSER_SERVERS_FOUND, "ERROR_NO_BROWSER_SERVERS_FOUND expected 6118");
            }
        }
    
        @Nested
        @DisplayName("Array content checks")
        class ArrayChecks {
            @Test
            void arraysHaveSameLength() {
                assertEquals(WinError.WINERR_CODES.length, WinError.WINERR_MESSAGES.length,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

        linkedHashMultiset = LinkedHashMultiset.create(size);
        treeMultiset = TreeMultiset.create();
    
        Random random = new Random();
    
        int sizeRemaining = size;
    
        // TODO(kevinb): generate better test contents for multisets
        while (sizeRemaining > 0) {
          // The JVM will return interned values for small ints.
          Integer value = random.nextInt(1000) + 128;
          int count = min(random.nextInt(10) + 1, sizeRemaining);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top