Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for 0xde (0.05 sec)

  1. src/test/java/jcifs/util/EncdecTest.java

            Encdec.enc_uint64le(value, buffer, 0);
            long decoded = Encdec.dec_uint64le(buffer, 0);
    
            // Then
            assertEquals(value, decoded);
            assertEquals(0xF0, buffer[0] & 0xFF);
            assertEquals(0xDE, buffer[1] & 0xFF);
            assertEquals(0xBC, buffer[2] & 0xFF);
            assertEquals(0x9A, buffer[3] & 0xFF);
        }
    
        @Test
        @DisplayName("Should handle big endian encoding/decoding")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                // dst[start + ANDX_OFFSET_OFFSET] = (byte)0x00;
                // dst[start + ANDX_OFFSET_OFFSET + 1] = (byte)0x00;
                dst[start + ANDX_OFFSET_OFFSET] = (byte) 0xde;
                dst[start + ANDX_OFFSET_OFFSET + 1] = (byte) 0xde;
    
                // andx not used; return
                return dstIndex - start;
            }
    
            /*
             * The message provided to batch has a batchLimit that is
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            assertEquals(0x12345678, pdis.readInt());
        }
    
        @Test
        public void testReadLong() throws IOException {
            // Little-endian 0x123456789ABCDEF0 -> 0xF0 0xDE 0xBC 0x9A 0x78 0x56 0x34 0x12
            byte[] data = new byte[] { (byte) 0xF0, (byte) 0xDE, (byte) 0xBC, (byte) 0x9A, 0x78, 0x56, 0x34, 0x12 };
            PacDataInputStream pdis = createInputStream(data);
            assertEquals(0x123456789ABCDEF0L, pdis.readLong());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                //            dst[start + ANDX_OFFSET_OFFSET] = (byte)0x00;
                //            dst[start + ANDX_OFFSET_OFFSET + 1] = (byte)0x00;
                dst[start + ANDX_OFFSET_OFFSET] = (byte) 0xde;
                dst[start + ANDX_OFFSET_OFFSET + 1] = (byte) 0xde;
    
                // andx not used; return
                return dstIndex - start;
            }
    
            /* The message provided to batch has a batchLimit that is
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertEquals((byte) 0xFF, buf[1], "AndX command should be 0xFF when no chaining");
            assertEquals((byte) 0x00, buf[2], "Reserved byte must be 0");
            assertEquals((byte) 0xDE, buf[3], "Sentinel low offset when no chaining");
            assertEquals((byte) 0xDE, buf[4], "Sentinel high offset when no chaining");
            assertNull(block.andx, "andx should be cleared when not chaining");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertEquals(0x89ABCDEF, SMBUtil.readInt4(src, 12));
        }
    
        @Test
        void testReadInt8() {
            byte[] src = new byte[] {
                    // 0x123456789ABCDEF0L
                    (byte) 0xF0, (byte) 0xDE, (byte) 0xBC, (byte) 0x9A, (byte) 0x78, (byte) 0x56, (byte) 0x34, (byte) 0x12,
                    // 0xFFFFFFFFFFFFFFFFL
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2_test.go

    0x69, 0x7a, 0x65, 0xd1, 0x1, 0x0, 0xa5, 0x4d, 0x54, 0x69, 0x6d, 0x65, 0xd3, 0x16, 0xb2, 0x7f, 0xfe, 0x3e, 0x43, 0xf2, 0xf8, 0xa7, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x79, 0x73, 0x81, 0xbc, 0x78, 0x2d, 0x6d, 0x69, 0x6e, 0x69, 0x6f, 0x2d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2d, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x2d, 0x64, 0x61, 0x74, 0x61, 0xc4, 0x4, 0x74, 0x72, 0x75, 0x65, 0xa7, 0x4d, 0x65, 0x74, 0x61, 0x55, 0x73, 0x72, 0x82, 0xac, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74,...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SecurityBlobTest.java

        @Test
        @DisplayName("Constructor stores and exposes same array reference")
        void constructor_and_get_referenceSemantics() {
            // Arrange
            byte[] data = new byte[] { (byte) 0xDE, (byte) 0xAD, (byte) 0xBE, (byte) 0xEF };
    
            // Act
            SecurityBlob blob = new SecurityBlob(data);
    
            // Assert
            assertSame(data, blob.get(), "get() should expose the same array reference passed in");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals(4, ndrBuffer.getLength());
            assertEquals((byte) 0xEF, buffer[0]); // Little-endian
            assertEquals((byte) 0xBE, buffer[1]);
            assertEquals((byte) 0xAD, buffer[2]);
            assertEquals((byte) 0xDE, buffer[3]);
    
            ndrBuffer.setIndex(0);
            int val = ndrBuffer.dec_ndr_long();
            assertEquals(0xDEADBEEF, val);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacMacTest.java

            // 64-fold("Rough Consensus, and Running Code")
            verifyNfold("Rough Consensus, and Running Code", 8,
                    new byte[] { (byte) 0xbb, (byte) 0x6e, (byte) 0xd3, (byte) 0x08, (byte) 0x70, (byte) 0xb7, (byte) 0xf0, (byte) 0xe0 });
    
            // 64-fold("kerberos")
            verifyNfold("kerberos", 8,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top