- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 200 for 0x14 (0.02 sec)
-
src/test/java/jcifs/ntlmssp/av/AvPairTest.java
class AvPairTest { @Test void testConstructorAndGetters() { // Test with a valid type and raw data int type = AvPair.MsvAvTimestamp; byte[] raw = new byte[] { 0x01, 0x02, 0x03, 0x04 }; AvPair avPair = new AvPair(type, raw); assertEquals(type, avPair.getType(), "Type should match the constructor argument.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
void testWriteInt2() { byte[] dst = new byte[4]; SessionServicePacket.writeInt2(0x1234, dst, 0); assertEquals((byte) 0x12, dst[0]); assertEquals((byte) 0x34, dst[1]); } @ParameterizedTest @ValueSource(ints = { 0, 1, 255, 256, 32767, 65535 }) @DisplayName("writeInt2 should handle various values") void testWriteInt2Various(int value) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
static final byte SMB_COM_CLOSE = (byte) 0x04; static final byte SMB_COM_DELETE = (byte) 0x06; static final byte SMB_COM_RENAME = (byte) 0x07; static final byte SMB_COM_QUERY_INFORMATION = (byte) 0x08; static final byte SMB_COM_WRITE = (byte) 0x0B; static final byte SMB_COM_CHECK_DIRECTORY = (byte) 0x10; static final byte SMB_COM_TRANSACTION = (byte) 0x25;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
// State 1: Generate Type 1 message context.initSecContext(new byte[0], 0, 0); // Create a mock Type 2 message (server challenge) byte[] serverChallenge = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; int type2Flags = NtlmFlags.NTLMSSP_NEGOTIATE_NTLM | NtlmFlags.NTLMSSP_REQUEST_TARGET | NtlmFlags.NTLMSSP_NEGOTIATE_KEY_EXCH | NtlmFlags.NTLMSSP_NEGOTIATE_SIGN;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
*/ public static final int SMB2_SHAREFLAG_AUTO_CACHING = 0x10; /** * Share flag indicating automatic caching of programs and documents. */ public static final int SMB2_SHAREFLAG_VDO_CACHING = 0x20; /** * Share flag indicating the share is in a DFS namespace. */ public static final int SMB2_SHAREFLAG_DFS = 0x1; /** * Share flag indicating the share is a DFS root. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
assertEquals(2, written, "writeParametersWireFormat should write exactly 2 bytes"); // Verify little-endian encoding (0x1234 -> 0x34 0x12) assertEquals((byte) 0x34, buf[0], "First byte should be low byte of level"); assertEquals((byte) 0x12, buf[1], "Second byte should be high byte of level"); } @Test @DisplayName("all read* methods return zero") void testReadMethodsReturnZero() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
bufferIndex++; server.security = server.securityMode & 0x01; server.encryptedPasswords = (server.securityMode & 0x02) == 0x02; server.signaturesEnabled = (server.securityMode & 0x04) == 0x04; server.signaturesRequired = (server.securityMode & 0x08) == 0x08; server.maxMpxCount = readInt2(buffer, bufferIndex); bufferIndex += 2; server.maxNumberVcs = readInt2(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
// Parameters: status (2 bytes), converter (2 bytes), numEntries (2 bytes), totalAvailableEntries (2 bytes) byte[] buffer = { 0x00, 0x00, // status = 0 (Success) 0x12, 0x34, // converter = 0x3412 0x02, 0x00, // numEntries = 2 0x05, 0x00 // totalAvailableEntries = 5 }; int bytesRead = response.readParametersWireFormat(buffer, 0, buffer.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
} @Test @DisplayName("addFlags0 combines flags correctly") void addFlags0() { SmbComNTCreateAndX req = createRequest(0, 0); req.addFlags0(0x10); int flags0 = (int) getPrivateField(req, "flags0"); assertTrue((flags0 & 0x10) != 0, "flag should be set after addFlags0"); // Calling again should combine rather than overwrite req.addFlags0(0x20);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.idl
[case(200)] DfsEnumArray200 *info200; [case(300)] DfsEnumArray300 *info300; } DfsEnumInfo; typedef struct { uint32_t level, [switch_is(level)] DfsEnumInfo e; } DfsEnumStruct; [op(0x15)] int NetrDfsEnumEx([in,string,unique] wchar_t dfs_name, [in] uint32_t level, [in] uint32_t prefmaxlen, [in,out,unique] DfsEnumStruct *info, [in,out,unique] uint32_t *totalentries);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.7K bytes - Viewed (0)