- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 76 for 01234567 (0.03 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: 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/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/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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K 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) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
*/ static java.util.stream.Stream<Arguments> int32Provider() { return java.util.stream.Stream.of(Arguments.of(0x00000000, new byte[] { 0x00, 0x00, 0x00, 0x00 }), Arguments.of(0x12345678, new byte[] { 0x78, 0x56, 0x34, 0x12 }), Arguments.of(0xFFFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt
@file:Suppress("ktlint:standard:filename") package okhttp3.internal.url import java.nio.charset.Charset import okhttp3.internal.parseHexDigit import okio.Buffer internal val HEX_DIGITS = charArrayOf('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F') internal const val USERNAME_ENCODE_SET = " \"':;<=>@[]^`{}|/\\?#" internal const val PASSWORD_ENCODE_SET = " \"':;<=>@[]^`{}|/\\?#"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
*/ @Test void lockRangeEncodeDecodeRoundTrip() throws Exception { LockingAndXRange range = new LockingAndXRange(false); setField(range, "pid", 99); setField(range, "byteOffset", 123456L); setField(range, "lengthInBytes", 654321L); byte[] dst = new byte[20]; int writtenSize = range.encode(dst, 0); assertEquals(10, writtenSize, "Range size when not large should be 10");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
} @Test @DisplayName("getPipe, getPipeType, getUncPath delegate to underlying pipe") void testBasicAccessors() { when(pipe.getPipeType()).thenReturn(0x123456); assertSame(pipe, target.getPipe()); assertEquals(0x123456, target.getPipeType()); assertEquals("\\\\pipe\\\\my-pipe", target.getUncPath()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K 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 session
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0)