- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 95 for filesize (0.04 seconds)
-
docs_src/request_files/tutorial002_py39.py
from fastapi import FastAPI, File, UploadFile from fastapi.responses import HTMLResponse app = FastAPI() @app.post("/files/") async def create_files(files: list[bytes] = File()): return {"file_sizes": [len(file) for file in files]} @app.post("/uploadfiles/") async def create_upload_files(files: list[UploadFile]): return {"filenames": [file.filename for file in files]} @app.get("/") async def main():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 786 bytes - Click Count (0) -
cmd/erasure-server-pool-decom_gen.go
func (z *PoolStatus) Msgsize() (s int) { s = 1 + 3 + msgp.IntSize + 3 + msgp.StringPrefixSize + len(z.CmdLine) + 3 + msgp.TimeSize + 4 if z.Decommission == nil { s += msgp.NilSize } else { s += z.Decommission.Msgsize() } return } // DecodeMsg implements msgp.Decodable func (z *decomError) DecodeMsg(dc *msgp.Reader) (err error) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 26.7K bytes - Click Count (0) -
docs_src/request_files/tutorial003_an_py39.py
from fastapi.responses import HTMLResponse app = FastAPI() @app.post("/files/") async def create_files( files: Annotated[list[bytes], File(description="Multiple files as bytes")], ): return {"file_sizes": [len(file) for file in files]} @app.post("/uploadfiles/") async def create_upload_files( files: Annotated[ list[UploadFile], File(description="Multiple files as UploadFile") ], ):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 952 bytes - Click Count (0) -
cmd/storage-rest-common_gen.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
long time = System.currentTimeMillis(); BigInteger filetime = BigInteger.valueOf(time) .add(BigInteger.valueOf(SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601)) .multiply(BigInteger.valueOf(10000L)); byte[] data = new byte[8]; long low = filetime.longValue(); long high = filetime.shiftRight(32).longValue(); // write little-endian
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 9.2K bytes - Click Count (0) -
tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py
data={"token": "foo"}, files={"file": filea, "fileb": ("testb.txt", fileb, "text/plain")}, ) assert response.status_code == 200, response.text assert response.json() == { "file_size": 14, "token": "foo", "fileb_content_type": "text/plain", } def test_openapi_schema(client: TestClient): response = client.get("/openapi.json")Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 7.3K bytes - Click Count (0) -
cmd/batch-job-common-types_gen.go
s = 1 + 8 if z.Disable == nil { s += msgp.NilSize } else { s += msgp.BoolSize } s += 6 if z.Batch == nil { s += msgp.NilSize } else { s += msgp.IntSize } s += 9 if z.InMemory == nil { s += msgp.NilSize } else { s += msgp.BoolSize } s += 9 if z.Compress == nil { s += msgp.NilSize } else { s += msgp.BoolSize }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 21.9K bytes - Click Count (0) -
cmd/object-api-datatypes_gen.go
if z.ActualSize == nil { s += msgp.NilSize } else { s += msgp.Int64Size }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 71.7K bytes - Click Count (0) -
cmd/data-scanner.go
tgtSizeS.pendingCount++ tgtSizeS.pendingSize += oi.Size sizeS.pendingCount++ sizeS.pendingSize += oi.Size case replication.Failed: tgtSizeS.failedSize += oi.Size tgtSizeS.failedCount++ sizeS.failedSize += oi.Size sizeS.failedCount++ case replication.Completed, replication.CompletedLegacy: tgtSizeS.replicatedSize += oi.Size tgtSizeS.replicatedCount++
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 45.5K bytes - Click Count (0) -
cmd/batch-expire_gen.go
func (z *BatchJobExpireFilter) Msgsize() (s int) { s = 1 + 10 + z.OlderThan.Msgsize() + 14 if z.CreatedBefore == nil { s += msgp.NilSize } else { s += msgp.TimeSize } s += 5 + msgp.ArrayHeaderSize for za0001 := range z.Tags { s += z.Tags[za0001].Msgsize() } s += 9 + msgp.ArrayHeaderSize for za0002 := range z.Metadata {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.9K bytes - Click Count (0)