- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 167 for tmpfiles (0.18 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.cc
#include <stdio.h> #include <fstream> #include <string> #include <utility> TempFile::TempFile(const std::string& temp_file_name, std::ios::openmode mode) : std::fstream(temp_file_name, mode), name_(temp_file_name) {} TempFile::TempFile(TempFile&& rhs) : std::fstream(std::move(rhs)), name_(std::move(rhs.name_)) {} TempFile::~TempFile() { std::fstream::close(); std::remove(name_.c_str()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 26 14:56:58 UTC 2020 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/file-temp/src/test/groovy/org/gradle/api/internal/file/temp/TempFilesTest.groovy
@TempDir File tempDir; def "can generate temp files for short prefixes"() { when: def file = TempFiles.createTempFile("ok", "", tempDir) then: file.exists() } def "can generate temp files for no prefix"() { when: def file = TempFiles.createTempFile(null, null, tempDir) then: file.exists() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:50:17 UTC 2023 - 1.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java
} public static File createResponseBodyFile(final ResponseData responseData) { File tempFile = null; FileOutputStream fos = null; try (final InputStream is = responseData.getResponseBody()) { tempFile = File.createTempFile("crawler-", ".tmp"); fos = new FileOutputStream(tempFile); CopyUtil.copy(is, fos); } catch (final Exception e) {
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/internal/tasks/testing/detection/ForkedTestClasspathFactoryTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 14.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java
final StringBuilder buf = new StringBuilder(1000); File tempFile = null; LhaFile lhaFile = null; try { tempFile = File.createTempFile("crawler-", ".lzh"); try (FileOutputStream fos = new FileOutputStream(tempFile)) { CopyUtil.copy(in, fos); } lhaFile = new LhaFile(tempFile); @SuppressWarnings("unchecked")
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
} final File tempFile; final boolean isByteStream = inputStream instanceof ByteArrayInputStream; if (isByteStream) { inputStream.mark(0); tempFile = null; } else { try { tempFile = File.createTempFile("tikaExtractor-", ".out"); } catch (final IOException e) {
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 24K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
case 1: importSystemProperties(fileName, tempFile); break; case 2: importGsaXml(fileName, tempFile); break; case 3: importBulk(fileName, tempFile); break; case 4: importFessJson(fileName, tempFile); break; case 5:
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 25.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java
final File tempFile = ComponentUtil.getSystemHelper().createTempFile("tmp-adminplugin-", ".jar"); try (final InputStream is = form.jarFile.getInputStream(); final OutputStream os = new FileOutputStream(tempFile)) { CopyUtil.copy(is, os); } catch (final Exception e) { if (tempFile.exists() && !tempFile.delete()) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/core-runtime/file-temp/src/main/java/org/gradle/api/internal/file/temp/DefaultTemporaryFileProvider.java
} @Override public File createTemporaryFile(String prefix, @Nullable String suffix, String... path) { File dir = newTemporaryFile(path); forceMkdir(dir); try { return TempFiles.createTempFile(prefix, suffix, dir); } catch (IOException e) { throw new UncheckedIOException(e); } } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 19 21:16:13 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/local/internal/DefaultBuildCacheTempFileStore.java
} @Override public void withTempFile(HashCode key, Consumer<? super File> action) { File tempFile = temporaryFileFactory.createTemporaryFile(key + "-", PARTIAL_FILE_SUFFIX); try { action.accept(tempFile); } finally { FileUtils.deleteQuietly(tempFile); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 07 14:32:44 UTC 2024 - 1.4K bytes - Viewed (0)