- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for ModeDevice (0.23 sec)
-
src/os/dirent_freebsd.go
off := unsafe.Offsetof(syscall.Dirent{}.Type) if off >= uintptr(len(buf)) { return ^FileMode(0) // unknown } typ := buf[off] switch typ { case syscall.DT_BLK: return ModeDevice case syscall.DT_CHR: return ModeDevice | ModeCharDevice case syscall.DT_DIR: return ModeDir case syscall.DT_FIFO: return ModeNamedPipe case syscall.DT_LNK: return ModeSymlink case syscall.DT_REG: return 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 00:59:20 UTC 2020 - 1.2K bytes - Viewed (0) -
src/os/dirent_netbsd.go
off := unsafe.Offsetof(syscall.Dirent{}.Type) if off >= uintptr(len(buf)) { return ^FileMode(0) // unknown } typ := buf[off] switch typ { case syscall.DT_BLK: return ModeDevice case syscall.DT_CHR: return ModeDevice | ModeCharDevice case syscall.DT_DIR: return ModeDir case syscall.DT_FIFO: return ModeNamedPipe case syscall.DT_LNK: return ModeSymlink case syscall.DT_REG: return 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 00:59:20 UTC 2020 - 1.2K bytes - Viewed (0) -
src/os/dirent_linux.go
off := unsafe.Offsetof(syscall.Dirent{}.Type) if off >= uintptr(len(buf)) { return ^FileMode(0) // unknown } typ := buf[off] switch typ { case syscall.DT_BLK: return ModeDevice case syscall.DT_CHR: return ModeDevice | ModeCharDevice case syscall.DT_DIR: return ModeDir case syscall.DT_FIFO: return ModeNamedPipe case syscall.DT_LNK: return ModeSymlink case syscall.DT_REG: return 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 00:59:20 UTC 2020 - 1.2K bytes - Viewed (0) -
src/os/dirent_openbsd.go
off := unsafe.Offsetof(syscall.Dirent{}.Type) if off >= uintptr(len(buf)) { return ^FileMode(0) // unknown } typ := buf[off] switch typ { case syscall.DT_BLK: return ModeDevice case syscall.DT_CHR: return ModeDevice | ModeCharDevice case syscall.DT_DIR: return ModeDir case syscall.DT_FIFO: return ModeNamedPipe case syscall.DT_LNK: return ModeSymlink case syscall.DT_REG: return 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 00:59:20 UTC 2020 - 1.2K bytes - Viewed (0) -
src/os/types.go
ModeSymlink = fs.ModeSymlink // L: symbolic link ModeDevice = fs.ModeDevice // D: device file ModeNamedPipe = fs.ModeNamedPipe // p: named pipe (FIFO) ModeSocket = fs.ModeSocket // S: Unix domain socket ModeSetuid = fs.ModeSetuid // u: setuid ModeSetgid = fs.ModeSetgid // g: setgid ModeCharDevice = fs.ModeCharDevice // c: Unix character device, when ModeDevice is set ModeSticky = fs.ModeSticky // t: sticky
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 20:52:06 UTC 2024 - 2.9K bytes - Viewed (0) -
src/os/dirent_dragonfly.go
off := unsafe.Offsetof(syscall.Dirent{}.Type) if off >= uintptr(len(buf)) { return ^FileMode(0) // unknown } typ := buf[off] switch typ { case syscall.DT_BLK: return ModeDevice case syscall.DT_CHR: return ModeDevice | ModeCharDevice case syscall.DT_DBF: // DT_DBF is "database record file". // fillFileStatFromSys treats as regular file. return 0 case syscall.DT_DIR: return ModeDir
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 00:59:20 UTC 2020 - 1.3K bytes - Viewed (0) -
src/os/dirent_wasip1.go
if off >= uintptr(len(buf)) { return ^FileMode(0) // unknown } switch syscall.Filetype(buf[off]) { case syscall.FILETYPE_BLOCK_DEVICE: return ModeDevice case syscall.FILETYPE_CHARACTER_DEVICE: return ModeDevice | ModeCharDevice case syscall.FILETYPE_DIRECTORY: return ModeDir case syscall.FILETYPE_REGULAR_FILE: return 0 case syscall.FILETYPE_SOCKET_DGRAM: return ModeSocket
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 1.4K bytes - Viewed (0) -
src/os/stat_aix.go
fs.size = int64(fs.sys.Size) fs.modTime = stTimespecToTime(fs.sys.Mtim) 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: fs.mode |= ModeDir case syscall.S_IFIFO: fs.mode |= ModeNamedPipe case syscall.S_IFLNK: fs.mode |= ModeSymlink case syscall.S_IFREG:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 1.2K bytes - Viewed (0) -
src/os/stat_darwin.go
fs.modTime = time.Unix(fs.sys.Mtimespec.Unix()) fs.mode = FileMode(fs.sys.Mode & 0777) switch fs.sys.Mode & syscall.S_IFMT { case syscall.S_IFBLK, syscall.S_IFWHT: fs.mode |= ModeDevice case syscall.S_IFCHR: fs.mode |= ModeDevice | ModeCharDevice case syscall.S_IFDIR: fs.mode |= ModeDir case syscall.S_IFIFO: fs.mode |= ModeNamedPipe case syscall.S_IFLNK: fs.mode |= ModeSymlink case syscall.S_IFREG:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 1.1K bytes - Viewed (0) -
src/os/stat_dragonfly.go
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: fs.mode |= ModeDir case syscall.S_IFIFO: fs.mode |= ModeNamedPipe case syscall.S_IFLNK: fs.mode |= ModeSymlink case syscall.S_IFREG:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 1.1K bytes - Viewed (0)