Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for FILE_ACTION_ADDED (0.14 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

            /**
             * File or directory attributes were changed
             */
            ATTRIBUTES_CHANGED
        }
    
        /**
         * SMB2 File Action constants
         */
        private static final int FILE_ACTION_ADDED = 0x00000001;
        private static final int FILE_ACTION_REMOVED = 0x00000002;
        private static final int FILE_ACTION_MODIFIED = 0x00000003;
        private static final int FILE_ACTION_RENAMED_OLD_NAME = 0x00000004;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/FileNotifyInformationTest.java

        @Nested
        @DisplayName("Action Constants Tests")
        class ActionConstantsTests {
    
            @Test
            @DisplayName("Verify FILE_ACTION_ADDED constant value")
            void testFileActionAdded() {
                assertEquals(0x00000001, FileNotifyInformation.FILE_ACTION_ADDED);
            }
    
            @Test
            @DisplayName("Verify FILE_ACTION_REMOVED constant value")
            void testFileActionRemoved() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            int notifyOffset = 80;
            SMBUtil.writeInt4(0, buffer, notifyOffset); // NextEntryOffset (0 = last entry)
            SMBUtil.writeInt4(1, buffer, notifyOffset + 4); // Action (FILE_ACTION_ADDED)
            // Write filename in Unicode
            String fileName = "test.txt";
            byte[] fileNameBytes = fileName.getBytes("UnicodeLittleUnmarked");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/FileNotifyInformation.java

         */
        int FILE_NOTIFY_CHANGE_STREAM_WRITE = 0x00000800;
    
        // actions returned
        /**
         * File has been added
         */
        int FILE_ACTION_ADDED = 0x00000001;
        /**
         * File has been removed
         */
        int FILE_ACTION_REMOVED = 0x00000002;
        /**
         * File has been modified
         */
        int FILE_ACTION_MODIFIED = 0x00000003;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            byte[] buffer = createValidNotificationBuffer("testfile.txt", FileNotifyInformation.FILE_ACTION_ADDED);
    
            FileNotifyInformationImpl info = new FileNotifyInformationImpl(buffer, 0, buffer.length);
    
            assertNotNull(info);
            assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, info.getAction());
            assertEquals("testfile.txt", info.getFileName());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

        void testReadParametersWireFormatSingleNotification() throws Exception {
            byte[] buffer = createSingleNotificationBuffer("test.txt", FileNotifyInformation.FILE_ACTION_ADDED);
    
            int result = response.readParametersWireFormat(buffer, 0, buffer.length);
    
            assertTrue(result > 0);
            List<FileNotifyInformation> notifications = response.getNotifyInformation();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/NotifyResponseTest.java

        }
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
    
            // Setup mock notify information
            when(mockNotifyInfo1.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_ADDED);
            when(mockNotifyInfo1.getFileName()).thenReturn("test1.txt");
    
            when(mockNotifyInfo2.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_MODIFIED);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/SmbWatchHandleTest.java

         */
        @Test
        void testFileNotifyInformationUsage() {
            // Setup mock behavior for FileNotifyInformation
            when(fileNotifyInfo1.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_ADDED);
            when(fileNotifyInfo1.getFileName()).thenReturn("newfile.txt");
    
            when(fileNotifyInfo2.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_MODIFIED);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (1)
  9. api/go1.txt

    pkg syscall (windows-386), const EUNATCH Errno
    pkg syscall (windows-386), const EWINDOWS Errno
    pkg syscall (windows-386), const EXFULL Errno
    pkg syscall (windows-386), const FILE_ACTION_ADDED ideal-int
    pkg syscall (windows-386), const FILE_ACTION_MODIFIED ideal-int
    pkg syscall (windows-386), const FILE_ACTION_REMOVED ideal-int
    pkg syscall (windows-386), const FILE_ACTION_RENAMED_NEW_NAME ideal-int
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
  10. api/go1.1.txt

    pkg syscall (windows-386), const EWOULDBLOCK = 536871039
    pkg syscall (windows-386), const EXDEV = 536871040
    pkg syscall (windows-386), const EXFULL = 536871041
    pkg syscall (windows-386), const FILE_ACTION_ADDED = 1
    pkg syscall (windows-386), const FILE_ACTION_MODIFIED = 3
    pkg syscall (windows-386), const FILE_ACTION_REMOVED = 2
    pkg syscall (windows-386), const FILE_ACTION_RENAMED_NEW_NAME = 5
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Click Count (0)
Back to Top