Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 87 for 0x12345678 (0.06 sec)

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

            return Stream.of(org.junit.jupiter.params.provider.Arguments.of(0x0001, 0x00000000),
                    org.junit.jupiter.params.provider.Arguments.of(0xFFFF, 0x12345678),
                    org.junit.jupiter.params.provider.Arguments.of(-1, -123456));
        }
    
        @ParameterizedTest
        @MethodSource("validInputs")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            @DisplayName("Should encode basic lock structure correctly")
            void testBasicEncoding() {
                long offset = 0x1234567890ABCDEFL;
                long length = 0xFEDCBA0987654321L;
                int flags = 0x12345678;
    
                lock = new Smb2Lock(offset, length, flags);
                int encoded = lock.encode(buffer, 0);
    
                assertEquals(24, encoded);
    
                // Verify offset (8 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

        }
    
        @Test
        @DisplayName("Test readParametersWireFormat reads length correctly")
        void testReadParametersWireFormat() throws Exception {
            byte[] buffer = new byte[100];
            int expectedLength = 0x12345678;
    
            // Write length in little-endian format
            SMBUtil.writeInt4(expectedLength, buffer, 0);
    
            int result = response.readParametersWireFormat(buffer, 0, buffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top