Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 1,679 for Fields (0.04 seconds)

  1. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

    import jcifs.smb1.UniAddress;
    
    /**
     * Unit tests for {@link NtlmChallenge}.
     */
    class NtlmChallengeTest {
    
        @Nested
        @DisplayName("Constructor and Field Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Constructor sets fields correctly")
            void testConstructorSetsFields() {
                byte[] challenge = new byte[] { 1, 2, 3 };
                UniAddress dc = mock(UniAddress.class);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/body-nested-models.md

    # 请求体 - 嵌套模型 { #body-nested-models }
    
    使用 **FastAPI**,你可以定义、校验、记录文档并使用任意深度嵌套的模型(归功于Pydantic)。
    
    ## List 字段 { #list-fields }
    
    你可以将一个属性定义为一个子类型。例如,Python `list`:
    
    {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *}
    
    这将使 `tags` 成为一个由元素组成的列表。不过它没有声明每个元素的类型。
    
    ## 带类型参数的 List 字段 { #list-fields-with-type-parameter }
    
    不过,Python 有一种用于声明具有内部类型(类型参数)的列表的特定方式:
    
    ### 声明带类型参数的 `list` { #declare-a-list-with-a-type-parameter }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  3. src/bytes/iter.go

    // whitespace characters, as defined by [unicode.IsSpace].
    // The iterator yields the same subslices that would be returned by [Fields](s),
    // but without constructing a new slice containing the subslices.
    func FieldsSeq(s []byte) iter.Seq[[]byte] {
    	return func(yield func([]byte) bool) {
    		start := -1
    		for i := 0; i < len(s); {
    			size := 1
    			r := rune(s[i])
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Sep 03 14:04:47 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
    
            private byte[] createValidSyncMessage() {
                byte[] buffer = new byte[256];
                System.arraycopy(SMBUtil.SMB2_HEADER, 0, buffer, 0, 4);
                // Set up sync message fields
                SMBUtil.writeInt4(0, buffer, 16); // flags (no async flag)
                SMBUtil.writeInt4(123, buffer, 36); // tree ID
                SMBUtil.writeInt8(456L, buffer, 40); // session ID
                return buffer;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 39.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

            final StringBuilder buf = new StringBuilder(100);
            buf.append(form.q);
            if (!form.fields.isEmpty() && form.fields.containsKey(LABEL_FIELD)) {
                final String[] values = form.fields.get(LABEL_FIELD);
                final List<String> labelList = new ArrayList<>();
                if (values != null) {
                    Collections.addAll(labelList, values);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/request-forms.md

    /// info
    
    `Form` 是一個直接繼承自 `Body` 的類別。
    
    ///
    
    /// tip
    
    要宣告表單的請求本文,你需要明確使用 `Form`,否則這些參數會被解讀為查詢參數或請求本文(JSON)參數。
    
    ///
    
    ## 關於「表單欄位」 { #about-form-fields }
    
    HTML 表單(`<form></form>`)向伺服器傳送資料時,通常會使用一種「特殊」的編碼方式,與 JSON 不同。
    
    **FastAPI** 會從正確的位置讀取那些資料,而不是從 JSON。
    
    /// note | 技術細節
    
    表單資料通常會使用「媒體類型」`application/x-www-form-urlencoded` 進行編碼。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/request-form-models.md

    ## 检查文档 { #check-the-docs }
    
    你可以在文档 UI 中验证它,地址为 `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/request-form-models/image01.png">
    </div>
    
    ## 禁止额外的表单字段 { #forbid-extra-form-fields }
    
    在某些特殊使用情况下(可能并不常见),你可能希望将表单字段**限制**为仅在 Pydantic 模型中声明过的字段,并**禁止**任何**额外**的字段。
    
    /// note | 注意
    
    自 FastAPI 版本 `0.114.0` 起支持此功能。🤓
    
    ///
    
    你可以使用 Pydantic 的模型配置来 `forbid` 任何 `extra` 字段:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  8. src/archive/tar/writer.go

    	}
    	return nil
    }
    
    type (
    	stringFormatter func([]byte, string)
    	numberFormatter func([]byte, int64)
    )
    
    // templateV7Plus fills out the V7 fields of a block using values from hdr.
    // It also fills out fields (uname, gname, devmajor, devminor) that are
    // shared in the USTAR, PAX, and GNU formats using the provided formatters.
    //
    // The block returned is only valid until the next call to
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Feb 03 16:38:43 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/request-forms.md

    /// info
    
    `Form` 是直接继承自 `Body` 的类。
    
    ///
    
    /// tip
    
    要声明表单请求体,必须显式使用 `Form`,否则这些参数会被当作查询参数或请求体(JSON)参数。
    
    ///
    
    ## 关于 "表单字段" { #about-form-fields }
    
    HTML 表单(`<form></form>`)向服务器发送数据时通常会对数据使用一种“特殊”的编码方式,这与 JSON 不同。
    
    **FastAPI** 会确保从正确的位置读取这些数据,而不是从 JSON 中读取。
    
    /// note | 技术细节
    
    表单数据通常使用“媒体类型” `application/x-www-form-urlencoded` 进行编码。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  10. src/main/webapp/WEB-INF/view/admin/role/admin_role_details.jsp

                                        </la:info>
                                        <la:errors/>
                                    </div>
                                        <%-- Form Fields --%>
                                    <table class="table table-bordered" aria-label="<la:message key="labels.role_details" />">
                                        <tbody>
                                        <tr>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 7K bytes
    - Click Count (0)
Back to Top