- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for mapInformationLevel (0.68 sec)
-
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java
return 2; } @Override protected int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(mapInformationLevel(this.informationLevel), dst, dstIndex); dstIndex += 2; /* * windows98 has what appears to be another 4 0's followed by the share * name as a zero terminated ascii string "\TMP" + '\0'
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java
return 2; } @Override protected int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(mapInformationLevel(this.informationLevel), dst, dstIndex); dstIndex += 2; dst[dstIndex] = (byte) 0x00; dstIndex++; dst[dstIndex++] = (byte) 0x00; dst[dstIndex++] = (byte) 0x00;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
// Test valid information levels assertEquals(0x0101, Trans2QueryPathInformation.mapInformationLevel(FileInformation.FILE_BASIC_INFO)); assertEquals(0x0102, Trans2QueryPathInformation.mapInformationLevel(FileInformation.FILE_STANDARD_INFO)); assertEquals(0x0104, Trans2QueryPathInformation.mapInformationLevel(FileInformation.FILE_ENDOFFILE_INFO)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
} @Test @DisplayName("Test constructor with invalid information level") void testConstructorWithInvalidInformationLevel() { // The exception is thrown during writeParametersWireFormat when mapInformationLevel is called Trans2QueryFSInformation trans2 = new Trans2QueryFSInformation(config, 99); assertNotNull(trans2); // Exception should be thrown when trying to write parameters
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/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java
final int start = dstIndex; SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(Trans2QueryPathInformation.mapInformationLevel(this.info.getFileInformationLevel()), dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(0, dst, dstIndex); dstIndex += 2; return dstIndex - start; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0)