- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 6,336 for _file (0.05 sec)
-
docs/en/docs/tutorial/debugging.md
The main purpose of the `__name__ == "__main__"` is to have some code that is executed when your file is called with: <div class="termy"> ```console $ python myapp.py ``` </div> but is not called when another file imports it, like in: ```Python from myapp import app ``` #### More details { #more-details } Let's say your file is named `myapp.py`. If you run it with: <div class="termy">
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.5K bytes - Viewed (0) -
docs/extensions/s3zip/examples/aws-js/main.js
s3.listObjectsV2({Bucket : 'your-bucket', Prefix: 'path/to/file.zip/'}). on('build', function(req) { req.httpRequest.headers['X-Minio-Extract'] = 'true'; }). send(function(err, data) { if (err) { console.log("Error", err); } else { console.log("Success", data); } }); // Download a file in the archive and store it in /tmp/data.csv var file = require('fs').createWriteStream('/tmp/data.csv');
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Jun 10 15:17:03 UTC 2021 - 1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
} } /** * Register a file with cache for a path * * @param path file path * @param file SmbFile instance */ public void registerFileCache(String path, SmbFile file) { if (file != null) { fileCache.put(path, new WeakReference<>(file)); } } /** * Evict oldest leases based on LRU *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
docs/en/docs/reference/uploadfile.md
You can import it directly from `fastapi`: ```python from fastapi import UploadFile ``` ::: fastapi.UploadFile options: members: - file - filename - size - headers - content_type - read - write - seek
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 472 bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
private final ThreadLocal<File> fileThreadLocal = new ThreadLocal<>(); File createFile() throws IOException { File file = File.createTempFile("SinkSourceFile", "txt"); fileThreadLocal.set(file); return file; } File getFile() { return fileThreadLocal.get(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 17.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java
for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) { try { try { urls.add(new File(entry).toURI().toURL()); } catch (SecurityException e) { // File.toURI checks to see if the file is a directory urls.add(new URL("file", null, new File(entry).getAbsolutePath())); } } catch (MalformedURLException e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.3K bytes - Viewed (0) -
docs/resiliency/resiliency-tests.sh
induce_bitrot_for_xlmeta "1" "/data"$((DATA_DRIVE)) $FILE induce_bitrot_for_xlmeta "1" "/data"$((DATA_DRIVE + 1)) $FILE induce_bitrot_for_xlmeta "1" "/data"$((DATA_DRIVE + 2)) $FILE induce_bitrot_for_xlmeta "1" "/data"$((DATA_DRIVE + 3)) $FILE WANT='{ "before": { "color": "red", "missing": 0, "corrupted": 4 }, "after": { "color": "green", "missing": 0, "corrupted": 0 }, "args": {"file": "'${FILE}'", "dir": "'${DIR}'"} }'
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Dec 21 04:24:45 UTC 2024 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
static final int O_EXCL = 0x0020; // truncate if the file exists static final int O_TRUNC = 0x0040; // share access /** * When specified as the {@code shareAccess} constructor parameter, * other SMB clients (including other threads making calls into jCIFS) * will not be permitted to access the target file and will receive "The * file is being accessed by another process" message.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/storage/UploadForm.java
* with optional path specification for file organization. */ public class UploadForm { /** * The storage path where the file should be uploaded. * If not specified, the file will be stored in the default location. */ public String path; /** * The multipart file to be uploaded to the storage system. * This file will be stored in the specified path or default location.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java
} return null; } // GET /api/admin/storage/download/{id}/ /** * Downloads a file from storage. * @param id The ID of the file to download. * @return A StreamResponse containing the file content. */ @Execute public StreamResponse get$download(final String id) { final PathInfo pi = convertToItem(id);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.9K bytes - Viewed (0)