- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for uint32 (0.15 sec)
-
cni/pkg/repair/netns.go
if err != nil { return "", fmt.Errorf("read procfs: %v", err) } procs, err := fs.AllProcs() if err != nil { return "", fmt.Errorf("read procs: %v", err) } oldest := uint64(math.MaxUint64) best := "" // We will iterate over all processes. Our goal is to find a process with the same network ID as we found above.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Dec 20 22:14:13 GMT 2023 - 4.8K bytes - Viewed (0) -
cni/pkg/nodeagent/netns.go
package nodeagent import "io" type NetnsFd interface { Fd() uintptr } type Netns interface { NetnsFd Inode() uint64 } type NetnsCloser interface { io.Closer Netns } type NetnsWithFd struct { netns io.Closer fd uintptr inode uint64 } func (n *NetnsWithFd) Close() error { if n.netns == nil { return nil } ret := n.netns.Close()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1.2K bytes - Viewed (0)