- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for informationLevel (0.23 sec)
-
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java
super(config); this.informationLevel = informationLevel; this.setCommand(SMB_COM_TRANSACTION2); this.setSubCommand(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION); } /** * Gets the information level that was queried. * * @return the informationLevel */ public int getInformationLevel() { return this.informationLevel; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java
} @Override public String toString() { return ("Trans2FindNext2[" + super.toString() + ",sid=" + this.sid + ",searchCount=" + getConfig().getListSize() + ",informationLevel=0x" + Hexdump.toHexString(this.informationLevel, 3) + ",resumeKey=0x" + Hexdump.toHexString(this.resumeKey, 4) + ",flags=0x" + Hexdump.toHexString(this.tflags, 2) + ",filename=" + this.filename + "]"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java
+ bytesPerSect + "]"); } } private final int informationLevel; AllocInfo info; Trans2QueryFSInformationResponse(final int informationLevel) { this.informationLevel = informationLevel; command = SMB_COM_TRANSACTION2; subCommand = SmbComTransaction.TRANS2_QUERY_FS_INFORMATION; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
// ensure information level is stored using reflection Field informationLevelField = Trans2QueryFSInformation.class.getDeclaredField("informationLevel"); informationLevelField.setAccessible(true); assertEquals(level, informationLevelField.getInt(cmd), "informationLevel should be persisted"); } @Test @DisplayName("writeSetupWireFormat writes the subCommand and a trailing 0")
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/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
trans2FindNext2.writeParametersWireFormat(buffer, 0); // Information level should be SMB_FILE_BOTH_DIRECTORY_INFO (0x104) int informationLevel = SMBUtil.readInt2(buffer, 4); assertEquals(Trans2FindFirst2.SMB_FILE_BOTH_DIRECTORY_INFO, informationLevel); } @Test void testZeroValues() { // Test with zero values for numeric parameters
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
// Use reflection to verify the information level Field infoLevel = Trans2QueryPathInformationResponse.class.getDeclaredField("informationLevel"); infoLevel.setAccessible(true); assertEquals(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_BASIC_INFO, infoLevel.getInt(resp)); // Verify subCommand is set correctly
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/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
FileSystemInformation.FS_FULL_SIZE_INFO }) void testConstructorWithDifferentInformationLevels(int informationLevel) { // Test constructor with different information levels response = new Trans2QueryFSInformationResponse(config, informationLevel); assertNotNull(response); assertEquals(informationLevel, response.getInformationLevel());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
int n = next.writeParametersWireFormat(buf, 0); assertEquals(buf.length, n, "Parameter bytes written should match expected length"); // informationLevel LE at offset 4..5 assertEquals((byte) 0x04, buf[4]); assertEquals((byte) 0x01, buf[5]); } /** * Ensures writeSetupWireFormat writes subcommand and trailing zero, returning 2. */
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/smb1/trans2/Trans2QueryFSInformationTest.java
String result = trans2QueryFSInfo.toString(); assertNotNull(result); assertTrue(result.contains("Trans2QueryFSInformation")); assertTrue(result.contains("informationLevel=0x")); // SMB_INFO_ALLOCATION is -1, which should be displayed properly assertTrue(result.contains("fff") || result.contains("FFF")); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
assertTrue(result.contains("searchAttributes=0x16")); assertTrue(result.contains("searchCount=50")); assertTrue(result.contains("flags=0x00")); assertTrue(result.contains("informationLevel=0x104")); assertTrue(result.contains("searchStorageType=0")); assertTrue(result.contains("filename=\\test\\path\\")); } @Test @DisplayName("Test constants values")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0)