Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 89 for 0x00000002 (0.57 sec)

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

        }
    
        @Test
        @DisplayName("Test haveCapability with multiple capability flags")
        void testHaveCapabilityMultipleFlags() {
            // Arrange
            int cap1 = 0x00000001;
            int cap2 = 0x00000002;
            int cap3 = 0x00000004;
            when(negotiationResponse.haveCapabilitiy(cap1)).thenReturn(true);
            when(negotiationResponse.haveCapabilitiy(cap2)).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

         */
    
        static final int FILE_OVERWRITE_IF = 0x5;
    
        // create options
        static final int FILE_WRITE_THROUGH = 0x00000002;
        static final int FILE_SEQUENTIAL_ONLY = 0x00000004;
        static final int FILE_SYNCHRONOUS_IO_ALERT = 0x00000010;
        static final int FILE_SYNCHRONOUS_IO_NONALERT = 0x00000020;
    
        // security flags
        static final int SECURITY_CONTEXT_TRACKING = 0x01;
        static final int SECURITY_EFFECTIVE_ONLY = 0x02;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dtyp/ACE.java

     * </pre>
     *
     * the access check would fail because the direct ACE has an access mask
     * of <code>0x001200A9</code> which doesn't have the
     * <code>FILE_WRITE_DATA</code> bit on (bit <code>0x00000002</code>). Actually, this isn't quite correct. If
     * <code>WNET\alice</code> is in the local <code>Administrators</code> group the access check
     * will succeed because the inherited ACE allows local <code>Administrators</code>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            int[] attributes = { 0x00000001, // FILE_ATTRIBUTE_READONLY
                    0x00000002, // FILE_ATTRIBUTE_HIDDEN
                    0x00000004, // FILE_ATTRIBUTE_SYSTEM
                    0x00000010, // FILE_ATTRIBUTE_DIRECTORY
                    0x00000020, // FILE_ATTRIBUTE_ARCHIVE
                    0x00000080, // FILE_ATTRIBUTE_NORMAL
                    0x00000100, // FILE_ATTRIBUTE_TEMPORARY
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

        private static final int OWNER_SECURITY_INFORMATION = 0x00000001;
        private static final int GROUP_SECURITY_INFORMATION = 0x00000002;
        private static final int DACL_SECURITY_INFORMATION = 0x00000004;
        private static final int SACL_SECURITY_INFORMATION = 0x00000008;
        private static final int ALL_SECURITY_INFORMATION = 0x0000000F;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

            assertThrows(IllegalArgumentException.class, () -> {
                HandleType.fromValue(99);
            });
        }
    
        @Test
        public void testHandleCapabilities() {
            assertEquals(0x00000002, Smb2HandleCapabilities.SMB2_DHANDLE_FLAG_PERSISTENT);
            assertEquals(120000, Smb2HandleCapabilities.DEFAULT_DURABLE_TIMEOUT);
            assertEquals(300000, Smb2HandleCapabilities.MAX_DURABLE_TIMEOUT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Write DAC access right */
        int WRITE_DAC = 0x00040000; // 18
        /** Write owner access right */
        int WRITE_OWNER = 0x00080000; // 19
        /** Synchronize access right */
        int SYNCHRONIZE = 0x00100000; // 20
        /** Generic all access right */
        int GENERIC_ALL = 0x10000000; // 28
        /** Generic execute access right */
        int GENERIC_EXECUTE = 0x20000000; // 29
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

         */
    
        static final int FILE_OVERWRITE_IF = 0x5;
    
        // create options
        static final int FILE_WRITE_THROUGH = 0x00000002;
        static final int FILE_SEQUENTIAL_ONLY = 0x00000004;
        static final int FILE_SYNCHRONOUS_IO_ALERT = 0x00000010;
        static final int FILE_SYNCHRONOUS_IO_NONALERT = 0x00000020;
    
        // security flags
        static final int SECURITY_CONTEXT_TRACKING = 0x01;
        static final int SECURITY_EFFECTIVE_ONLY = 0x02;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

            assertEquals(SmbFile.TYPE_SHARE, otherShare.getType());
    
            // Test with hidden flag (0x80000000) which should be ignored by getType()
            SmbShareInfo hiddenPrinter = new SmbShareInfo("HIDDEN_PRINTER", 1 | 0x80000000, "hidden printer");
            assertEquals(SmbFile.TYPE_PRINTER, hiddenPrinter.getType());
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

        /** Status indicating successful negotiation */
        public static final int STATUS_SUCCESS = 0x00000000;
        /** Status indicating SMB Direct is not supported */
        public static final int STATUS_NOT_SUPPORTED = 0x00000001;
        /** Status indicating insufficient resources for SMB Direct */
        public static final int STATUS_INSUFFICIENT_RESOURCES = 0x00000002;
    
        // Message fields
        private int minVersion;
        private int maxVersion;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top