- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for 0b1011 (2 sec)
-
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
// Test getting individual flags message.setFlags(0b1010); // Set flags: 8 (0x8) and 2 (0x2) assertTrue(message.getFlag(0b1000), "Flag 0b1000 should be set."); assertTrue(message.getFlag(0b0010), "Flag 0b0010 should be set."); assertFalse(message.getFlag(0b0100), "Flag 0b0100 should not be set."); assertFalse(message.getFlag(0b0001), "Flag 0b0001 should not be set."); message.setFlags(0); // No flags set
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
void testConstructorWithConfigOnly() { request = new Smb2SetInfoRequest(mockConfig); assertNotNull(request); // SMB2_SET_INFO command value is 0x0011 assertEquals((short) 0x0011, request.getCommand()); // Verify that default file ID is set byte[] expectedFileId = Smb2Constants.UNSPECIFIED_FILEID; Field fileIdField; try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
SMBUtil.writeInt4(0x11111111, buffer1, 0); SMBUtil.writeInt2(0x1111, buffer1, 20); SMBUtil.writeInt2(0x0210, buffer1, 22); response.decode(buffer1, 0, 24); assertEquals(0x11111111, response.getCapabilities(), "First decode capabilities"); assertEquals(0x1111, response.getSecurityMode(), "First decode security mode");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
/** * Ensures writeSetupWireFormat writes subcommand and trailing zero, returning 2. */ @Test void testWriteSetupWireFormat() { // Given Trans2FindNext2 next = new Trans2FindNext2(0x1111, 0, "*"); byte[] dst = new byte[2]; // When int written = next.writeSetupWireFormat(dst, 0); // Then assertEquals(2, written, "Should write 2 bytes");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
// Credit charge SMBUtil.writeInt2(1, buffer, bufferIndex + 6); // Status SMBUtil.writeInt4(0, buffer, bufferIndex + 8); // Command - SMB2_SET_INFO (0x0011) SMBUtil.writeInt2(0x0011, buffer, bufferIndex + 12); // Credits SMBUtil.writeInt2(1, buffer, bufferIndex + 14); // Flags SMBUtil.writeInt4(1, buffer, bufferIndex + 16); // SMB2_FLAGS_SERVER_TO_REDIR
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
} @Test @DisplayName("Test multiple instances independence") void testMultipleInstancesIndependence() { NtTransNotifyChange notify1 = new NtTransNotifyChange(mockConfig, 0x1111, FILE_NOTIFY_CHANGE_FILE_NAME, false); NtTransNotifyChange notify2 = new NtTransNotifyChange(mockConfig, 0x2222, FILE_NOTIFY_CHANGE_DIR_NAME, true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
// information levels static final int SMB_INFO_STANDARD = 1; static final int SMB_INFO_QUERY_EA_SIZE = 2; static final int SMB_INFO_QUERY_EAS_FROM_LIST = 3; static final int SMB_FIND_FILE_DIRECTORY_INFO = 0x101; static final int SMB_FIND_FILE_FULL_DIRECTORY_INFO = 0x102; static final int SMB_FILE_NAMES_INFO = 0x103; static final int SMB_FILE_BOTH_DIRECTORY_INFO = 0x104; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
String result = trans.toString(); // Then assertTrue(result.startsWith("Trans2QueryPathInformation["), "String should start with the class name."); assertTrue(result.contains("informationLevel=0x101"), "String should contain the correct information level."); assertTrue(result.contains("filename=test.txt"), "String should contain the correct filename.");
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/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java
import java.util.Date; import jcifs.smb1.util.Hexdump; class Trans2QueryPathInformationResponse extends SmbComTransactionResponse { // information levels static final int SMB_QUERY_FILE_BASIC_INFO = 0x101; static final int SMB_QUERY_FILE_STANDARD_INFO = 0x102; class SmbQueryFileBasicInfo implements Info { long createTime; long lastAccessTime; long lastWriteTime; long changeTime;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java
// information levels static final int SMB_INFO_STANDARD = 1; static final int SMB_INFO_QUERY_EA_SIZE = 2; static final int SMB_INFO_QUERY_EAS_FROM_LIST = 3; static final int SMB_FIND_FILE_DIRECTORY_INFO = 0x101; static final int SMB_FIND_FILE_FULL_DIRECTORY_INFO = 0x102; static final int SMB_FILE_NAMES_INFO = 0x103; static final int SMB_FILE_BOTH_DIRECTORY_INFO = 0x104; private int sid;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0)