Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 763 for sys1 (0.03 sec)

  1. src/os/stat_openbsd.go

    import (
    	"internal/filepathlite"
    	"syscall"
    	"time"
    )
    
    func fillFileStatFromSys(fs *fileStat, name string) {
    	fs.name = filepathlite.Base(name)
    	fs.size = fs.sys.Size
    	fs.modTime = time.Unix(fs.sys.Mtim.Unix())
    	fs.mode = FileMode(fs.sys.Mode & 0777)
    	switch fs.sys.Mode & syscall.S_IFMT {
    	case syscall.S_IFBLK:
    		fs.mode |= ModeDevice
    	case syscall.S_IFCHR:
    		fs.mode |= ModeDevice | ModeCharDevice
    	case syscall.S_IFDIR:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/runtime/defs_freebsd.go

    */
    
    package runtime
    
    /*
    #include <sys/types.h>
    #include <unistd.h>
    #include <fcntl.h>
    #include <sys/time.h>
    #include <signal.h>
    #include <errno.h>
    #include <sys/event.h>
    #include <sys/mman.h>
    #include <sys/ucontext.h>
    #include <sys/umtx.h>
    #include <sys/_umtx.h>
    #include <sys/rtprio.h>
    #include <sys/thr.h>
    #include <sys/_sigset.h>
    #include <sys/unistd.h>
    #include <sys/sysctl.h>
    #include <sys/cpuset.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/syscall/types_darwin.go

    #include <mach/mach.h>
    #include <mach/message.h>
    #include <sys/event.h>
    #include <sys/mman.h>
    #include <sys/mount.h>
    #include <sys/param.h>
    #include <sys/ptrace.h>
    #include <sys/resource.h>
    #include <sys/select.h>
    #include <sys/signal.h>
    #include <sys/socket.h>
    #include <sys/stat.h>
    #include <sys/time.h>
    #include <sys/types.h>
    #include <sys/uio.h>
    #include <sys/un.h>
    #include <sys/wait.h>
    #include <net/bpf.h>
    #include <net/if.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5K bytes
    - Viewed (0)
  4. src/os/types_unix.go

    	mode    FileMode
    	modTime time.Time
    	sys     syscall.Stat_t
    }
    
    func (fs *fileStat) Size() int64        { return fs.size }
    func (fs *fileStat) Mode() FileMode     { return fs.mode }
    func (fs *fileStat) ModTime() time.Time { return fs.modTime }
    func (fs *fileStat) Sys() any           { return &fs.sys }
    
    func sameFile(fs1, fs2 *fileStat) bool {
    	return fs1.sys.Dev == fs2.sys.Dev && fs1.sys.Ino == fs2.sys.Ino
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 776 bytes
    - Viewed (0)
  5. cmd/peer-s3-client.go

    //   - For each pool, check if the bucket exists in N/2+1 nodes before including it in the final result
    func (sys *S3PeerSys) ListBuckets(ctx context.Context, opts BucketOptions) ([]BucketInfo, error) {
    	g := errgroup.WithNErrs(len(sys.peerClients))
    
    	nodeBuckets := make([][]BucketInfo, len(sys.peerClients))
    
    	for idx, client := range sys.peerClients {
    		idx := idx
    		client := client
    		g.Go(func() error {
    			if client == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/decodesym.go

    	}
    }
    
    func commonsize(arch *sys.Arch) int      { return abi.CommonSize(arch.PtrSize) }      // runtime._type
    func structfieldSize(arch *sys.Arch) int { return abi.StructFieldSize(arch.PtrSize) } // runtime.structfield
    func uncommonSize(arch *sys.Arch) int    { return int(abi.UncommonSize()) }           // runtime.uncommontype
    
    // Type.commonType.kind
    func decodetypeKind(arch *sys.Arch, p []byte) abi.Kind {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/syscall/syscall_linux_arm64.go

    //sys	Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
    //sys	Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
    //sys	sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
    //sys	Setfsgid(gid int) (err error)
    //sys	Setfsuid(uid int) (err error)
    //sysnb	setrlimit1(resource int, rlim *Rlimit) (err error) = SYS_SETRLIMIT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. src/syscall/syscall_aix.go

    /*
     * Direct access
     */
    
    //sys	Acct(path string) (err error)
    //sys	Chdir(path string) (err error)
    //sys	Chmod(path string, mode uint32) (err error)
    //sys	Chown(path string, uid int, gid int) (err error)
    //sys	Chroot(path string) (err error)
    //sys	Close(fd int) (err error)
    //sys	Dup(fd int) (nfd int, err error)
    //sys	Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go

    package unix
    
    import (
    	"unsafe"
    )
    
    //sys	EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
    //sys	Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64
    //sys	Fchown(fd int, uid int, gid int) (err error)
    //sys	Fstat(fd int, stat *Stat_t) (err error)
    //sys	Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_NEWFSTATAT
    //sys	Fstatfs(fd int, buf *Statfs_t) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  10. src/syscall/syscall_linux_arm.go

    //sys	Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
    //sys	Setfsgid(gid int) (err error) = SYS_SETFSGID32
    //sys	Setfsuid(uid int) (err error) = SYS_SETFSUID32
    //sys	Shutdown(fd int, how int) (err error)
    //sys	Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error)
    //sys	Ustat(dev int, ubuf *Ustat_t) (err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top