Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 71 for Syscall (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/lock/lock_solaris.go

    package lock
    
    import (
    	"os"
    	"syscall"
    )
    
    // lockedOpenFile is an internal function.
    func lockedOpenFile(path string, flag int, perm os.FileMode, rlockType int) (*LockedFile, error) {
    	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
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.8K bytes
    - Click Count (0)
  2. 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
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Aug 22 03:48:56 GMT 2018
    - 25K bytes
    - Click Count (0)
  3. 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{
    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)
  4. 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
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Click Count (0)
  5. 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),
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  6. api/go1.14.txt

    pkg syscall (freebsd-arm64), const B50 = 50
    pkg syscall (freebsd-arm64), const B50 ideal-int
    pkg syscall (freebsd-arm64), const B57600 = 57600
    pkg syscall (freebsd-arm64), const B57600 ideal-int
    pkg syscall (freebsd-arm64), const B600 = 600
    pkg syscall (freebsd-arm64), const B600 ideal-int
    pkg syscall (freebsd-arm64), const B7200 = 7200
    pkg syscall (freebsd-arm64), const B7200 ideal-int
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Click Count (0)
  7. 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)
  8. api/go1.16.txt

    pkg syscall (darwin-amd64), func SetBpfDatalink //deprecated
    pkg syscall (darwin-amd64), func SetBpfHeadercmpl //deprecated
    pkg syscall (darwin-amd64), func SetBpfImmediate //deprecated
    pkg syscall (darwin-amd64), func SetBpfInterface //deprecated
    pkg syscall (darwin-amd64), func SetBpfPromisc //deprecated
    pkg syscall (darwin-amd64), func SetBpfTimeout //deprecated
    pkg syscall (darwin-amd64), func StringSlicePtr //deprecated
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Click Count (0)
  9. cmd/is-dir-empty_linux.go

    		entries, err := readDirN(dirname, 1)
    		if err != nil {
    			return false
    		}
    		return len(entries) == 0
    	}
    	var stat syscall.Stat_t
    	if err := syscall.Stat(dirname, &stat); err != nil {
    		return false
    	}
    	return stat.Mode&syscall.S_IFMT == syscall.S_IFDIR && stat.Nlink == 2
    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)
  10. 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)
Back to Top