- Sort Score
- Result 10 results
- Languages All
Results 21 - 28 of 28 for geoInfo (0.1 sec)
-
internal/disk/stat_linux_32bit.go
fsTypeHex := strconv.FormatInt(int64(ftype), 16) fsTypeString, ok := fsType2StringMap[fsTypeHex] if !ok { return "UNKNOWN" } return fsTypeString } // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, _ bool) (info Info, err error) { s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 2.6K bytes - Viewed (0) -
internal/disk/stat_windows.go
GetDiskFreeSpace = kernel32.NewProc("GetDiskFreeSpaceW") ) // GetInfo returns total and free bytes available in a directory, e.g. `C:\`. // It returns free space available to the user (including quota limitations) // // https://msdn.microsoft.com/en-us/library/windows/desktop/aa364937(v=vs.85).aspx func GetInfo(path string, _ bool) (info Info, err error) { // Stat to know if the path exists.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 4.1K bytes - Viewed (0) -
internal/disk/disk_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package disk_test import ( "testing" "github.com/minio/minio/internal/disk" ) func TestFree(t *testing.T) { di, err := disk.GetInfo(t.TempDir(), true) if err != nil { t.Fatal(err) } if di.FSType == "UNKNOWN" { t.Error("Unexpected FSType", di.FSType) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 31 22:20:48 UTC 2023 - 1.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java
} /** * @return the info */ public final FileInformation getInfo () { return this.info; } /** * * @param type * @return the info * @throws CIFSException */ @SuppressWarnings ( "unchecked" ) public <T extends FileInformation> T getInfo ( Class<T> type ) throws CIFSException { if ( !type.isAssignableFrom(this.info.getClass()) ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4K bytes - Viewed (0) -
internal/disk/stat_linux.go
"fmt" "io" "os" "path/filepath" "strconv" "strings" "syscall" "github.com/prometheus/procfs/blockdevice" "golang.org/x/sys/unix" ) // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, firstTime bool) (info Info, err error) { s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/util/Crypto.java
if (provider != null) { throw new CIFSUnsupportedCryptoException("Provider can't be re-initialized. Provider has already been initialized with "+ provider.getInfo()); } provider = customProvider; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Aug 17 17:34:29 UTC 2021 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
qreq); return resp.getInfo(clazz); } Trans2QueryFSInformationResponse response = new Trans2QueryFSInformationResponse(th.getConfig(), level); th.send(new Trans2QueryFSInformation(th.getConfig(), level), response); return response.getInfo(clazz); } @Override public void mkdir () throws SmbException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0) -
cmd/xl-storage.go
return s, nil } // getDiskInfo returns given disk information. func getDiskInfo(drivePath string) (di disk.Info, rootDrive bool, err error) { if err = checkPathLength(drivePath); err == nil { di, err = disk.GetInfo(drivePath, false) if !globalIsCICD && !globalIsErasureSD { if globalRootDiskThreshold > 0 { // Use MINIO_ROOTDISK_THRESHOLD_SIZE to figure out if // this disk is a root disk. treat those disks with
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0)