Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for ino (0.2 sec)

  1. src/syscall/dirent.go

    		if !ok || reclen > uint64(len(buf)) {
    			return origlen, count, names
    		}
    		rec := buf[:reclen]
    		buf = buf[reclen:]
    		ino, ok := direntIno(rec)
    		if !ok {
    			break
    		}
    		// See src/os/dir_unix.go for the reason why this condition is
    		// excluded on wasip1.
    		if ino == 0 && runtime.GOOS != "wasip1" { // File absent in directory.
    			continue
    		}
    		const namoff = uint64(unsafe.Offsetof(Dirent{}.Name))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:13:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    	Fsid    uint64
    	Namelen uint64
    	Frsize  uint64
    	Flags   uint64
    	_       [4]uint64
    }
    
    type direntLE struct {
    	Reclen uint16
    	Namlen uint16
    	Ino    uint32
    	Extra  uintptr
    	Name   [256]byte
    }
    
    type Dirent struct {
    	Ino    uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Name   [256]uint8
    	_      [5]byte
    }
    
    type FdSet struct {
    	Bits [64]int32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/dirent.go

    		reclen, ok := direntReclen(buf)
    		if !ok || reclen > uint64(len(buf)) {
    			return origlen, count, names
    		}
    		rec := buf[:reclen]
    		buf = buf[reclen:]
    		ino, ok := direntIno(rec)
    		if !ok {
    			break
    		}
    		if ino == 0 { // File absent in directory.
    			continue
    		}
    		const namoff = uint64(unsafe.Offsetof(Dirent{}.Name))
    		namlen, ok := direntNamlen(rec)
    		if !ok || namoff+namlen > uint64(len(rec)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go

    }
    
    func Stat(path string, s *Stat_t) (err error) {
    	st := &stat_t{}
    	err = stat(path, st)
    	fillStat_t(s, st)
    	return
    }
    
    func fillStat_t(s *Stat_t, st *stat_t) {
    	s.Dev = st.Dev
    	s.Ino = st.Ino
    	s.Mode = st.Mode
    	s.Nlink = st.Nlink
    	s.Uid = st.Uid
    	s.Gid = st.Gid
    	s.Rdev = st.Rdev
    	s.Size = st.Size
    	s.Atim = Timespec{int64(st.Atime), int64(st.Atime_nsec)}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. src/syscall/syscall_linux_mips64x.go

    }
    
    func Stat(path string, s *Stat_t) (err error) {
    	st := &stat_t{}
    	err = stat(path, st)
    	fillStat_t(s, st)
    	return
    }
    
    func fillStat_t(s *Stat_t, st *stat_t) {
    	s.Dev = st.Dev
    	s.Ino = st.Ino
    	s.Mode = st.Mode
    	s.Nlink = st.Nlink
    	s.Uid = st.Uid
    	s.Gid = st.Gid
    	s.Rdev = st.Rdev
    	s.Size = st.Size
    	s.Atim = Timespec{int64(st.Atime), int64(st.Atime_nsec)}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go

    	Nvcsw    int32
    	Nivcsw   int32
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    type Pid_t int32
    
    type _Gid_t uint32
    
    type dev_t uint32
    
    type Stat_t struct {
    	Dev      uint32
    	Ino      uint32
    	Mode     uint32
    	Nlink    int16
    	Flag     uint16
    	Uid      uint32
    	Gid      uint32
    	Rdev     uint32
    	Size     int32
    	Atim     Timespec
    	Mtim     Timespec
    	Ctim     Timespec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/podcgroupns_linux.go

    package nodeagent
    
    import (
    	"fmt"
    	"io/fs"
    	"syscall"
    )
    
    func GetInode(fi fs.FileInfo) (uint64, error) {
    	if stat, ok := fi.Sys().(*syscall.Stat_t); ok {
    		return stat.Ino, nil
    	}
    	return 0, fmt.Errorf("unable to get inode")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 814 bytes
    - Viewed (0)
  8. src/os/dir_unix.go

    		}
    		rec := buf[:reclen]
    		d.bufp += int(reclen)
    		ino, ok := direntIno(rec)
    		if !ok {
    			break
    		}
    		// When building to wasip1, the host runtime might be running on Windows
    		// or might expose a remote file system which does not have the concept
    		// of inodes. Therefore, we cannot make the assumption that it is safe
    		// to skip entries with zero inodes.
    		if ino == 0 && runtime.GOOS != "wasip1" {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:11:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go

    	Nvcsw    int64
    	Nivcsw   int64
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    type Pid_t int32
    
    type _Gid_t uint32
    
    type dev_t uint64
    
    type Stat_t struct {
    	Dev      uint64
    	Ino      uint64
    	Mode     uint32
    	Nlink    int16
    	Flag     uint16
    	Uid      uint32
    	Gid      uint32
    	Rdev     uint64
    	Ssize    int32
    	Atim     Timespec
    	Mtim     Timespec
    	Ctim     Timespec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. src/syscall/syscall_wasip1.go

    	Ino uint64
    	// The length of the name of the directory entry.
    	Namlen uint32
    	// The type of the file referred to by this directory entry.
    	Type Filetype
    	// Name of the directory entry.
    	Name *byte
    }
    
    func direntIno(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino))
    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top