- Sort Score
- Num 10 results
- Language All
Results 761 - 770 of 1,168 for BytesX (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_form_default.py
@app.post("/urlencoded") async def post_url_encoded(age: Annotated[int | None, Form()] = None): return age @app.post("/multipart") async def post_multi_part( age: Annotated[int | None, Form()] = None, file: Annotated[bytes | None, File()] = None, ): return {"file": file, "age": age} client = TestClient(app) def test_form_default_url_encoded(): response = client.post("/urlencoded", data={"age": ""})
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 829 bytes - Click Count (0) -
cmd/s3-zip-handlers.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "context" "errors" "io" "mime" "net/http" "path/filepath" "sort" "strings" "github.com/minio/minio/internal/auth" "github.com/minio/minio/internal/crypto"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.8K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/request-forms-and-files.md
以與 `Body` 或 `Query` 相同的方式建立檔案與表單參數: {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[10:12] *} 檔案與表單欄位會作為表單資料上傳,而你將能接收到這些檔案與欄位。 你也可以將部分檔案宣告為 `bytes`,另一些宣告為 `UploadFile`。 /// warning 你可以在一個路徑操作 (path operation) 中宣告多個 `File` 與 `Form` 參數,但不能同時再宣告預期以 JSON 接收的 `Body` 欄位,因為該請求的本文會使用 `multipart/form-data` 而非 `application/json` 進行編碼。 這不是 **FastAPI** 的限制,這是 HTTP 通訊協定本身的規範。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 1.4K bytes - Click Count (0) -
internal/disk/stat_solaris.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package disk import ( "errors" "fmt" "golang.org/x/sys/unix" ) // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, _ bool) (info Info, err error) { s := unix.Statvfs_t{} if err = unix.Statvfs(path, &s); err != nil { return Info{}, err }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 1.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/LoggingOutputStream.java
*/ public abstract class LoggingOutputStream extends OutputStream { /** The starting length of the buffer */ private static final int DEFAULT_BUFFER_LENGTH = 4096; /** The buffer of bytes sent to the stream */ private byte[] buffer = new byte[DEFAULT_BUFFER_LENGTH]; /** Offset of the start of unwritten data in the buffer */ private int start = 0;Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.1K bytes - Click Count (0) -
src/archive/tar/tar_test.go
b.Errorf("unexpected Close error: %v", err) } } }) } }) b.Run("Reader", func(b *testing.B) { for _, v := range vectors { var buf bytes.Buffer var r bytes.Reader // Write the archive to a byte buffer. tw := NewWriter(&buf) for _, file := range v.files { tw.WriteHeader(file.hdr) tw.Write(file.body) } tw.Close()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 25 00:25:45 GMT 2024 - 23.9K bytes - Click Count (0) -
cmd/xl-storage-format-v2_gen.go
if err != nil { err = msgp.WrapError(err) return } (*z) = ChecksumAlgo(zb0001) } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z ChecksumAlgo) Msgsize() (s int) { s = msgp.Uint8Size return } // DecodeMsg implements msgp.Decodable func (z *ErasureAlgo) DecodeMsg(dc *msgp.Reader) (err error) { {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 55.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/FileEntry.java
* * @return the last modified time in milliseconds since epoch */ long lastModified(); /** * Gets the file size. * * @return the file size in bytes */ long length();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 881 bytes - Click Count (0) -
docs/uk/docs/tutorial/request-forms-and-files.md
{* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[10:12] *} Файли та поля форми будуть завантажені як формові дані, і ви отримаєте файли та поля форми. Ви також можете оголосити деякі файли як `bytes`, а деякі як `UploadFile`. /// warning | ПопередженняCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 2.2K bytes - Click Count (0)