- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for FileSystemInformation (0.12 sec)
-
src/main/java/jcifs/internal/fscc/FileSystemInformation.java
* used in query file system information operations, with constants for information levels. * * @author mbechler */ public interface FileSystemInformation extends Decodable { /** * SMB information allocation constant. */ byte SMB_INFO_ALLOCATION = -1; /** * File system size information constant. */
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/test/java/jcifs/internal/AllocInfoTest.java
@Test @DisplayName("Should implement FileSystemInformation interface") void shouldImplementFileSystemInformation() { // Verify that AllocInfo extends FileSystemInformation assertTrue(FileSystemInformation.class.isAssignableFrom(AllocInfo.class)); } @Test @DisplayName("Should implement Decodable interface through FileSystemInformation") void shouldImplementDecodableInterface() {
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
assertEquals((byte) -1, FileSystemInformation.SMB_INFO_ALLOCATION); assertEquals((byte) 3, FileSystemInformation.FS_SIZE_INFO); assertEquals((byte) 7, FileSystemInformation.FS_FULL_SIZE_INFO); } // Helper methods private void setInfoField(Trans2QueryFSInformationResponse response, FileSystemInformation info) { try {
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
trans2QueryFSInfo = new Trans2QueryFSInformation(mockConfig, FileSystemInformation.SMB_INFO_ALLOCATION); assertNotNull(trans2QueryFSInfo); } @Test @DisplayName("Test concurrent access") void testConcurrentAccess() throws InterruptedException { trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION); final int THREAD_COUNT = 10;
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) 7, FileSystemInformation.FS_FULL_SIZE_INFO); } @Test @DisplayName("Should have distinct constant values") void testConstantUniqueness() { assertNotEquals(FileSystemInformation.SMB_INFO_ALLOCATION, FileSystemInformation.FS_SIZE_INFO); assertNotEquals(FileSystemInformation.SMB_INFO_ALLOCATION, FileSystemInformation.FS_FULL_SIZE_INFO);
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/smb1/trans2/Trans2QueryFSInformation.java
} /** * @param il * @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
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/smb2/info/Smb2QueryInfoResponse.java
*/ private static Decodable createFilesystemInformation(final byte infoClass) throws SMBProtocolDecodingException { 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); }; }
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/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java
AllocInfo inf; switch (this.informationLevel) { case FileSystemInformation.SMB_INFO_ALLOCATION: inf = new SmbInfoAllocation(); break; case FileSystemInformation.FS_SIZE_INFO: inf = new FileFsSizeInformation(); break; case FileSystemInformation.FS_FULL_SIZE_INFO: inf = new FileFsFullSizeInformation(); break;
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/fscc/FileFsFullSizeInformation.java
* actual free allocation units, sectors per allocation unit, and bytes per sector. */ public class FileFsFullSizeInformation implements AllocInfo, FileSystemInformation, Decodable { private long alloc; // Also handles SmbQueryFSSizeInfo private long free; private int sectPerAlloc; private int bytesPerSect; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java
/** * Default constructor for decoding file system size information. */ public FileFsSizeInformation() { } /** * {@inheritDoc} * * @see jcifs.internal.fscc.FileSystemInformation#getFileSystemInformationClass() */ @Override public byte getFileSystemInformationClass() { return FS_SIZE_INFO; } @Override public long getCapacity() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0)