- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 99 for createFile (0.09 sec)
-
docs_src/request_files/tutorial001_02_an_py310.py
from typing import Annotated from fastapi import FastAPI, File, UploadFile app = FastAPI() @app.post("/files/") async def create_file(file: Annotated[bytes | None, File()] = None): if not file: return {"message": "No file sent"} else: return {"file_size": len(file)} @app.post("/uploadfile/") async def create_upload_file(file: UploadFile | None = None): if not file:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 505 bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java
* * @return the creation time */ Long getCreateTime(); /** * Sets the creation time of the access result. * * @param createTime the creation time */ void setCreateTime(Long createTime); /** * Returns the execution time of the access. * * @return the execution time */ Integer getExecutionTime(); /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.2K bytes - Viewed (10) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java
*/ Long getCreateTime(); /** * Sets the creation time of the URL queue. * * @param createTime the creation time to set, represented as a Long value. */ void setCreateTime(Long createTime); /** * Retrieves the weight of the URL queue. * * @return the weight as a float value. */ float getWeight();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/FileEntry.java
* * @return the file attributes */ int getAttributes(); /** * Gets the creation time. * * @return the creation time in milliseconds since epoch */ long createTime(); /** * Gets the last modified time. * * @return the last modified time in milliseconds since epoch */ long lastModified(); /** * Gets the file size. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 881 bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
this.directoryPath = path; this.leaseKey = key; this.scope = scope; this.createTime = System.currentTimeMillis(); this.lastUpdateTime = createTime; this.lastAccessTime = createTime; this.maxAge = 30000; // 30 seconds default this.children = new ConcurrentHashMap<>(); this.lock = new ReentrantReadWriteLock();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
SmbConstants.FILE_WRITE_DATA | SmbConstants.FILE_WRITE_ATTRIBUTES, SmbConstants.FILE_NO_SHARE)) { final long mtime = src.lastModified(); final long ctime = src.createTime(); final long atime = src.lastAccess(); int i = 0; long off = 0L; while (true) { final int read = fis.read(b[i]);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify assertEquals(expectedAttributes, fileBothDirectoryInfo.getAttributes()); } @Test @DisplayName("Test createTime returns correct creation time") void testCreateTime() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java
*/ @Override protected SmbResource adapt(final FileEntry e) throws MalformedURLException { return new SmbFile(getParent(), e.getName(), true, SmbConstants.TYPE_FILESYSTEM, e.getAttributes(), e.createTime(), e.lastModified(), e.lastAccess(), e.length()); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/FileEntry.java
* * @return the file attributes */ int getAttributes(); /** * Gets the file creation time. * * @return the creation time in milliseconds since epoch */ long createTime(); /** * Gets the last modified time. * * @return the last modified time in milliseconds since epoch */ long lastModified(); /** * Gets the last access time.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
/** * Fields to fetch for access result list without data. */ private static final String[] ACCESS_RESULT_FIELDS = { "parentUrl", "method", "mimeType", "sessionId", "url", "executionTime", "createTime", "contentLength", "lastModified", "ruleId", "httpStatusCode", "status" }; /** * Creates a new instance of OpenSearchDataService. * @param crawlerConfig The crawler configuration. */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.1K bytes - Viewed (0)