Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for GENERIC_WRITE (0.06 sec)

  1. src/test/java/jcifs/ACETest.java

                assertTrue(ACE.GENERIC_WRITE > 0, "GENERIC_WRITE should be positive");
    
                // Test ordering (corrected for actual bit values)
                assertTrue(ACE.GENERIC_ALL < ACE.GENERIC_EXECUTE, "GENERIC_ALL should be less than GENERIC_EXECUTE");
                assertTrue(ACE.GENERIC_EXECUTE < ACE.GENERIC_WRITE, "GENERIC_EXECUTE should be less than GENERIC_WRITE");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

     */
    class SmbComOpenAndXTest {
    
        private SmbComOpenAndX smbComOpenAndX;
        private final String fileName = "testFile.txt";
        private final int access = SmbFile.GENERIC_READ | SmbFile.GENERIC_WRITE;
        private ServerMessageBlock andx;
    
        /**
         * Sets up the test environment before each test.
         */
        @BeforeEach
        void setUp() {
            andx = mock(ServerMessageBlock.class);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ACE.java

         */
        int GENERIC_ALL = 0x10000000; // 28
        /**
         * Generic execute permission
         */
        int GENERIC_EXECUTE = 0x20000000; // 29
        /**
         * Generic write permission
         */
        int GENERIC_WRITE = 0x40000000; // 30
        /**
         * Generic read permission
         */
        int GENERIC_READ = 0x80000000; // 31
    
        /**
         * Inheritance flag: child objects inherit this ACE
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Generic all access right */
        int GENERIC_ALL = 0x10000000; // 28
        /** Generic execute access right */
        int GENERIC_EXECUTE = 0x20000000; // 29
        /** Generic write access right */
        int GENERIC_WRITE = 0x40000000; // 30
        /** Generic read access right */
        int GENERIC_READ = 0x80000000; // 31
    
        // flags for move and copy
        /** Target must be file flag */
        int FLAGS_TARGET_MUST_BE_FILE = 0x0001;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(0x10000000, SmbConstants.GENERIC_ALL);
            assertEquals(0x20000000, SmbConstants.GENERIC_EXECUTE);
            assertEquals(0x40000000, SmbConstants.GENERIC_WRITE);
            assertEquals(0x80000000, SmbConstants.GENERIC_READ);
        }
    
        @Test
        @DisplayName("Should define share access constants")
        void testShareAccessConstants() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/ACE.java

        public static final int GENERIC_ALL = 0x10000000; // 28
        /** Generic execute permission */
        public static final int GENERIC_EXECUTE = 0x20000000; // 29
        /** Generic write permission */
        public static final int GENERIC_WRITE = 0x40000000; // 30
        /** Generic read permission */
        public static final int GENERIC_READ = 0x80000000; // 31
    
        /** Inheritance flag: child objects inherit this ACE */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dtyp/ACETest.java

                0x00080000, // WRITE_OWNER
                0x00100000, // SYNCHRONIZE
                0x10000000, // GENERIC_ALL
                0x20000000, // GENERIC_EXECUTE
                0x40000000, // GENERIC_WRITE
                0x80000000 // GENERIC_READ (as int will be negative)
        })
        void testVariousAccessMaskValues(int accessMask) {
            ace.access = accessMask;
            assertEquals(accessMask, ace.getAccessMask());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbConstants.java

        int GENERIC_ALL = 0x10000000; // 28
        /**
         * Generic execute permission.
         */
        int GENERIC_EXECUTE = 0x20000000; // 29
        /**
         * Generic write permission.
         */
        int GENERIC_WRITE = 0x40000000; // 30
        /**
         * Generic read permission.
         */
        int GENERIC_READ = 0x80000000; // 31
    
        // flags for move and copy
        /**
         * Target must be a file flag.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

            // Check for delete access separately as it may require special handling
            final boolean hasDeleteAccess = (access & DELETE) != 0;
            final boolean hasWriteAccess =
                    (access & (GENERIC_WRITE | FILE_WRITE_DATA | FILE_APPEND_DATA | FILE_WRITE_ATTRIBUTES | FILE_WRITE_EA)) != 0;
            final boolean hasReadAccess = (access & (GENERIC_READ | FILE_READ_DATA | FILE_READ_ATTRIBUTES | FILE_READ_EA)) != 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top