- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for FS_SIZE_INFO (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.9K bytes - Click Count (0) -
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (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 nullCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (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() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (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 9Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.8K bytes - Click Count (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 { @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
private AllocInfo fetchAllocationInfo(final SmbTreeHandleImpl th) throws CIFSException, SmbException { AllocInfo ai; try { ai = queryFSInformation(th, AllocInfo.class, FileSystemInformation.FS_SIZE_INFO); } catch (final SmbException ex) { log.debug("getDiskFreeSpace", ex); switch (ex.getNtStatus()) { case NtStatus.NT_STATUS_INVALID_INFO_CLASS:
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0)