- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 121 for sysctls (0.08 seconds)
-
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") }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.8K bytes - Click Count (0) -
internal/disk/disk_unix.go
package disk import ( "syscall" ) // SameDisk reports whether di1 and di2 describe the same disk. func SameDisk(disk1, disk2 string) (bool, error) { st1 := syscall.Stat_t{} st2 := syscall.Stat_t{} if err := syscall.Stat(disk1, &st1); err != nil { return false, err } if err := syscall.Stat(disk2, &st2); err != nil { return false, err }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 1.2K bytes - Click Count (0) -
cmd/is-dir-empty_linux.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 05 15:17:08 GMT 2024 - 1.4K bytes - Click Count (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
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Click Count (0) -
cmd/os_unix.go
} consumed = int(dirent.Reclen) if direntInode(dirent) == 0 { // File absent in directory. return consumed, name, typ, err } switch dirent.Type { case syscall.DT_REG: typ = 0 case syscall.DT_DIR: typ = os.ModeDir case syscall.DT_LNK: typ = os.ModeSymlink default: // Skip all other file types. Revisit if/when this code needs // to handle such files, MinIO is only interested in
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.3K bytes - Click Count (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
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Jan 02 21:21:53 GMT 2019 - 13.5K bytes - Click Count (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
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 982 bytes - Click Count (0) -
internal/disk/stat_bsd.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 - s.Bavail info = Info{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 1.7K bytes - Click Count (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
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Sep 29 23:40:28 GMT 2021 - 1.1K bytes - Click Count (0) -
src/archive/tar/stat_actime1.go
// license that can be found in the LICENSE file. //go:build aix || linux || dragonfly || openbsd || solaris package tar import ( "syscall" "time" ) func statAtime(st *syscall.Stat_t) time.Time { return time.Unix(st.Atim.Unix()) } func statCtime(st *syscall.Stat_t) time.Time { return time.Unix(st.Ctim.Unix())
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Oct 28 18:17:57 GMT 2021 - 431 bytes - Click Count (0)