Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 95 for 0x00000003 (0.04 seconds)

  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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  2. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java

                    // Known NT status code - NT_STATUS_UNSUCCESSFUL
                    Arguments.of(0xC0000001, "A device attached to the system is not functioning."),
                    Arguments.of(0x00000000, "NT_STATUS_SUCCESS"),
                    // An error that maps via DOS mapping
                    Arguments.of(0x00000002, SmbException.getMessageByCode(0x00000002)),
                    // Unknown code → hex string (uppercase)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

                System.arraycopy(buffer, tokenOffset, actualToken, 0, tokenSize);
                assertArrayEquals(token, actualToken);
            }
        }
    
        @ParameterizedTest
        @CsvSource({ "0x00, 0x00000000", "0x01, 0x00000001", "0x03, 0x0000000F", "0xFF, 0x7FFFFFFF" })
        @DisplayName("Should handle various security modes and capabilities")
        void testVariousSecurityModesAndCapabilities(String securityModeHex, String capabilitiesHex) throws Exception {
    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)
  5. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/NtStatus.java

        /** The requested operation is not implemented */
        int NT_STATUS_NOT_IMPLEMENTED = 0xC0000002;
        /** The specified information class is invalid */
        int NT_STATUS_INVALID_INFO_CLASS = 0xC0000003;
        /** Invalid access to memory location */
        int NT_STATUS_ACCESS_VIOLATION = 0xC0000005;
        /** The handle is invalid */
        int NT_STATUS_INVALID_HANDLE = 0xC0000008;
        /** The parameter is incorrect */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/dcerpc/DcerpcError.java

     */
    public interface DcerpcError {
    
        /**
         * Generic fault code for other errors
         */
        int DCERPC_FAULT_OTHER = 0x00000001;
        /**
         * Access denied fault code
         */
        int DCERPC_FAULT_ACCESS_DENIED = 0x00000005;
        /**
         * Cannot perform operation fault code
         */
        int DCERPC_FAULT_CANT_PERFORM = 0x000006D8;
        /**
         * NDR encoding error fault code
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcError.java

     */
    public interface DcerpcError {
    
        /**
         * Generic fault code for other errors
         */
        int DCERPC_FAULT_OTHER = 0x00000001;
        /**
         * Access denied fault code
         */
        int DCERPC_FAULT_ACCESS_DENIED = 0x00000005;
        /**
         * Cannot perform operation fault code
         */
        int DCERPC_FAULT_CANT_PERFORM = 0x000006D8;
        /**
         * NDR encoding error fault code
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/DosError.java

         */
        int[][] DOS_ERROR_CODES = { { 0x00000000, 0x00000000 }, { 0x00010001, 0xc0000002 }, { 0x00010002, 0xc0000002 },
                { 0x00020001, 0xc000000f }, { 0x00020002, 0xc000006a }, { 0x00030001, 0xc000003a }, { 0x00030002, 0xc00000cb },
                { 0x00040002, 0xc00000ca }, { 0x00050001, 0xc0000022 }, { 0x00050002, 0xc000000d }, { 0x00060001, 0xc0000008 },
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

        }
    
        @Test
        void testResourceStateConstants() {
            assertEquals(0x00000000, WitnessNotification.WITNESS_RESOURCE_STATE_UNKNOWN);
            assertEquals(0x00000001, WitnessNotification.WITNESS_RESOURCE_STATE_AVAILABLE);
            assertEquals(0x000000FF, WitnessNotification.WITNESS_RESOURCE_STATE_UNAVAILABLE);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top