- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 66 for 0x1234567 (0.06 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
} @Test @DisplayName("Test setAdditionalInformation method") void testSetAdditionalInformation() { request = new Smb2SetInfoRequest(mockConfig); int testAdditionalInfo = 0x12345678; request.setAdditionalInformation(testAdditionalInfo); // Verify additional information was set Field additionalInfoField; try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
when(mockNegotiate.getNegotiatedSendBufferSize()).thenReturn(65535); when(mockNegotiate.getNegotiatedMpxCount()).thenReturn(65535); when(mockNegotiate.getNegotiatedSessionKey()).thenReturn(0x12345678); } /** Simple test stub of {@link ServerData} */ private static class ServerDataStub extends ServerData { public ServerDataStub() { this.security = SmbConstants.SECURITY_USER;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
assertEquals(0x1234, ServerMessageBlock.readInt2(buffer, 0)); } @Test void testInt4ReadWrite() { byte[] buffer = new byte[4]; ServerMessageBlock.writeInt4(0x12345678, buffer, 0); assertEquals(0x12345678, ServerMessageBlock.readInt4(buffer, 0)); } @Test void testInt8ReadWrite() { byte[] buffer = new byte[8]; long value = 0x123456789ABCDEF0L;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
serverData.encryptedPasswords = true; serverData.encryptionKey = new byte[8]; // Configure mock transport mockTransport.server = serverData; mockTransport.sessionKey = 0x12345678; mockTransport.capabilities = SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS; mockTransport.snd_buf_size = 16644; mockTransport.maxMpxCount = 50; // Configure mock sessionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
response.getServerData().maxNumberVcs = 1; response.getServerData().maxBufferSize = 16384; response.getServerData().maxRawSize = 4096; response.getServerData().sessKey = 0x12345678; response.getServerData().scapabilities = SmbConstants.CAP_UNICODE; response.getServerData().serverTime = new Date().getTime(); response.getServerData().serverTimeZone = -300;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
testRotate(new byte[] {0, 1, 2, 3, 4, 5, 6}, -1, 1, 6, new byte[] {0, 2, 3, 4, 5, 1, 6}); testRotate(new byte[] {0, 1, 2, 3, 4, 5, 6}, 0, 1, 6, new byte[] {0, 1, 2, 3, 4, 5, 6}); testRotate(new byte[] {0, 1, 2, 3, 4, 5, 6}, 5, 1, 6, new byte[] {0, 1, 2, 3, 4, 5, 6}); testRotate(new byte[] {0, 1, 2, 3, 4, 5, 6}, 14, 1, 6, new byte[] {0, 2, 3, 4, 5, 1, 6}); // Rotate the first three elements
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
} @Test @DisplayName("Test setAdditionalInformation method") void testSetAdditionalInformation() { request = new Smb2QueryInfoRequest(mockConfig); int testAdditionalInfo = 0x12345678; request.setAdditionalInformation(testAdditionalInfo); // Verify additional information was set Field additionalInfoField; try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0)