Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for filenames (3.44 sec)

  1. src/test/java/jcifs/internal/NotifyResponseTest.java

            assertEquals(FileNotifyInformation.FILE_ACTION_RENAMED_OLD_NAME, result.get(3).getAction());
            assertEquals(FileNotifyInformation.FILE_ACTION_RENAMED_NEW_NAME, result.get(4).getAction());
    
            // Verify all filenames are preserved
            assertEquals("added.txt", result.get(0).getFileName());
            assertEquals("removed.txt", result.get(1).getFileName());
            assertEquals("modified.txt", result.get(2).getFileName());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbWatchHandleTest.java

                    // Do nothing
                }
    
                private FileNotifyInformation createMockNotification(String filename) {
                    FileNotifyInformation info = mock(FileNotifyInformation.class);
                    when(info.getFileName()).thenReturn(filename);
                    when(info.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_ADDED);
                    return info;
                }
            };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (1)
  3. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Notify of modify action flag */
        int FLAGS_NOTIFY_OF_MODIFY_ACTION = 0x40;
        /** Response flag */
        int FLAGS_RESPONSE = 0x80;
    
        /** No flags2 set */
        int FLAGS2_NONE = 0x0000;
        /** Long filenames supported flag */
        int FLAGS2_LONG_FILENAMES = 0x0001;
        /** Extended attributes supported flag */
        int FLAGS2_EXTENDED_ATTRIBUTES = 0x0002;
        /** Security signatures supported flag */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            // Calculate offsets (must be 4-byte aligned)
            String fileName1 = "file1.txt";
            String fileName2 = "file2.txt";
            String fileName3 = "file3.txt";
    
            byte[] fileNameBytes1 = fileName1.getBytes("UTF-16LE");
            byte[] fileNameBytes2 = fileName2.getBytes("UTF-16LE");
            byte[] fileNameBytes3 = fileName3.getBytes("UTF-16LE");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            String fileName = form.designFileName;
            if (StringUtil.isBlank(fileName)) {
                fileName = uploadedFileName;
                try {
                    int pos = fileName.indexOf('/');
                    if (pos >= 0) {
                        fileName = fileName.substring(pos + 1);
                    }
                    pos = fileName.indexOf('\\');
                    if (pos >= 0) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/FileNotifyInformationTest.java

            })
            @DisplayName("Test getFileName with various file names")
            void testGetFileNameWithVariousValues(String fileName) {
                when(mockFileNotifyInfo.getFileName()).thenReturn(fileName);
                assertEquals(fileName, mockFileNotifyInfo.getFileName());
            }
    
            @Test
            @DisplayName("Test getFileName with null value")
            void testGetFileNameWithNull() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 32.1K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

            this.mimeType = mimeType;
            return this;
        }
    
        /**
         * Sets the filename of the content to extract.
         *
         * @param filename the filename to set
         * @return this builder instance for method chaining
         */
        public ExtractorBuilder filename(final String filename) {
            this.filename = filename;
            return this;
        }
    
        /**
         * Sets the name of the extractor to use.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

        void testFilenameHandling(String filename) {
            // Test various filename formats
            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, filename, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
            byte[] buffer = new byte[1024];
            int written = trans2FindNext2.writeParametersWireFormat(buffer, 0);
    
            // Verify filename is written and can be read back
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top