- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 141 for testfile (0.06 seconds)
-
src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java
final File tempFile = ComponentUtil.getSystemHelper().createTempFile("sereq_", ".json"); try (final InputStream in = response.getContentAsStream()) { CopyUtil.copy(in, tempFile); } catch (final Exception e1) { if (tempFile != null && tempFile.exists() && !tempFile.delete()) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
tempFile.getAbsolutePath()); } } catch (final IOException e) { logger.warn("Failed to upload backup file: fileName={}, error={}", fileName, e.getMessage(), e); if (tempFile.exists() && !tempFile.delete()) { logger.warn("Failed to delete temporary file: {}", tempFile.getAbsolutePath()); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Nov 24 02:07:40 GMT 2025 - 32.1K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
assertNull(info.getFile()); Object mockFile = new Object(); info.setFile(mockFile); assertEquals(mockFile, info.getFile()); } @Test public void testToString() { HandleInfo info = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.PERSISTENT, 0, testLeaseKey);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
RequestWithFileId queryInfoRequest = new Smb2QueryInfoRequest(mockConfig, testFileId); RequestWithFileId setInfoRequest = new Smb2SetInfoRequest(mockConfig, testFileId); RequestWithFileId queryDirRequest = new Smb2QueryDirectoryRequest(mockConfig, testFileId); RequestWithFileId readRequest = new Smb2ReadRequest(mockConfig, testFileId, testOutputBuffer, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
internal/config/certs.go
} return x509Certs, nil } // LoadX509KeyPair - load an X509 key pair (private key , certificate) // from the provided paths. The private key may be encrypted and is // decrypted using the ENV_VAR: MINIO_CERT_PASSWD. func LoadX509KeyPair(certFile, keyFile string) (tls.Certificate, error) { certPEMBlock, err := os.ReadFile(certFile) if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Aug 14 17:11:51 GMT 2024 - 3.8K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
tempFile = File.createTempFile("test", ".tmp", Curl.tmpDir); Files.write(tempFile.toPath(), "Hello, World!".getBytes()); assertTrue(tempFile.exists()); ContentCache cache = new ContentCache(tempFile); // Close should delete the file cache.close(); assertFalse(tempFile.exists()); } @Test
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 15.9K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileModelSourceTest.java
"Expected " + upperCaseFileSource + " to equal " + lowerCaseFileSource); } private File createTempFile(String name) throws IOException { File tempFile = File.createTempFile(name, ".xml"); tempFile.deleteOnExit(); return tempFile; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.6K bytes - Click Count (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()) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
Path tempFile = Files.createTempFile("test-thread-dump", ".txt"); try { ThreadDumpUtil.writeThreadDump(tempFile.toString()); // Verify the file was created and contains content assertTrue("Thread dump file should exist", Files.exists(tempFile)); assertTrue("Thread dump file should not be empty", Files.size(tempFile) > 0);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
src/archive/zip/testdata/dd.zip
filename This is a test textfile....
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Sep 08 04:08:51 GMT 2014 - 154 bytes - Click Count (0)