Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 178 for 0x12 (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            int namedPipeState = 0x03; // NP_NOWAIT | NP_READMODE_MESSAGE
            int readDataAvailable = 100;
            int numberOfMessages = 2;
            int messageLength = 50;
            byte[] testData = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
    
            // Write values to buffer
            SMBUtil.writeInt4(namedPipeState, buffer, bufferIndex);
            SMBUtil.writeInt4(readDataAvailable, buffer, bufferIndex + 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacSignatureTest.java

         * Test constructor with malformed data (too short).
         */
        @Test
        void testConstructorMalformedData() {
            // Prepare data (only 2 bytes, less than an int)
            byte[] data = new byte[] { 0x01, 0x02 };
    
            // Verify that PACDecodingException is thrown
            assertThrows(PACDecodingException.class, () -> {
                new PacSignature(data);
            });
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

        /**
         * Test constructor with raw bytes.
         */
        @Test
        void testAvFlagsByteArrayConstructor() {
            // Test with a positive integer
            byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian)
            AvFlags avFlags = new AvFlags(rawBytes);
            assertNotNull(avFlags, "AvFlags object should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            // 2 bytes for fileAttributes, 4 bytes for lastWriteTime, 4 bytes for fileSize
            byte[] buffer = new byte[20];
            // File Attributes: 0x0010 (Directory)
            buffer[0] = 0x10;
            buffer[1] = 0x00;
            // Last Write Time (UTime): A sample timestamp in milliseconds
            long sampleTimeMillis = 1672531200000L; // Represents a specific date in milliseconds
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

         */
        public static final int SMB2_WATCH_TREE = 0x1;
    
        /**
         * Notify when a file name changes
         */
        public static final int FILE_NOTIFY_CHANGE_FILE_NAME = 0x1;
        /**
         * Notify when a directory name changes
         */
        public static final int FILE_NOTIFY_CHANGE_DIR_NAME = 0x2;
        /**
         * Notify when file attributes change
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessNotification.java

            private final int flags;
    
            /** Flag indicating IPv4 address type */
            public static final int IPV4 = 0x01;
            /** Flag indicating IPv6 address type */
            public static final int IPV6 = 0x02;
    
            /**
             * Creates a new witness IP address.
             *
             * @param address the IP address
             */
            public WitnessIPAddress(InetAddress address) {
                this.address = address;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

        @Test
        @DisplayName("Test OWNER_SECURITY_INFO constant value")
        void testOwnerSecurityInfo() {
            assertEquals(0x1, SecurityInfo.OWNER_SECURITY_INFO);
        }
    
        @Test
        @DisplayName("Test GROUP_SECURITY_INFO constant value")
        void testGroupSecurityInfo() {
            assertEquals(0x2, SecurityInfo.GROUP_SECURITY_INFO);
        }
    
        @Test
        @DisplayName("Test DACL_SECURITY_INFO constant value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NbtException.java

        /** Session service error class */
        public static final int ERR_SSN_SRVC = 0x02;
    
        // name service error codes
        /** Format error in the name service */
        public static final int FMT_ERR = 0x1;
        /** Server error in the name service */
        public static final int SRV_ERR = 0x2;
        /** Implementation error in the name service */
        public static final int IMP_ERR = 0x4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

        }
    
        @Test
        void testConstructor() {
            // Test that the constructor properly initializes the object
            assertNotNull(response);
            // The command should be SMB_COM_TRANSACTION2 (0x32 = 50)
            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, response.getCommand());
            // The subcommand should be TRANS2_FIND_FIRST2 (0x01 = 1)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/HexdumpTest.java

            // When
            String result = Hexdump.toHexString(data, offset, length);
    
            // Then
            assertNotNull(result);
            assertFalse(result.isEmpty());
            // Check starts with byte at offset 16 (0x10)
            assertTrue(result.startsWith("10111213"));
            assertEquals(64, result.length()); // 32 bytes * 2 chars per byte
        }
    
        @Test
        @DisplayName("Should handle invalid offset and length parameters")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top