- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 656 for encoder (0.74 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs_src/body_updates/tutorial002_py310.py
from fastapi import FastAPI from fastapi.encoders import jsonable_encoder from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str | None = None description: str | None = None price: float | None = None tax: float = 10.5 tags: list[str] = [] items = { "foo": {"name": "Foo", "price": 50.2}, "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:07:26 GMT 2026 - 1009 bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
} @Test @DisplayName("Test encode and decode operations") void testEncodeDecodeOperations() { byte[] buffer = new byte[1024]; // Initialize transaction buffer to avoid NPE transaction.setBuffer(new byte[SmbComTransaction.TRANSACTION_BUF_SIZE]); // Test encode int encodeLength = transaction.encode(buffer, 0); assertTrue(encodeLength > 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java
baseDir.mkdirs(); File maliciousFile = new File(baseDir, "test/../../../etc/passwd"); Boolean result = invokeIsValidUploadPath(maliciousFile, baseDir); assertFalse("Encoded path traversal should be blocked", result); } @Test public void test_isValidUploadPath_pathTraversal_outsideBase() throws Exception { // Test file outside base directory
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.6K bytes - Click Count (0) -
cmd/signature-v2.go
// // returns ErrNone if matches. S3 errors otherwise. func doesPresignV2SignatureMatch(r *http.Request) APIErrorCode { // r.RequestURI will have raw encoded URI as sent by the client. tokens := strings.SplitN(r.RequestURI, "?", 2) encodedResource := tokens[0] encodedQuery := "" if len(tokens) == 2 { encodedQuery = tokens[1] } var (
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.2K bytes - Click Count (0) -
docs/tr/docs/tutorial/request-files.md
/// note | Teknik Detaylar Formlardan gelen veri, dosya içermiyorsa normalde "media type" olarak `application/x-www-form-urlencoded` ile encode edilir. Ancak form dosya içeriyorsa `multipart/form-data` olarak encode edilir. `File` kullanırsanız, **FastAPI** dosyaları body’nin doğru kısmından alması gerektiğini bilir.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 7.5K bytes - Click Count (0) -
docs/uk/docs/advanced/websockets.md
Якщо вам потрібне щось просте для інтеграції з FastAPI, але більш надійне, з підтримкою Redis, PostgreSQL чи інших, перегляньте [encode/broadcaster](https://github.com/encode/broadcaster). /// ## Детальніше { #more-info } Щоб дізнатися більше про можливості, перегляньте документацію Starlette: * [Клас `WebSocket`](https://www.starlette.dev/websockets/).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 7.9K bytes - Click Count (0) -
docs/tr/docs/advanced/stream-data.md
{* ../../docs_src/stream_data/tutorial001_py310.py ln[32:35] hl[33] *} Bu aynı zamanda `StreamingResponse` ile veriyi tam olarak ihtiyaç duyduğunuz biçimde üretme ve encode etme konusunda hem bir özgürlük hem de bir sorumluluk verdiği anlamına gelir; tip annotasyonlarından bağımsızdır. 🤓 ### Bytes Akışı { #stream-bytes }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:51:35 GMT 2026 - 5.8K bytes - Click Count (0) -
docs_src/body_updates/tutorial001_py310.py
from fastapi import FastAPI from fastapi.encoders import jsonable_encoder from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str | None = None description: str | None = None price: float | None = None tax: float = 10.5 tags: list[str] = [] items = { "foo": {"name": "Foo", "price": 50.2}, "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 856 bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
assertEquals(expectedDecodeLength, response.decode(buffer, bufferIndex)); // Test encode method byte[] dst = new byte[512]; int dstIndex = 0; int expectedEncodeLength = 64; when(response.encode(dst, dstIndex)).thenReturn(expectedEncodeLength); assertEquals(expectedEncodeLength, response.encode(dst, dstIndex)); // Test digest methods
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.3K bytes - Click Count (0) -
internal/s3select/json/reader.go
// Reader - JSON record reader for S3Select. type Reader struct { args *ReaderArgs decoder *jstream.Decoder valueCh chan *jstream.MetaValue readCloser io.ReadCloser } // Read - reads single record. func (r *Reader) Read(dst sql.Record) (sql.Record, error) { v, ok := <-r.valueCh if !ok { if err := r.decoder.Err(); err != nil { return nil, errJSONParsingError(err) } return nil, io.EOF }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 3.2K bytes - Click Count (0)