Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 588 for Encoder (0.06 sec)

  1. internal/bucket/replication/sourceselectioncriteria.go

    	}
    	if len(ssc.ReplicaModifications.Status) == 0 {
    		ssc.ReplicaModifications.Status = Enabled
    	}
    	*s = SourceSelectionCriteria(ssc)
    	return nil
    }
    
    // MarshalXML - encodes to XML data.
    func (s SourceSelectionCriteria) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
    	if err := e.EncodeToken(start); err != nil {
    		return err
    	}
    	if s.IsValid() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. internal/event/config.go

    func (filter FilterRule) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
    	if filter.isEmpty() {
    		return nil
    	}
    	type filterRuleWrapper FilterRule
    	return e.EncodeElement(filterRuleWrapper(filter), start)
    }
    
    // UnmarshalXML - decodes XML data.
    func (filter *FilterRule) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Make subtype to avoid recursive UnmarshalXML().
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/testing.md

    If you have a Pydantic model in your test and you want to send its data to the application during testing, you can use the `jsonable_encoder` described in [JSON Compatible Encoder](encoder.md){.internal-link target=_blank}.
    
    ///
    
    ## Run it
    
    After that, you just need to install `pytest`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. lib/wasm/wasm_exec.js

    	}
    
    	if (!globalThis.TextDecoder) {
    		throw new Error("globalThis.TextDecoder is not available, polyfill required");
    	}
    
    	const encoder = new TextEncoder("utf-8");
    	const decoder = new TextDecoder("utf-8");
    
    	globalThis.Go = class {
    		constructor() {
    			this.argv = ["js"];
    			this.env = {};
    			this.exit = (code) => {
    				if (code !== 0) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. cmd/storage-rest-client.go

    	values.Set(storageRESTVolume, volume)
    	values.Set(storageRESTTotalVersions, strconv.Itoa(len(versions)))
    
    	var buffer bytes.Buffer
    	encoder := msgp.NewWriter(&buffer)
    	for _, version := range versions {
    		version.EncodeMsg(encoder)
    	}
    	storageLogIf(ctx, encoder.Flush())
    
    	errs = make([]error, len(versions))
    
    	respBody, err := client.call(ctx, storageRESTMethodDeleteVersions, values, &buffer, -1)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  6. cmd/api-datatypes.go

    }
    
    // DeleteMarkerMTime is an embedded type containing time.Time for XML marshal
    type DeleteMarkerMTime struct {
    	time.Time
    }
    
    // MarshalXML encodes expiration date if it is non-zero and encodes
    // empty string otherwise
    func (t DeleteMarkerMTime) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if t.Time.IsZero() {
    		return nil
    	}
    	return e.EncodeElement(t.Time.Format(time.RFC3339), startElement)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:26:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/testing.md

    Wenn Sie ein Pydantic-Modell in Ihrem Test haben und dessen Daten während des Testens an die Anwendung senden möchten, können Sie den `jsonable_encoder` verwenden, der in [JSON-kompatibler Encoder](encoder.md){.internal-link target=_blank} beschrieben wird.
    
    ///
    
    ## Tests ausführen
    
    Danach müssen Sie nur noch `pytest` installieren:
    
    <div class="termy">
    
    ```console
    $ pip install pytest
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. docs/em/docs/advanced/response-directly.md

    # 📨 📨 🔗
    
    🕐❔ 👆 ✍ **FastAPI** *➡ 🛠️* 👆 💪 🛎 📨 🙆 📊 ⚪️➡️ ⚫️: `dict`, `list`, Pydantic 🏷, 💽 🏷, ♒️.
    
    🔢, **FastAPI** 🔜 🔁 🗜 👈 📨 💲 🎻 ⚙️ `jsonable_encoder` 🔬 [🎻 🔗 🔢](../tutorial/encoder.md){.internal-link target=_blank}.
    
    ⤴️, ⛅ 🎑, ⚫️ 🔜 🚮 👈 🎻-🔗 💽 (✅ `dict`) 🔘 `JSONResponse` 👈 🔜 ⚙️ 📨 📨 👩‍💻.
    
    ✋️ 👆 💪 📨 `JSONResponse` 🔗 ⚪️➡️ 👆 *➡ 🛠️*.
    
    ⚫️ 💪 ⚠, 🖼, 📨 🛃 🎚 ⚖️ 🍪.
    
    ## 📨 `Response`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. docs/zh/docs/how-to/general.md

    在文档界面中显示弃用的**路径操作**,请阅读 [教程 - 路径操作配置 - 弃用](../tutorial/path-operation-configuration.md#deprecate-a-path-operation){.internal-link target=_blank} 文档。
    
    ## 将任何数据转换为 JSON 兼容格式
    
    要将任何数据转换为 JSON 兼容格式,请阅读 [教程 - JSON 兼容编码器](../tutorial/encoder.md){.internal-link target=_blank} 文档。
    
    ## OpenAPI 元数据 - 文档
    
    要添加 OpenAPI 的元数据,包括许可证、版本、联系方式等,请阅读 [教程 - 元数据和文档 URL](../tutorial/metadata.md){.internal-link target=_blank} 文档。
    
    ## OpenAPI 自定义 URL
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Apr 22 23:41:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. api/go1.7.txt

    pkg debug/elf, const R_390_TLS_TPOFF R_390
    pkg debug/elf, method (R_390) GoString() string
    pkg debug/elf, method (R_390) String() string
    pkg debug/elf, type R_390 int
    pkg encoding/json, method (*Encoder) SetEscapeHTML(bool)
    pkg encoding/json, method (*Encoder) SetIndent(string, string)
    pkg go/build, type Package struct, BinaryOnly bool
    pkg go/build, type Package struct, CgoFFLAGS []string
    pkg go/build, type Package struct, FFiles []string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 28 15:08:11 UTC 2016
    - 13.6K bytes
    - Viewed (0)
Back to top