- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 99 for Syscall6 (0.05 seconds)
-
cmd/os-dirent_ino.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. //go:build (linux || darwin) && !appengine // +build linux darwin // +build !appengine package cmd import "syscall" func direntInode(dirent *syscall.Dirent) uint64 { return dirent.Ino
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 953 bytes - Click Count (0) -
src/cmd/api/api_test.go
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri May 02 17:06:27 GMT 2025 - 7.6K bytes - Click Count (0) -
internal/disk/stat_linux.go
"errors" "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 }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
cmd/os-dirent_namelen_linux.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "fmt" "syscall" "unsafe" ) func direntNamlen(dirent *syscall.Dirent) (uint64, error) { const fixedHdr = uint16(unsafe.Offsetof(syscall.Dirent{}.Name)) nameBuf := (*[unsafe.Sizeof(dirent.Name)]byte)(unsafe.Pointer(&dirent.Name[0])) const nameBufLen = uint16(len(nameBuf))
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 1.5K bytes - Click Count (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 }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 3.2K bytes - Click Count (0) -
internal/disk/type_windows.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 disk import ( "path/filepath" "syscall" "unsafe" ) // GetVolumeInformation provides windows drive volume information. var GetVolumeInformation = kernel32.NewProc("GetVolumeInformationW")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 2.2K bytes - Click Count (0) -
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)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 1.8K bytes - Click Count (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.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Feb 28 07:02:14 GMT 2024 - 3.8K bytes - Click Count (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
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Dec 21 05:25:57 GMT 2016 - 16.3K bytes - Click Count (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
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Jan 24 20:54:27 GMT 2024 - 7.7K bytes - Click Count (0)