Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 169 for 0x18 (0.01 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            int len = cmd.writeParametersWireFormat(buffer, 0);
            assertTrue(len >= 2);
            // writeInt2 writes in little-endian format (LSB first)
            assertEquals(0xAB, buffer[0] & 0xFF);
            assertEquals(0x12, buffer[1] & 0xFF);
            // Check that the path is written after the referral level
            // The path should be written starting at index 2
            // writeString adds null terminator
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                SMBUtil.writeInt4(0x10, buffer, offset + 56);
    
                // When
                int bytesRead = response.readBytesWireFormat(buffer, offset);
    
                // Then
                assertEquals(60, bytesRead);
                assertEquals(8192, response.getAllocationSize());
                assertEquals(2048, response.getEndOfFile());
                assertEquals(0x10, response.getFileAttributes());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        }
    
        @Test
        @DisplayName("readSecurityBuffer correctly extracts data")
        void testReadSecurityBuffer() {
            byte[] buf = new byte[8 + 4];
            byte[] payload = { 0x11, 0x22, 0x33, 0x44 };
            NtlmMessage.writeSecurityBuffer(buf, 0, 8, payload);
            byte[] extracted = NtlmMessage.readSecurityBuffer(buf, 0);
            assertArrayEquals(payload, extracted, "Payload should match original");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

        /**
         * Notify when file size changes
         */
        public static final int FILE_NOTIFY_CHANGE_SIZE = 0x8;
        /**
         * Notify when last write time changes
         */
        public static final int FILE_NOTIFY_CHANGE_LAST_WRITE = 0x10;
        /**
         * Notify when last access time changes
         */
        public static final int FILE_NOTIFY_CHANGE_LAST_ACCESS = 0x20;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

        @Test
        @DisplayName("Test SACL_SECURITY_INFO constant value")
        void testSaclSecurityInfo() {
            assertEquals(0x8, SecurityInfo.SACL_SECURITY_INFO);
        }
    
        @Test
        @DisplayName("Test LABEL_SECURITY_INFO constant value")
        void testLabelSecurityInfo() {
            assertEquals(0x10, SecurityInfo.LABEL_SECURITY_INFO);
        }
    
        @Test
        @DisplayName("Test ATTRIBUTE_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/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            // Check FID (little-endian)
            assertEquals(0x34, dst[0] & 0xFF);
            assertEquals(0x12, dst[1] & 0xFF);
            // Check count
            assertEquals(10, dst[2] & 0xFF);
            assertEquals(0, dst[3] & 0xFF);
            // Check offset
            assertEquals(0x78, dst[4] & 0xFF);
            assertEquals(0x56, dst[5] & 0xFF);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            dnsDomainInfo.domain_guid.time_mid = 0x1234;
            dnsDomainInfo.domain_guid.time_hi_and_version = 0x5678;
            dnsDomainInfo.domain_guid.clock_seq_hi_and_reserved = 0x12;
            dnsDomainInfo.domain_guid.clock_seq_low = 0x34;
            dnsDomainInfo.domain_guid.node = new byte[] { 1, 2, 3, 4, 5, 6 };
    
            dnsDomainInfo.sid = new rpc.sid_t();
            dnsDomainInfo.sid.revision = 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

         */
        public static final byte SMB2_INDEX_SPECIFIED = 0x4;
    
        /**
         * Flag to reopen the directory enumeration.
         */
        public static final byte SMB2_REOPEN = 0x10;
    
        private byte fileInformationClass = FILE_BOTH_DIRECTORY_INFO;
        private byte queryFlags;
        private int fileIndex;
        private byte[] fileId;
        private final int outputBufferLength;
        private String fileName;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top