- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 135 for sysctl (0.09 sec)
-
internal/disk/stat_freebsd.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package disk import ( "errors" "fmt" "syscall" ) // 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 } reservedBlocks := s.Bfree - uint64(s.Bavail) info = Info{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.7K bytes - Viewed (0) -
api/go1.11.txt
pkg syscall (openbsd-386), const SOCK_NONBLOCK = 16384 pkg syscall (openbsd-386), const SOCK_NONBLOCK ideal-int pkg syscall (openbsd-386), const SYS_ACCEPT4 = 93 pkg syscall (openbsd-386), const SYS_ACCEPT4 ideal-int pkg syscall (openbsd-386), const SYS_PIPE2 = 101 pkg syscall (openbsd-386), const SYS_PIPE2 ideal-int pkg syscall (openbsd-386), func Accept4(int, int) (int, Sockaddr, error) pkg syscall (openbsd-386), func Pipe2([]int, int) error
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 22 03:48:56 UTC 2018 - 25K bytes - Viewed (0) -
internal/disk/stat_linux_s390x.go
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 } reservedBlocks := s.Bfree - s.Bavail info = Info{ Total: uint64(s.Frsize) * (s.Blocks - reservedBlocks),
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/config/errors-utils.go
if e, ok := err.(Err); ok { return e } // Show a generic message for known golang errors if errors.Is(err, syscall.EADDRINUSE) { return ErrPortAlreadyInUse(err).Msg("Specified port is already in use") } else if errors.Is(err, syscall.EACCES) || errors.Is(err, syscall.EPERM) { if netErr, ok := err.(*net.OpError); ok { return ErrPortAccess(netErr).Msg("Insufficient permissions to use specified port") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.8K bytes - Viewed (0) -
src/archive/tar/stat_actime2.go
// license that can be found in the LICENSE file. //go:build darwin || freebsd || netbsd package tar import ( "syscall" "time" ) func statAtime(st *syscall.Stat_t) time.Time { return time.Unix(st.Atimespec.Unix()) } func statCtime(st *syscall.Stat_t) time.Time { return time.Unix(st.Ctimespec.Unix())
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 421 bytes - Viewed (0) -
api/go1.1.txt
pkg syscall (darwin-386), const B115200 ideal-int pkg syscall (darwin-386), const B1200 = 1200 pkg syscall (darwin-386), const B1200 ideal-int pkg syscall (darwin-386), const B134 = 134 pkg syscall (darwin-386), const B134 ideal-int pkg syscall (darwin-386), const B14400 = 14400 pkg syscall (darwin-386), const B14400 ideal-int pkg syscall (darwin-386), const B150 = 150 pkg syscall (darwin-386), const B150 ideal-int
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0) -
api/go1.5.txt
pkg syscall (darwin-amd64), type SysProcAttr struct, Foreground bool pkg syscall (darwin-amd64), type SysProcAttr struct, Pgid int pkg syscall (darwin-amd64-cgo), type SysProcAttr struct, Ctty int pkg syscall (darwin-amd64-cgo), type SysProcAttr struct, Foreground bool pkg syscall (darwin-amd64-cgo), type SysProcAttr struct, Pgid int pkg syscall (freebsd-386), type SysProcAttr struct, Ctty int
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
cmd/os-dirent_namelen_bsd.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import "syscall" func direntNamlen(dirent *syscall.Dirent) (uint64, error) { return uint64(dirent.Namlen), nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 982 bytes - Viewed (0) -
api/go1.12.txt
pkg syscall (openbsd-386), const S_IRWXO = 7 pkg syscall (openbsd-386), const S_IRWXO ideal-int pkg syscall (openbsd-386-cgo), const S_IRWXG = 56 pkg syscall (openbsd-386-cgo), const S_IRWXG ideal-int pkg syscall (openbsd-386-cgo), const S_IRWXO = 7 pkg syscall (openbsd-386-cgo), const S_IRWXO ideal-int pkg syscall (openbsd-amd64), const S_IRWXG = 56 pkg syscall (openbsd-amd64), const S_IRWXG ideal-int
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Jan 02 21:21:53 UTC 2019 - 13.5K bytes - Viewed (0) -
internal/disk/fdatasync_unix.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package disk import ( "os" "syscall" ) // Fdatasync is fsync on freebsd/darwin func Fdatasync(f *os.File) error { return syscall.Fsync(int(f.Fd())) } // FadviseDontNeed is a no-op func FadviseDontNeed(f *os.File) error { return nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 29 23:40:28 UTC 2021 - 1.1K bytes - Viewed (0)