- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 236 for FileName (0.04 sec)
-
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
assertEquals(fileName, decodedName); // Verify bytes written assertEquals(20 + nameLength, bytesWritten); } @Test @DisplayName("Test encode with replaceIfExists false") void testEncodeWithReplaceIfExistsFalse() { String fileName = "newfile.txt"; FileRenameInformation2 info = new FileRenameInformation2(fileName, false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
final int fileType; if (fileName.startsWith("system") && fileName.endsWith(".properties")) { fileType = 1; } else if (fileName.startsWith("gsa") && fileName.endsWith(".xml")) { fileType = 2; } else if (fileName.endsWith(".bulk")) { fileType = 3; } else if (fileName.startsWith("fess") && fileName.endsWith(".json")) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 29.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
File file = new File(dir, filename); String contents = FileUtils.fileRead(file, encoding); assertEquals(contentsTest, contents); } public File createFile(File dir, String filename, String contents, String encoding) throws IOException { File file = new File(dir, filename); file.getParentFile().mkdirs();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
*/ @Test void testWriteBytesWireFormat_NoUnicode() { smbComOpenAndX = new SmbComOpenAndX(fileName, access, 0, andx); smbComOpenAndX.useUnicode = false; byte[] dst = new byte[fileName.length() + 1]; int result = smbComOpenAndX.writeBytesWireFormat(dst, 0); assertEquals(fileName.length() + 1, result); } /** * Test readParameterWordsWireFormat method. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java
if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) { final Path path = Paths.get(logFilePath, filename); return asStream(filename).contentTypeOctetStream().stream(out -> { try (InputStream in = Files.newInputStream(path)) { out.write(in); } }); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
String docid = "1234567890abcdef"; // Call the String version directly String filename = thumbnailManager.getImageFilename(docid); assertNotNull(filename); assertTrue(filename.endsWith(".png")); assertTrue(filename.contains("/")); assertTrue(filename.contains(docid)); } // Test getImageFilename with custom settings
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
void testWriteParametersWireFormat() { // Given String filename = "a\\test\\path.txt"; int informationLevel = 0x0102; Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel); // Expected size: 2 (info level) + 4 (reserved) + filename length + 1 (null terminator) byte[] dst = new byte[2 + 4 + filename.length() + 1]; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.3K bytes - Viewed (0) -
cmd/admin-bucket-handlers.go
continue } bucket, fileName := slc[0], slc[1] if fileName == objectLockConfig { reader, err := file.Open() if err != nil { rpt.SetStatus(bucket, fileName, err) continue } config, err := objectlock.ParseObjectLockConfig(reader) if err != nil { rpt.SetStatus(bucket, fileName, fmt.Errorf("%s (%s)", errorCodes[ErrMalformedXML].Description, err))
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 33.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java
super(config, SMB2_CLOSE); this.fileId = fileId; this.fileName = fileName; } /** * Constructs a close request with file ID only * * @param config * The configuration to use * @param fileId * The file ID to close */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0)