Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 0x12345678 (0.04 sec)

  1. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

        public void testContextWithFlags() {
            CompressionNegotiateContext contextWithFlags =
                    new CompressionNegotiateContext(config, new int[] { CompressionNegotiateContext.COMPRESSION_LZ77 }, 0x12345678);
    
            assertEquals(0x12345678, contextWithFlags.getFlags());
        }
    
        @Test
        @DisplayName("Test toString representation")
        public void testToString() {
            String str = context.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

        void testReadBytesWireFormatReserved2Field() throws Exception {
            // Given
            byte[] buffer = new byte[256];
            int bodyStart = 0;
            int dataOffsetFromHeader = 80;
            int reserved2Value = 0x12345678;
    
            // Write structure
            SMBUtil.writeInt2(17, buffer, bodyStart);
            buffer[bodyStart + 2] = (byte) dataOffsetFromHeader;
            SMBUtil.writeInt4(10, buffer, bodyStart + 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top