Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 90 for filesize (0.25 sec)

  1. cmd/storage-rest-common_gen.go

    func (z *nsScannerResp) Msgsize() (s int) {
    	s = 1 + 2
    	if z.Update == nil {
    		s += msgp.NilSize
    	} else {
    		s += z.Update.Msgsize()
    	}
    	s += 2
    	if z.Final == nil {
    		s += msgp.NilSize
    	} else {
    		s += z.Final.Msgsize()
    	}
    	return
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes_gen.go

    	if z.ActualSize == nil {
    		s += msgp.NilSize
    	} else {
    		s += msgp.Int64Size
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 71.7K bytes
    - Viewed (0)
  3. cmd/metacache_gen.go

    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *metacache) Msgsize() (s int) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 10K bytes
    - Viewed (0)
  4. 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
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. docs_src/request_files/tutorial003_py39.py

    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_files(
        files: 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: list[UploadFile] = File(description="Multiple files as UploadFile"),
    ):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 888 bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/util/SMBUtil.java

            dst[++dstIndex] = (byte) (val >>= 8);
            dst[++dstIndex] = (byte) (val >>= 8);
            dst[++dstIndex] = (byte) (val >> 8);
        }
    
        /**
         * Reads a Windows FILETIME value and converts it to Java time in milliseconds
         * @param src the source byte array
         * @param srcIndex the starting index in the source array
         * @return the time value in milliseconds since January 1, 1970 UTC
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. 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++
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
  8. 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 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  9. 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")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. fastapi/datastructures.py

        from typing import Annotated
    
        from fastapi import FastAPI, File, UploadFile
    
        app = FastAPI()
    
    
        @app.post("/files/")
        async def create_file(file: Annotated[bytes, File()]):
            return {"file_size": len(file)}
    
    
        @app.post("/uploadfile/")
        async def create_upload_file(file: UploadFile):
            return {"filename": file.filename}
        ```
        """
    
        file: Annotated[
            BinaryIO,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top