- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 84 for 0x12345678 (0.05 sec)
-
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
*/ @Test @DisplayName("Decode single AvPair with EOL") void testDecodeSinglePair() throws CIFSException { // Create test data: AvFlags with value 0x12345678 + EOL byte[] flagData = new byte[4]; SMBUtil.writeInt4(0x12345678, flagData, 0); byte[] avPairData = createAvPairData(AvPair.MsvAvFlags, flagData); byte[] eolData = createEolData();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
(byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, // 0xFFFFFFFF (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // 0x00000000 (byte) 0xEF, (byte) 0xCD, (byte) 0xAB, (byte) 0x89 // 0x89ABCDEF }; assertEquals(0x12345678, SMBUtil.readInt4(src, 0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
assertEquals(0x12, buffer[1] & 0xFF); } @Test @DisplayName("Should encode and decode 32-bit integers") void testInt32Operations() { // Given int value = 0x12345678; byte[] buffer = new byte[4]; // When - encode little endian Encdec.enc_uint32le(value, buffer, 0); long decoded = Encdec.dec_uint32le(buffer, 0); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
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) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
} @Test public void testReadInt() throws IOException { // Little-endian 0x12345678 -> 0x78 0x56 0x34 0x12 byte[] data = new byte[] { 0x78, 0x56, 0x34, 0x12 }; PacDataInputStream pdis = createInputStream(data); assertEquals(0x12345678, pdis.readInt()); } @Test public void testReadLong() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
byte[] buffer = new byte[] { 0x00, 0x00, // padding 0x78, 0x56, 0x34, 0x12, // little-endian 0x12345678 0x00, 0x00 // padding }; int readLen = response.readParameterWordsWireFormat(buffer, 2); assertEquals(0x12345678L, response.getOffset(), "Offset should match decoded value"); assertEquals(4, readLen, "Byte count returned should be 4"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
/** * Test setting and getting int fields */ @Test @DisplayName("Test int fields with various values") public void testIntFields() { // When serverData.sflags2 = 0x12345678; serverData.smaxMpxCount = 50; serverData.maxBufferSize = 65536; serverData.sessKey = 0xABCDEF01; serverData.scapabilities = 0x80000000; serverData.securityMode = 0x0F;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
*/ @Test void testConstructorWithError_unknownCode() { int errorCode = 0x12345678; // An arbitrary unknown error code DcerpcException exception = new DcerpcException(errorCode); assertEquals(errorCode, exception.getErrorCode(), "Error code should match the input."); assertEquals("0x12345678", exception.getMessage(), "Message should be hex string for unknown error code."); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
@DisplayName("Should encode UUID correctly") void testUuidTEncode() throws NdrException { // Given: A UUID with test values rpc.uuid_t uuid = new rpc.uuid_t(); uuid.time_low = 0x12345678; uuid.time_mid = (short) 0x9ABC; uuid.time_hi_and_version = (short) 0xDEF0; uuid.clock_seq_hi_and_reserved = (byte) 0x11; uuid.clock_seq_low = (byte) 0x22;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0)