- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 58 for create_file (0.09 sec)
-
docs_src/request_files/tutorial002.py
from typing import List 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("/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 811 bytes - Viewed (0) -
docs_src/request_files/tutorial002_an_py39.py
from typing import Annotated from fastapi import FastAPI, File, UploadFile from fastapi.responses import HTMLResponse app = FastAPI() @app.post("/files/") async def create_files(files: Annotated[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]}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 826 bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java
public static final String HTTP_STATUS_CODE = "httpStatusCode"; public static final String METHOD = "method"; public static final String MIME_TYPE = "mimeType"; public static final String CREATE_TIME = "createTime"; public static final String EXECUTION_TIME = "executionTime"; public static final String CONTENT_LENGTH = "contentLength"; public static final String LAST_MODIFIED = "lastModified";
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
* writes to, reads from, and closes the pipe in a single operation. * <li><code>TransactNamedPipe</code> A message-type pipe call that * writes to and reads from an existing pipe descriptor in one operation. * <li><code>CreateFile</code>, <code>ReadFile</code>, * <code>WriteFile</code>, and <code>CloseFile</code> A byte-type pipe can * be opened, written to, read from and closed using the standard Win32 * file operations. * </ul> * * <p>
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
* <li> <code>TransactNamedPipe</code> A message-type pipe call that * writes to and reads from an existing pipe descriptor in one operation. * <li> <code>CreateFile</code>, <code>ReadFile</code>, * <code>WriteFile</code>, and <code>CloseFile</code> A byte-type pipe can * be opened, written to, read from and closed using the standard Win32 * file operations. * </ul>
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 7.3K bytes - Viewed (0) -
.github/workflows/mint.yml
${GITHUB_WORKSPACE}/.github/workflows/run-mint.sh "erasure" "minio" "minio123" "${{ steps.vars.outputs.sha_short }}" # FIXME: renable this back when we have a valid way to add deadlines for PUT()s (internode CreateFile) # - name: resiliency # run: | # ${GITHUB_WORKSPACE}/.github/workflows/run-mint.sh "resiliency" "minio" "minio123" "${{ steps.vars.outputs.sha_short }}" - name: The job must cleanup
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 04 15:12:57 UTC 2024 - 2.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
// /[sibling -> left] Path root = createTempDirectory("ClassPathTest"); try { Path left = createDirectory(root.resolve("left")); createFile(left.resolve("some.txt")); Path right = createDirectory(root.resolve("right")); createFile(right.resolve("another.txt")); createSymbolicLink(left.resolve("sibling"), right); createSymbolicLink(right.resolve("sibling"), left);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 27.6K bytes - Viewed (0) -
cmd/erasure-encode.go
p.errs[i] = io.ErrShortWrite p.writers[i] = nil } } else { p.writers[i] = nil } } // If nilCount >= p.writeQuorum, we return nil. This is because HealFile() uses // CreateFile with p.writeQuorum=1 to accommodate healing of single disk. // i.e if we do no return here in such a case, reduceWriteQuorumErrs() would // return a quorum error to HealFile(). nilCount := countErrs(p.errs, nil)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
*/ static final int FILE_OVERWRITE = 0x4; /* Open the file and overwrite it's contents or create it if it does not exist * aka CREATE_ALWAYS (according to the wire when calling CreateFile) */ static final int FILE_OVERWRITE_IF = 0x5; // create options static final int FILE_WRITE_THROUGH = 0x00000002; static final int FILE_SEQUENTIAL_ONLY = 0x00000004;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 6.6K bytes - Viewed (0) -
cmd/storage-interface.go
ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) AppendFile(ctx context.Context, volume string, path string, buf []byte) (err error) CreateFile(ctx context.Context, origvolume, olume, path string, size int64, reader io.Reader) error ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 5.2K bytes - Viewed (0)