- Sort Score
- Num 10 results
- Language All
Results 441 - 450 of 2,541 for DATA (0.02 seconds)
-
tests/postgres_test.go
} harumph := Harumph{} if err := DB.Create(&harumph).Error; err == nil { t.Fatalf("should failed to create data, name can't be blank") } harumph = Harumph{Name: "jinzhu"} if err := DB.Create(&harumph).Error; err != nil { t.Fatalf("should be able to create data, but got %v", err) } var result Harumph if err := DB.First(&result, "id = ?", harumph.ID).Error; err != nil || harumph.Name != "jinzhu" {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Oct 08 09:16:32 GMT 2022 - 6.4K bytes - Click Count (0) -
docs/zh/docs/advanced/json-base64-bytes.md
查看 `/docs` 时,你会看到字段 `data` 期望接收 base64 编码的字节: <div class="screenshot"> <img src="/img/tutorial/json-base64-bytes/image01.png"> </div> 你可以发送如下请求: ```json { "description": "Some data", "data": "aGVsbG8=" } ``` /// tip | 提示 `aGVsbG8=` 是 `hello` 的 base64 编码。 /// 随后 Pydantic 会解码该 base64 字符串,并在模型的 `data` 字段中提供原始字节。 你将会收到类似的响应: ```json {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 2.4K bytes - Click Count (0) -
tests/test_request_body_parameters_media_type.py
name: str price: float class Shop(BaseModel): name: str @app.post("/products") async def create_product(data: Product = Body(media_type=media_type, embed=True)): pass # pragma: no cover @app.post("/shops") async def create_shop( data: Shop = Body(media_type=media_type), included: list[Product] = Body(default=[], media_type=media_type), ): pass # pragma: no coverCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 7.2K bytes - Click Count (0) -
docs/bucket/versioning/versioning-tests.sh
fi minio server -S /tmp/no-certs --address ":9001" "http://localhost:9001/tmp/multisitea/data/disterasure/xl{1...4}" \ "http://localhost:9002/tmp/multisitea/data/disterasure/xl{5...8}" >/tmp/sitea_1.log 2>&1 & minio server -S /tmp/no-certs --address ":9002" "http://localhost:9001/tmp/multisitea/data/disterasure/xl{1...4}" \ "http://localhost:9002/tmp/multisitea/data/disterasure/xl{5...8}" >/tmp/sitea_2.log 2>&1 &Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Sep 06 09:42:21 GMT 2024 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
response.readBytesWireFormat(buffer, 0); }); // The validation correctly detects when buffer extends beyond available data assertTrue(exception.getMessage().contains("Security buffer extends beyond available data"), "Should detect security buffer overflow: " + exception.getMessage()); } /** * Test security buffer validation against buffer overflow.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
docs/en/docs/python-types.md
[Pydantic](https://docs.pydantic.dev/) is a Python library to perform data validation. You declare the "shape" of the data as classes with attributes. And each attribute has a type. Then you create an instance of that class with some values and it will validate the values, convert them to the appropriate type (if that's the case) and give you an object with all the data. And you get all the editor support with that resulting object.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
cmd/erasure-healing_test.go
object := "object" data := make([]byte, 1*humanize.MiByte) length := int64(len(data)) _, err = rand.Read(data) if err != nil { t.Fatal(err) } oi1, err := obj.PutObject(ctx, bucket, object, mustGetPutObjReader(t, bytes.NewReader(data), length, "", ""), ObjectOptions{}) if err != nil { t.Fatal(err) } // 2nd version. _, _ = rand.Read(data)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 48.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java
return asHtml(path_AdminBadword_AdminBadwordJsp).renderWith(data -> { searchPaging(data, form); }); } /** * Search with paging. * @param data The render data. * @param form The search form. */ protected void searchPaging(final RenderData data, final SearchForm form) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 23 23:57:26 GMT 2026 - 18K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/StorageClient.java
/** * Uploads an object to storage. * * @param objectName the name/path for the object * @param inputStream the input stream of data to upload * @param size the size of the data in bytes * @param contentType the MIME type of the content */ void uploadObject(String objectName, InputStream inputStream, long size, String contentType); /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 2.8K bytes - Click Count (0)