- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 132 for sysctls (0.08 sec)
-
internal/disk/stat_openbsd.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 := uint64(s.F_bfree) - uint64(s.F_bavail)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.8K bytes - Viewed (0) -
src/archive/tar/stat_unix.go
"runtime" "strconv" "sync" "syscall" ) func init() { sysStat = statUnix } // userMap and groupMap caches UID and GID lookups for performance reasons. // The downside is that renaming uname or gname by the OS never takes effect. var userMap, groupMap sync.Map // map[int]string func statUnix(fi fs.FileInfo, h *Header, doNameLookups bool) error { sys, ok := fi.Sys().(*syscall.Stat_t) if !ok { return nil }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Mar 15 16:01:50 UTC 2024 - 3.2K bytes - Viewed (0) -
api/go1.8.txt
pkg sort, func SliceStable(interface{}, func(int, int) bool) pkg syscall (linux-arm-cgo), func TimevalToNsec(Timeval) int64 pkg syscall (linux-arm), func TimevalToNsec(Timeval) int64 pkg syscall (openbsd-386), const SYS_KILL = 122 pkg syscall (openbsd-386-cgo), const SYS_KILL = 122 pkg syscall (openbsd-amd64), const SYS_KILL = 122 pkg syscall (openbsd-amd64-cgo), const SYS_KILL = 122 pkg syscall (windows-386), const ERROR_DIR_NOT_EMPTY = 145
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Dec 21 05:25:57 UTC 2016 - 16.3K bytes - Viewed (0) -
cmd/service.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "os" "os/exec" "runtime" "syscall" xioutil "github.com/minio/minio/internal/ioutil" ) // Type of service signals currently supported. type serviceSignal int const ( serviceRestart serviceSignal = iota // Restarts the server.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 28 07:02:14 UTC 2024 - 3.8K bytes - Viewed (0) -
internal/http/listener.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 http import ( "context" "fmt" "net" "syscall" "time" ) type acceptResult struct { conn net.Conn err error lidx int } // httpListener - HTTP listener capable of handling multiple server addresses. type httpListener struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 23 10:53:03 UTC 2024 - 5.6K bytes - Viewed (0) -
cmd/os-dirent_fileino.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 direntInode(dirent *syscall.Dirent) uint64 { return uint64(dirent.Fileno)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 950 bytes - Viewed (0) -
api/go1.22.txt
pkg syscall (linux-386), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-386-cgo), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-amd64), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-amd64-cgo), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-arm), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-arm-cgo), type SysProcAttr struct, PidFD *int #51246
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Jan 24 20:54:27 UTC 2024 - 7.7K bytes - Viewed (0) -
internal/event/target/webhook.go
package target import ( "bytes" "context" "crypto/tls" "encoding/json" "errors" "fmt" "net" "net/http" "net/url" "os" "path/filepath" "strings" "syscall" "time" "github.com/minio/minio/internal/event" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/once"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.8K bytes - Viewed (0) -
docs/tuning/tuned.conf
/sys/kernel/mm/transparent_hugepage/defrag=defer+madvise /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none=0 [cpu] force_latency=1 governor=performance energy_perf_bias=performance min_perf_pct=100 [sysctl] fs.xfs.xfssyncd_centisecs=72000 net.core.busy_read=50 net.core.busy_poll=50 kernel.numa_balancing=1 # Do not use swap at all vm.swappiness=0 vm.vfs_cache_pressure=50 # Start writeback at 3% memory
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 23:31:18 UTC 2024 - 1.9K bytes - Viewed (0) -
docs/debugging/reorder-disks/main.go
}) if err != nil { return nil, err } return result, nil } type localDisk struct { index int path string } func getMajorMinor(path string) (string, error) { var stat syscall.Stat_t if err := syscall.Stat(path, &stat); err != nil { return "", fmt.Errorf("unable to stat `%s`: %w", path, err) } devID := uint64(stat.Dev) major := (devID & 0x00000000000fff00) >> 8
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0)