- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 3,178 for Dirent (0.21 sec)
-
api/go1.12.txt
pkg syscall (freebsd-386), func Mknod(string, uint32, uint64) error pkg syscall (freebsd-386), type Dirent struct, Fileno uint64 pkg syscall (freebsd-386), type Dirent struct, Namlen uint16 pkg syscall (freebsd-386), type Dirent struct, Off int64 pkg syscall (freebsd-386), type Dirent struct, Pad0 uint8 pkg syscall (freebsd-386), type Dirent struct, Pad1 uint16 pkg syscall (freebsd-386), type Stat_t struct, Atim_ext int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 02 21:21:53 UTC 2019 - 13.5K bytes - Viewed (0) -
src/os/dirent_js.go
} func direntReclen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Reclen), unsafe.Sizeof(syscall.Dirent{}.Reclen)) } func direntNamlen(buf []byte) (uint64, bool) { reclen, ok := direntReclen(buf) if !ok { return 0, false } return reclen - uint64(unsafe.Offsetof(syscall.Dirent{}.Name)), true } func direntType(buf []byte) FileMode { return ^FileMode(0) // unknown
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 00:59:20 UTC 2020 - 678 bytes - Viewed (0) -
src/internal/goroot/gccgo.go
func IsStandardPackage(goroot, compiler, path string) bool { switch compiler { case "gc": dir := filepath.Join(goroot, "src", path) dirents, err := os.ReadDir(dir) if err != nil { return false } for _, dirent := range dirents { if strings.HasSuffix(dirent.Name(), ".go") { return true } } return false case "gccgo": return stdpkg[path] default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 18:16:28 UTC 2024 - 758 bytes - Viewed (0) -
src/os/dirent_netbsd.go
return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Fileno), unsafe.Sizeof(syscall.Dirent{}.Fileno)) } func direntReclen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Reclen), unsafe.Sizeof(syscall.Dirent{}.Reclen)) } func direntNamlen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Namlen), unsafe.Sizeof(syscall.Dirent{}.Namlen)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 00:59:20 UTC 2020 - 1.2K bytes - Viewed (0) -
cmd/os_unix.go
} if len(buf) < int(dirent.Reclen) { return consumed, nil, typ, fmt.Errorf("buf size %d < record length %d", len(buf), dirent.Reclen) } consumed = int(dirent.Reclen) if direntInode(dirent) == 0 { // File absent in directory. return } switch dirent.Type { case syscall.DT_REG: typ = 0 case syscall.DT_DIR: typ = os.ModeDir
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.3K bytes - Viewed (0) -
src/os/dirent_wasip1.go
package os import ( "syscall" "unsafe" ) // https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#-dirent-record const sizeOfDirent = 24 func direntIno(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Ino), unsafe.Sizeof(syscall.Dirent{}.Ino)) } func direntReclen(buf []byte) (uint64, bool) { namelen, ok := direntNamlen(buf) return sizeOfDirent + namelen, ok }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 1.4K bytes - Viewed (0) -
cmd/os-dirent_fileino.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import "syscall" func direntInode(dirent *syscall.Dirent) uint64 { return uint64(dirent.Fileno)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 950 bytes - Viewed (0) -
cmd/os-dirent_namelen_bsd.go
// 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
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 982 bytes - Viewed (0) -
src/os/dirent_dragonfly.go
return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Fileno), unsafe.Sizeof(syscall.Dirent{}.Fileno)) } func direntReclen(buf []byte) (uint64, bool) { namlen, ok := direntNamlen(buf) if !ok { return 0, false } return (16 + namlen + 1 + 7) &^ 7, true } func direntNamlen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Namlen), unsafe.Sizeof(syscall.Dirent{}.Namlen)) }
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/syscall/syscall_darwin.go
func direntIno(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino)) } func direntReclen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen)) } func direntNamlen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 11K bytes - Viewed (0)