Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 63 for 0x12345678 (0.09 sec)

  1. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
    
            @Test
            @DisplayName("Test error code property")
            void testErrorCodeProperty() {
                testBlock.setErrorCode(0x12345678);
                assertEquals(0x12345678, testBlock.getErrorCode());
            }
    
            @Test
            @DisplayName("Test path property")
            void testPathProperty() {
                testBlock.setPath("\\new\\path");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

        /**
         * Verifies constructor initializes protocol fields and limits correctly.
         */
        @Test
        void testConstructorInitializesFields() {
            // Given
            int sid = 0x2222;
            int resumeKey = 0x12345678;
            String filename = "dir\\pattern*";
    
            // When
            Trans2FindNext2 next = new Trans2FindNext2(sid, resumeKey, filename);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            dnsDomainInfo.dns_forest.buffer = new short[] { 'f', 'o', 'r', 'e', 's', 't' };
    
            dnsDomainInfo.domain_guid = new rpc.uuid_t();
            dnsDomainInfo.domain_guid.time_low = 0x12345678;
            dnsDomainInfo.domain_guid.time_mid = 0x1234;
            dnsDomainInfo.domain_guid.time_hi_and_version = 0x5678;
            dnsDomainInfo.domain_guid.clock_seq_hi_and_reserved = 0x12;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

        }
    
        @Test
        @DisplayName("Test writeBytesWireFormat control code encoding")
        void testWriteBytesWireFormatControlCode() {
            setupMockConfig();
            int testControlCode = 0x12345678;
            Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, testControlCode, TEST_FILE_ID);
            byte[] buffer = new byte[1024];
    
            request.writeBytesWireFormat(buffer, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

        }
    
        @Test
        @DisplayName("Test parameter wire format structure")
        void testParameterWireFormatStructure() {
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0xABCD, 0x12345678);
            byte[] dst = new byte[100];
    
            int bytesWritten = querySecurityDesc.writeParametersWireFormat(dst, 10);
    
            // Verify structure:
            // Offset 0-1: FID (2 bytes)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

        }
    
        @Test
        @DisplayName("Test setFileIndex method")
        void testSetFileIndex() {
            request = new Smb2QueryDirectoryRequest(mockConfig);
            int fileIndex = 0x12345678;
    
            request.setFileIndex(fileIndex);
    
            // Verify by writing to buffer and checking the fileIndex position
            byte[] buffer = new byte[1024];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for ValidateNegotiateInfoRequest
     */
    class ValidateNegotiateInfoRequestTest {
    
        private static final int DEFAULT_CAPABILITIES = 0x12345678;
        private static final int DEFAULT_SECURITY_MODE = 0x0003;
        private byte[] defaultClientGuid;
        private int[] defaultDialects;
    
        @BeforeEach
        void setUp() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NameServicePacketTest.java

            assertEquals((byte) 0x12, dst[0]);
            assertEquals((byte) 0x34, dst[1]);
        }
    
        @Test
        void testWriteInt4() {
            byte[] dst = new byte[4];
            NameServicePacket.writeInt4(0x12345678, dst, 0);
            assertEquals((byte) 0x12, dst[0]);
            assertEquals((byte) 0x34, dst[1]);
            assertEquals((byte) 0x56, dst[2]);
            assertEquals((byte) 0x78, dst[3]);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        }
    
        @Test
        @DisplayName("writeInt4 should correctly write 32-bit integer")
        void testWriteInt4() {
            byte[] dst = new byte[8];
            SessionServicePacket.writeInt4(0x12345678, dst, 0);
    
            assertEquals((byte) 0x12, dst[0]);
            assertEquals((byte) 0x34, dst[1]);
            assertEquals((byte) 0x56, dst[2]);
            assertEquals((byte) 0x78, dst[3]);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            void testCompleteEncodingStructure() {
                // Given
                long sourceOffset = 0x1234567890ABCDEFL;
                long targetOffset = 0xFEDCBA0987654321L;
                int length = 0x12345678;
                SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length);
                byte[] buffer = new byte[EXPECTED_SIZE];
    
                // When
                int bytesWritten = chunk.encode(buffer, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top