- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 100 for FileName (0.21 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/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/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/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) -
src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java
/** * Constructs a query information request. * * @param config the configuration * @param filename the file name to query */ public SmbComQueryInformation(final Configuration config, final String filename) { super(config, SMB_COM_QUERY_INFORMATION, filename); } @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PythonJobTest.java
ComponentUtil.setFessConfig(null); super.tearDown(); } // Test filename setter public void test_filename() { assertNull(pythonJob.filename); PythonJob result = pythonJob.filename("test.py"); assertSame(pythonJob, result); assertEquals("test.py", pythonJob.filename); } // Test single argument addition public void test_arg() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
super(config, SMB_COM_TRANSACTION2, TRANS2_FIND_FIRST2); if (filename.equals("\\") || (filename.charAt(filename.length() - 1) == '\\')) { this.path = filename; } else { this.path = filename + "\\"; } this.wildcard = wildcard; this.searchAttributes = searchAttributes & 0x37; /* generally ignored tho */ this.tflags = 0x00;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java
private final int tflags; private String filename; private final long maxItems; /** * Constructs a Trans2FindNext2 request for continuing a file search. * * @param config the configuration to use * @param sid the search ID from a previous FindFirst2 response * @param resumeKey the resume key for continuing the search * @param filename the last filename from the previous response
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
private byte[] createValidBufferNonUnicode(String filename, String shortName) { return createValidBuffer(filename, shortName, false); } private byte[] createValidBufferWithNullTermination(String filename, String shortName, boolean unicode) { // Create buffer with extra space for null termination int filenameLength = unicode ? (filename.length() * 2) + 2 : filename.length() + 1;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0)