- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 260 for Encoder (0.08 sec)
-
fastapi/encoders.py
Convert any object to something that can be encoded in JSON. This is used internally by FastAPI to make sure anything you return can be encoded as JSON before it is sent to the client. You can also use it yourself, for example to convert objects before saving them in a database that supports only JSON. Read more about it in the [FastAPI docs for JSON Compatible Encoder](https://fastapi.tiangolo.com/tutorial/encoder/).
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 10.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
protected final Client client; protected final String arraySettingsIndexName; protected final String settingsId; protected final SuggestSettings settings; private static final Base64.Encoder encoder = Base64.getEncoder(); protected ArraySettings(final SuggestSettings settings, final Client client, final String settingsIndexName, final String settingsId) { this.settings = settings;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
private static final int MAX_QUERY_TERM_LENGTH = 48; private static final Base64.Encoder encoder = Base64.getEncoder(); private static final int ID_MAX_LENGTH = 445; private SuggestUtil() { } public static String createSuggestTextId(final String text) { final String id = encoder.encodeToString(text.getBytes(CoreLibConstants.CHARSET_UTF_8)); if (id.length() > 445) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 11.7K bytes - Viewed (0) -
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) -
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) -
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) -
docs/en/docs/advanced/custom-response.md
This is because by default, FastAPI will inspect every item inside and make sure it is serializable as JSON, using the same [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank} explained in the tutorial. This is what allows you to return **arbitrary objects**, for example database models.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 12K bytes - Viewed (0) -
internal/event/name.go
return "s3:Scanner:BigPrefix" } return "" } // MarshalXML - encodes to XML data. func (name Name) MarshalXML(e *xml.Encoder, start xml.StartElement) error { return e.EncodeElement(name.String(), start) } // UnmarshalXML - decodes XML data. func (name *Name) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { var s string if err := d.DecodeElement(&s, &start); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 10.4K bytes - Viewed (0) -
api/go1.4.txt
pkg image/png, const NoCompression = -1 pkg image/png, const NoCompression CompressionLevel pkg image/png, method (*Encoder) Encode(io.Writer, image.Image) error pkg image/png, type CompressionLevel int pkg image/png, type Encoder struct pkg image/png, type Encoder struct, CompressionLevel CompressionLevel # CL 101750048 math: implement Nextafter32, Robert Griesemer <******@****.***>
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 12 03:01:01 UTC 2014 - 34K bytes - Viewed (0) -
docs/ru/docs/tutorial/testing.md
Если в Ваших тестах есть модели Pydantic и Вы хотите отправить их в тестируемое приложение, то можете использовать функцию `jsonable_encoder`, описанную на странице [Кодировщик совместимый с JSON](encoder.md){.internal-link target=_blank}. /// ## Запуск тестов Далее Вам нужно установить `pytest`: <div class="termy"> ```console $ pip install pytest ---> 100% ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.2K bytes - Viewed (0)