- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 114 for 0x00FF (0.46 sec)
-
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndXResponse.java
package jcifs.smb1.smb1; import java.io.UnsupportedEncodingException; class SmbComTreeConnectAndXResponse extends AndXServerMessageBlock { private static final int SMB_SUPPORT_SEARCH_BITS = 0x0001; private static final int SMB_SHARE_IS_IN_DFS = 0x0002; boolean supportSearchBits, shareIsInDfs; String service, nativeFileSystem = ""; SmbComTreeConnectAndXResponse(final ServerMessageBlock andx) { super(andx); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
// Testing invalid protocol ID during decode instead byte[] invalidBuffer = new byte[52]; // Write invalid protocol ID invalidBuffer[0] = 0x00; invalidBuffer[1] = 0x00; invalidBuffer[2] = 0x00; invalidBuffer[3] = 0x00; assertThrows(IllegalArgumentException.class, () -> { Smb2TransformHeader.decode(invalidBuffer, 0); }); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2Constants.java
/** * SMB2 negotiate flag indicating signing is enabled */ public static final int SMB2_NEGOTIATE_SIGNING_ENABLED = 0x0001; /** * SMB2 negotiate flag indicating signing is required */ public static final int SMB2_NEGOTIATE_SIGNING_REQUIRED = 0x0002; /** * SMB 2.0.2 dialect (Windows Vista/Server 2008) */ public static final int SMB2_DIALECT_0202 = 0x0202; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
void testFlagsNameListReferralConstant() { assertEquals(0x0002, Trans2GetDfsReferralResponse.FLAGS_NAME_LIST_REFERRAL); } @Test @DisplayName("Should have correct FLAGS_TARGET_SET_BOUNDARY value") void testFlagsTargetSetBoundaryConstant() { assertEquals(0x0004, Trans2GetDfsReferralResponse.FLAGS_TARGET_SET_BOUNDARY); } @Test
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/smb1/smb1/SmbComNegotiateResponseTest.java
byte[] encryptionKey = "12345678".getBytes(); ByteBuffer buffer = ByteBuffer.allocate(response.byteCount); buffer.put(encryptionKey); buffer.put(domainNameBytes); buffer.putShort((short) 0x0000); // Null terminator byte[] byteData = buffer.array(); // Call the method int bytesRead = response.readBytesWireFormat(byteData, 0); // Assertions
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
byte[] buffer = new byte[512]; request.setNotifyFlags(0x0001); request.setCompletionFilter(0x000000FF); // When int written = request.writeBytesWireFormat(buffer, offset); // Then assertEquals(32, written); assertEquals(32, SMBUtil.readInt2(buffer, offset)); assertEquals(0x0001, SMBUtil.readInt2(buffer, offset + 2));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/netdfs.java
*/ public static final int DFS_STORAGE_STATE_OFFLINE = 0x0001; /** * DFS storage state indicating online status */ public static final int DFS_STORAGE_STATE_ONLINE = 0x0002; /** * DFS storage state indicating active status */ public static final int DFS_STORAGE_STATE_ACTIVE = 0x0004; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 21.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java
/** * Indicates that the referral contains a name list. */ public static final int FLAGS_NAME_LIST_REFERRAL = 0x0002; /** * Indicates a target set boundary in the referral response. */ public static final int FLAGS_TARGET_SET_BOUNDARY = 0x0004; /** * Indicates root targets in the DFS referral. */ public static final int TYPE_ROOT_TARGETS = 0x0; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java
*/ public static final int DFS_STORAGE_STATE_OFFLINE = 0x0001; /** * DFS storage state indicating online status */ public static final int DFS_STORAGE_STATE_ONLINE = 0x0002; /** * DFS storage state indicating active status */ public static final int DFS_STORAGE_STATE_ACTIVE = 0x0004; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
assertEquals((byte) 0xCD, dst[7]); assertEquals((byte) 0xAB, dst[8]); assertEquals((byte) 0x89, dst[9]); // flags (2 bytes, LE) -> 0x0000 assertEquals((byte) 0x00, dst[10]); assertEquals((byte) 0x00, dst[11]); // filename bytes, then null terminator byte[] nameBytes = name.getBytes(); for (int i = 0; i < nameBytes.length; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0)