- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for getDiskFreeSpace (0.08 seconds)
-
internal/disk/stat_windows.go
GetDiskFreeSpaceEx = kernel32.NewProc("GetDiskFreeSpaceExW") // GetDiskFreeSpace - https://msdn.microsoft.com/en-us/library/windows/desktop/aa364935(v=vs.85).aspx // Retrieves information about the specified disk, including the amount of free space on the disk. GetDiskFreeSpace = kernel32.NewProc("GetDiskFreeSpaceW") ) // GetInfo returns total and free bytes available in a directory, e.g. `C:\`.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 4.1K bytes - Click Count (0) -
src/main/java/jcifs/SmbResource.java
* * @return the free disk space in bytes of the drive on which this file or * directory resides * @throws CIFSException if an error occurs accessing the resource */ long getDiskFreeSpace() throws CIFSException; /** * Returns the length of this <code>SmbResource</code> in bytes. If this object * is a <code>TYPE_SHARE</code> the total capacity of the disk shared inCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 28K bytes - Click Count (1) -
src/main/java/jcifs/smb/SmbFile.java
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) -
src/test/java/jcifs/SmbResourceTest.java
when(mockResource.length()).thenReturn(expectedLength); when(mockResource.getDiskFreeSpace()).thenReturn(expectedFreeSpace); // When long length = mockResource.length(); long freeSpace = mockResource.getDiskFreeSpace(); // Then assertEquals(expectedLength, length, "Should return correct file length");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* @return the free disk space in bytes of the drive on which this file or * directory resides * @throws SmbException if an error occurs while retrieving disk space information */ public long getDiskFreeSpace() throws SmbException { if (getType() == TYPE_SHARE || type == TYPE_FILESYSTEM) { int level = Trans2QueryFSInformationResponse.SMB_FS_FULL_SIZE_INFORMATION; try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0)