- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for FS_SIZE_INFO (0.05 sec)
-
src/test/java/jcifs/internal/AllocInfoTest.java
void shouldReturnCorrectFileSystemInformationClass() { // Test with default FS_SIZE_INFO TestAllocInfo defaultInfo = new TestAllocInfo(1000L, 500L); assertEquals(FileSystemInformation.FS_SIZE_INFO, defaultInfo.getFileSystemInformationClass()); // Test with SMB_INFO_ALLOCATION
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
} @Test void testGetInformationLevel() { // Test getInformationLevel method response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.FS_SIZE_INFO); assertEquals(FileSystemInformation.FS_SIZE_INFO, response.getInformationLevel()); } @Test void testGetInfo() { // Test getInfo method when info is null
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/internal/smb1/trans2/Trans2QueryFSInformationTest.java
} @Test @DisplayName("Test constructor with FS_SIZE_INFO") void testConstructorWithFsSizeInfo() { // Create instance with FS_SIZE_INFO trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.FS_SIZE_INFO); // Verify initialization assertNotNull(trans2QueryFSInfo);
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/fscc/FileSystemInformationTest.java
assertEquals((byte) -1, FileSystemInformation.SMB_INFO_ALLOCATION); } @Test @DisplayName("Should have correct FS_SIZE_INFO constant value") void testFsSizeInfoConstant() { assertEquals((byte) 3, FileSystemInformation.FS_SIZE_INFO); } @Test @DisplayName("Should have correct FS_FULL_SIZE_INFO constant value") void testFsFullSizeInfoConstant() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java
/** * {@inheritDoc} * * @see jcifs.internal.fscc.FileSystemInformation#getFileSystemInformationClass() */ @Override public byte getFileSystemInformationClass() { return FS_SIZE_INFO; } @Override public long getCapacity() { return this.alloc * this.sectPerAlloc * this.bytesPerSect; } @Override public long getFree() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java
* @return */ private static int mapInformationLevel(final int il) { switch (il) { case FileSystemInformation.SMB_INFO_ALLOCATION: return 0x1; case FileSystemInformation.FS_SIZE_INFO: return 0x103; } throw new IllegalArgumentException("Unhandled information level"); } @Override protected int writeDataWireFormat(final byte[] dst, final int dstIndex) {
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/fscc/FileSystemInformation.java
/** * SMB information allocation constant. */ byte SMB_INFO_ALLOCATION = -1; /** * File system size information constant. */ byte FS_SIZE_INFO = 3; /** * File system full size information constant. */ byte FS_FULL_SIZE_INFO = 7; /** * Gets the file system information class. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
return switch (infoClass) { case FileSystemInformation.FS_FULL_SIZE_INFO -> new FileFsFullSizeInformation(); case FileSystemInformation.FS_SIZE_INFO -> new FileFsSizeInformation(); default -> throw new SMBProtocolDecodingException("Unknown filesystem info class " + infoClass); }; } /** * @param infoClass * @return
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
} @Test @DisplayName("Should return correct file system information class") void shouldReturnCorrectFileSystemInformationClass() { assertEquals(FileSystemInformation.FS_SIZE_INFO, fileFsSizeInfo.getFileSystemInformationClass()); } } @Nested @DisplayName("Decode Method Tests") class DecodeMethodTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
} @Test @DisplayName("Test readBytesWireFormat with FILESYSTEM info type - FS_SIZE_INFO") void testReadBytesWireFormatFilesystemSizeInfo() throws Exception { response = new Smb2QueryInfoResponse(mockConfig, Smb2Constants.SMB2_0_INFO_FILESYSTEM, FileSystemInformation.FS_SIZE_INFO); byte[] buffer = new byte[1024]; int bufferIndex = 0; // Set structure size to 9
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0)