- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 250 for 0x61 (0.05 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
} @Test @DisplayName("readParameterWordsWireFormat with a too-short buffer - throws exception") void testReadParameterWordsWithShortBuffer() { byte[] buffer = new byte[] { 0x00, 0x01, 0x02 }; // only three bytes assertThrows(ArrayIndexOutOfBoundsException.class, () -> response.readParameterWordsWireFormat(buffer, 0)); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
// Simulate address = 192.168.1.1 (0xC0A80101) src[srcIndex + 2] = (byte) 0xC0; src[srcIndex + 3] = (byte) 0xA8; src[srcIndex + 4] = (byte) 0x01; src[srcIndex + 5] = (byte) 0x01; // Set 'addrEntry' and 'addrIndex' fields in superclass for the response to be stored Field addrEntryField = NameServicePacket.class.getDeclaredField("addrEntry");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
void isValid_false_inVariousCases() { when(cfg.isTraceResourceUsage()).thenReturn(false); stubValidTree(10L, true, true); SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, new byte[] { 0x01 }, tree, "//x", 0, 0, 0, 0, 0L); assertTrue(h.isValid()); // Tree id change makes it invalid when(tree.getTreeId()).thenReturn(11L); assertFalse(h.isValid());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5); HMACT64 hmac = new HMACT64(TEST_KEY); hmac.engineUpdate((byte) 0x01); verify(mockMd5, times(1)).update((byte) 0x01); } } @Test void testEngineUpdateByteArray() throws NoSuchAlgorithmException { // Test engineUpdate(byte[] input, int offset, int len)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java
// Assert assertEquals(expectedFlags, queryPolicy.getFlags()); // Binary check for individual flags assertEquals(0x03, queryPolicy.getFlags()); // 0x01 | 0x02 = 0x03 } @Test void getOpnum_shouldReturnCorrectValue() { // Arrange short level = 1;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcConstants.java
*/ UUID DCERPC_UUID_SYNTAX_NDR = new UUID("8a885d04-1ceb-11c9-9fe8-08002b104860"); /** * First fragment flag - indicates first fragment of a multi-fragment message */ int DCERPC_FIRST_FRAG = 0x01; /* First fragment */ /** * Last fragment flag - indicates last fragment of a multi-fragment message */ int DCERPC_LAST_FRAG = 0x02; /* Last fragment */ /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
// Act pipe.customizeCreate(req, resp); // Assert: verify interactions with dependencies verify(req, times(1)).addFlags0(0x16); verify(resp, times(1)).setExtended(true); verify(resp, never()).setExtended(false); } @Test @DisplayName("openPipe returns a handle bound to this pipe")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
// relative to headerStart private static final int PRIMARY_SETUP_OFFSET = 61; private static final int SECONDARY_PARAMETER_OFFSET = 51; private static final int DISCONNECT_TID = 0x01; private static final int ONE_WAY_TRANSACTION = 0x02; private static final int PADDING_SIZE = 2; private final int flags = 0x00; private int fid; private int pad = 0; private int pad1 = 0;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
SMBUtil.writeInt8(500, buffer1, 48); SMBUtil.writeInt4(0x01, buffer1, 56); response.readBytesWireFormat(buffer1, 0); assertEquals(1, response.getCloseFlags()); assertEquals(1000, response.getAllocationSize()); assertEquals(500, response.getEndOfFile()); assertEquals(0x01, response.getFileAttributes()); // Second read with different values
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0)