- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 139 for 012345 (0.03 sec)
-
src/test/java/jcifs/netbios/NameTest.java
Name sourceName = new Name(mockConfig, "SourceName", 0x1C, "source.scope"); sourceName.srcHashCode = 12345; Name name = new Name(mockConfig, sourceName); assertEquals("SOURCENAME", name.name); assertEquals(0x1C, name.hexCode); assertEquals("source.scope", name.scope); assertEquals(12345, name.srcHashCode); } @Test void getName_shouldReturnName() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
b[off + 1] = 0x34; return 2; }).when(raf).read(any(byte[].class), anyInt(), eq(2)); assertEquals(0x1234, raf.readUnsignedShort()); assertEquals((short) 0x1234, raf.readShort()); assertEquals((char) 0x1234, raf.readChar()); } @Test @DisplayName("readInt/Long/Float/Double: big-endian decoding") void read_multiByteVariants() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
@DisplayName("Should return tree ID") void testGetTid() { // Given when(mockResponse.getTid()).thenReturn(12345); // When int tid = mockResponse.getTid(); // Then assertEquals(12345, tid, "Should return the configured tree ID"); verify(mockResponse).getTid(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/GeneralRangeTest.java
Ordering.<Integer>natural().<Integer>nullsFirst(); private static final List<@Nullable Integer> IN_ORDER_VALUES = unmodifiableList(Arrays.<@Nullable Integer>asList(null, 1, 2, 3, 4, 5)); public void testCreateEmptyRangeFails() { for (BoundType lboundType : BoundType.values()) { for (BoundType uboundType : BoundType.values()) { assertThrows(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
void testPrepareWithoutReceivedDoesNotPropagate() { Smb2SessionSetupResponse resp = newResponse(); // Set a sessionId, but do not mark as received via decode resp.setSessionId(0x1234L); CIFSContext mockCtx = mock(CIFSContext.class); when(mockCtx.getConfig()).thenReturn(mock(Configuration.class));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
ndrBuffer.enc_ndr_short(0x1234); assertEquals(4, ndrBuffer.getIndex()); // Aligned from 1 to 2, then advanced by 2 assertEquals(4, ndrBuffer.getLength()); assertEquals((byte) 0x34, buffer[2]); assertEquals((byte) 0x12, buffer[3]); ndrBuffer.setIndex(2); val = ndrBuffer.dec_ndr_short(); assertEquals(0x1234, val); assertEquals(4, ndrBuffer.getIndex());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
// This sentence just isn't base64() encoded. assertFailsToDecode(base64(), "let's not talk of love or chains!"); // A 4n+1 length string is never legal base64(). assertFailsToDecode(base64(), "12345", "Invalid input length 5"); // These have a combination of invalid length, unrecognized characters and wrong padding. assertFailsToDecode(base64(), "AB=C", "Unrecognized character: =");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
when(resp.getErrorCode()).thenReturn(0); when(resp.getNotifyInformation()).thenReturn(info); setupSmb2(resp, new byte[16]); SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0x1234, true); List<FileNotifyInformation> result = sut.watch(); assertSame(info, result, "Should return response notify information");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
DummyPlainSMB next = new DummyPlainSMB(); DummyAndXBlock block = new DummyAndXBlock(next); block.customBatchLimit = 2; // batchLevel (0) < limit (2) so chaining allowed block.uid = 0x1234; block.useUnicode = true; byte[] buf = new byte[256]; int n = block.writeAndXWireFormat(buf, 0); assertTrue(n > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0)