Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 136 for testfile (0.04 sec)

  1. 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()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. docs/recipes.md

              for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) {
                System.out.println(entry.getKey());
                System.out.println(entry.getValue().content);
              }
            }
          }
    
          static class Gist {
            Map<String, GistFile> files;
          }
    
          static class GistFile {
            String content;
          }
        ```
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  3. 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());
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 32.1K bytes
    - Viewed (0)
  4. 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
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. 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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. 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);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/archive/zip/testdata/dd.zip

    filename This is a test textfile....
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 154 bytes
    - Viewed (0)
  8. 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;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. 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 = createTempFile("crawler-", ".lzh", null);
                try (FileOutputStream fos = new FileOutputStream(tempFile)) {
                    CopyUtil.copy(in, fos);
                }
    
                lhaFile = new LhaFile(tempFile);
                @SuppressWarnings("unchecked")
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java

            File tempFile = File.createTempFile("test_non_temp", ".txt");
            try {
                Files.write(tempFile.toPath(), "content".getBytes(StandardCharsets.UTF_8));
    
                data.setResponseBody(tempFile, false);
    
                // Close should not delete non-temporary file
                data.close();
    
                assertTrue(tempFile.exists());
            } finally {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top