- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for f_ (0.15 sec)
-
internal/disk/stat_openbsd.go
if err != nil { return Info{}, err } reservedBlocks := uint64(s.F_bfree) - uint64(s.F_bavail) info = Info{ Total: uint64(s.F_bsize) * (uint64(s.F_blocks) - reservedBlocks), Free: uint64(s.F_bsize) * uint64(s.F_bavail), Files: uint64(s.F_files), Ffree: uint64(s.F_ffree), FSType: getFSType(s.F_fstypename[:]), } if info.Free > info.Total {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 1.8K bytes - Viewed (0) -
internal/disk/directio_unix.go
} // DisableDirectIO - disables directio mode. func DisableDirectIO(f *os.File) error { fd := f.Fd() flag, err := unix.FcntlInt(fd, unix.F_GETFL, 0) if err != nil { return err } flag &= ^(syscall.O_DIRECT) _, err = unix.FcntlInt(fd, unix.F_SETFL, flag) return err } // AlignedBlock - pass through to directio implementation. func AlignedBlock(blockSize int) []byte {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Jun 17 14:31:36 GMT 2023 - 1.6K bytes - Viewed (0) -
cmd/os_unix.go
package cmd import ( "bytes" "fmt" "os" "strings" "sync" "syscall" "unsafe" "golang.org/x/sys/unix" ) func access(name string) error { if err := unix.Access(name, unix.F_OK); err != nil { return &os.PathError{Op: "lstat", Path: name, Err: err} } return nil } // openFileWithFD return 'fd' based file descriptor
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.3K bytes - Viewed (0) -
internal/lock/lock_solaris.go
var lockType int16 switch flag { case syscall.O_RDONLY: lockType = syscall.F_RDLCK case syscall.O_WRONLY: fallthrough case syscall.O_RDWR: fallthrough case syscall.O_WRONLY | syscall.O_CREAT: fallthrough case syscall.O_RDWR | syscall.O_CREAT: lockType = syscall.F_WRLCK default: return nil, &os.PathError{ Op: "open", Path: path, Err: syscall.EINVAL, }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 2.8K bytes - Viewed (0) -
cmd/rebalance-admin.go
} if !ps.Participating { continue } // for participating pools, total bytes to be rebalanced by this pool is given by, // pf_c = (f_i + x)/c_i, // pf_c - percentage free space across pools, f_i - ith pool's free space, c_i - ith pool's capacity // i.e. x = c_i*pfc -f_i totalBytesToRebal := float64(ps.InitCapacity)*meta.PercentFreeGoal - float64(ps.InitFreeSpace) elapsed := time.Since(ps.Info.StartTime)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Dec 22 00:56:43 GMT 2023 - 3.8K bytes - Viewed (0) -
internal/disk/directio_darwin.go
return directio.OpenFile(filePath, flag, perm) } // DisableDirectIO - disables directio mode. func DisableDirectIO(f *os.File) error { fd := f.Fd() _, err := unix.FcntlInt(fd, unix.F_NOCACHE, 0) return err } // AlignedBlock - pass through to directio implementation. func AlignedBlock(blockSize int) []byte { return directio.AlignedBlock(blockSize)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Jun 17 14:31:36 GMT 2023 - 1.4K bytes - Viewed (0) -
cmd/testdata/xl-meta-merge.zip
K² QZ ]evBqd ÂЫ+M¼7=òŽq\EñêAsTXKoÜæA]ing<ã>U„µŸ‡M{kXiTûn~CªDoQn¾¼}ßgd¨ãu„BpE¦?il ‰ ~[wln :ey2þå_e_sò&PyTE„Vñ7jº²)aïª1>kMV¨ßÏûTIª i~ ¢ lI÷¦r²Hgåb§,¿NsGF EÁûle7ßûz_c›oRûOxx7-w§ò4ñpªS]\K<û `{Ö 9Ng#, ;V¢y _xéæBpe >[oDŒw{Y óbD\[TÛ>Âkch.² ï^¾evÎniyqBåi`¼F_ÄqT{tm~Gª¼sñi¾˜~V|xs »•u]X–që·rywI¿ëkZai# wl{È«rKPïroJON_™}ûzew v\grm~G¬dÀ£ &ÚñÆrykAªÃ¯ 1 Õ¬tiN¾{ML^ñPBuv¢hkòAAãMEI2öΈ ¨ˆµzKph{~ñ`u¢ qò }J 1ÖW†ãTï¦xs}^²IU_ÜEJ²v Ö¢sã\T[ªve~mlñXuGpÜŒ}jFºeî· _c\]a¦’¾ uT@ã_X¼êõCÜíöÏõ çÿÅØ ùu èÏö÷ÏÃÒÛÐéÌtñæ\Egn<foûgin{...
ZIP Archive - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 08 17:50:48 GMT 2024 - 30.2K bytes - Viewed (0)