Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for ino (0.09 sec)

  1. 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)
  2. src/syscall/ztypes_darwin_arm64.go

    	Nivcsw   int64
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    type _Gid_t uint32
    
    type Stat_t struct {
    	Dev           int32
    	Mode          uint16
    	Nlink         uint16
    	Ino           uint64
    	Uid           uint32
    	Gid           uint32
    	Rdev          int32
    	Pad_cgo_0     [4]byte
    	Atimespec     Timespec
    	Mtimespec     Timespec
    	Ctimespec     Timespec
    	Birthtimespec Timespec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  3. src/syscall/ztypes_darwin_amd64.go

    	Nivcsw   int64
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    type _Gid_t uint32
    
    type Stat_t struct {
    	Dev           int32
    	Mode          uint16
    	Nlink         uint16
    	Ino           uint64
    	Uid           uint32
    	Gid           uint32
    	Rdev          int32
    	Pad_cgo_0     [4]byte
    	Atimespec     Timespec
    	Mtimespec     Timespec
    	Ctimespec     Timespec
    	Birthtimespec Timespec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go

    	Msgrcv   int64
    	Nsignals int64
    	Nvcsw    int64
    	Nivcsw   int64
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    type _Gid_t uint32
    
    type Stat_t struct {
    	Dev     uint64
    	Ino     uint64
    	Mode    uint32
    	Nlink   uint32
    	Uid     uint32
    	Gid     uint32
    	Rdev    uint64
    	Size    int64
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	Blksize int32
    	Blocks  int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go

    	var r Statx_t
    	// Do it the glibc way, add AT_NO_AUTOMOUNT.
    	if err := Statx(fd, path, AT_NO_AUTOMOUNT|flags, STATX_BASIC_STATS, &r); err != nil {
    		return err
    	}
    
    	stat.Dev = Mkdev(r.Dev_major, r.Dev_minor)
    	stat.Ino = r.Ino
    	stat.Mode = uint32(r.Mode)
    	stat.Nlink = r.Nlink
    	stat.Uid = r.Uid
    	stat.Gid = r.Gid
    	stat.Rdev = Mkdev(r.Rdev_major, r.Rdev_minor)
    	// hope we don't get to process files so large to overflow these size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. src/syscall/syscall_linux_loong64.go

    	// Do it the glibc way, add AT_NO_AUTOMOUNT.
    	if err = statx(dirfd, path, _AT_NO_AUTOMOUNT|flags, _STATX_BASIC_STATS, &r); err != nil {
    		return err
    	}
    
    	stat.Dev = makedev(r.Dev_major, r.Dev_minor)
    	stat.Ino = r.Ino
    	stat.Mode = uint32(r.Mode)
    	stat.Nlink = r.Nlink
    	stat.Uid = r.Uid
    	stat.Gid = r.Gid
    	stat.Rdev = makedev(r.Rdev_major, r.Rdev_minor)
    	// hope we don't get to process files so large to overflow these size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/netns_linux.go

    }
    
    func (n *NetnsWrapper) Fd() uintptr {
    	return n.innerNetns.Fd()
    }
    
    func inodeForFd(n NetnsFd) (uint64, error) {
    	stats := &unix.Stat_t{}
    	err := unix.Fstat(int(n.Fd()), stats)
    	return stats.Ino, err
    }
    
    func OpenNetns(nspath string) (NetnsCloser, error) {
    	n, err := netns.GetNS(nspath)
    	if err != nil {
    		return nil, err
    	}
    	i, err := inodeForFd(n)
    	if err != nil {
    		n.Close()
    		return nil, err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 31 10:05:36 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/os/dir_darwin.go

    		//
    		//   Users of getdirentries() should skip entries with d_fileno = 0,
    		//   as such entries represent files which have been deleted but not
    		//   yet removed from the directory entry.
    		//
    		if dirent.Ino == 0 {
    			continue
    		}
    		name := (*[len(syscall.Dirent{}.Name)]byte)(unsafe.Pointer(&dirent.Name))[:]
    		for i, c := range name {
    			if c == 0 {
    				name = name[:i]
    				break
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/fakes_test.go

    	if err != nil {
    		return nil, err
    	}
    	return &fakeFileFakeFI{FileInfo: fi}, nil
    }
    
    type fakeFileFakeFI struct {
    	fs.FileInfo
    }
    
    func (f *fakeFileFakeFI) Sys() any {
    	return &syscall.Stat_t{Ino: 1}
    }
    
    // Open opens the named file.
    // When Open returns an error, it should be of type *PathError
    // with the Op field set to "open", the Path field set to name,
    // and the Err field describing the problem.
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. src/syscall/ztypes_netbsd_386.go

    	Nsignals int32
    	Nvcsw    int32
    	Nivcsw   int32
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    type _Gid_t uint32
    
    type Stat_t struct {
    	Dev           uint64
    	Mode          uint32
    	Ino           uint64
    	Nlink         uint32
    	Uid           uint32
    	Gid           uint32
    	Rdev          uint64
    	Atimespec     Timespec
    	Mtimespec     Timespec
    	Ctimespec     Timespec
    	Birthtimespec Timespec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6K bytes
    - Viewed (0)
Back to top