Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for inode (0.06 sec)

  1. src/os/dir_darwin.go

    			if errno == syscall.EINTR {
    				continue
    			}
    			return names, dirents, infos, &PathError{Op: "readdir", Path: f.name, Err: errno}
    		}
    		if entptr == nil { // EOF
    			break
    		}
    		// Darwin may return a zero inode when a directory entry has been
    		// deleted but not yet removed from the directory. The man page for
    		// getdirentries(2) states that programs are responsible for skipping
    		// those entries:
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/os/types.go

    func (fs *fileStat) IsDir() bool  { return fs.Mode().IsDir() }
    
    // SameFile reports whether fi1 and fi2 describe the same file.
    // For example, on Unix this means that the device and inode fields
    // of the two underlying structures are identical; on other systems
    // the decision may be based on the path names.
    // SameFile only applies to results returned by this package's [Stat].
    // It returns false in other cases.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. test/typeparam/graph.go

    // _EdgeC is the constraints on an edge in a graph, given the _Node type.
    type _EdgeC[_Node any] interface {
    	comparable
    	Nodes() (a, b _Node)
    }
    
    // _New creates a new _Graph from a collection of Nodes.
    func _New[_Node _NodeC[_Edge], _Edge _EdgeC[_Node]](nodes []_Node) *_Graph[_Node, _Edge] {
    	return &_Graph[_Node, _Edge]{nodes: nodes}
    }
    
    // nodePath holds the path to a node during ShortestPath.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/os/dir_unix.go

    			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
    		}
    		const namoff = uint64(unsafe.Offsetof(syscall.Dirent{}.Name))
    		namlen, ok := direntNamlen(rec)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:11:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/go/types/errors.go

    }
    
    func (e posSpan) Pos() token.Pos {
    	return e.pos
    }
    
    // inNode creates a posSpan for the given node.
    // Invariant: node.Pos() <= pos < node.End() (node.End() is the position of the
    // first byte after node within the source).
    func inNode(node ast.Node, pos token.Pos) posSpan {
    	start, end := node.Pos(), node.End()
    	if debug {
    		assert(start <= pos && pos < end)
    	}
    	return posSpan{start, pos, end}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. src/go/types/util.go

    func argErrPos(call *ast.CallExpr) positioner { return inNode(call, call.Rparen) }
    
    // startPos returns the start position of node n.
    func startPos(n ast.Node) token.Pos { return n.Pos() }
    
    // endPos returns the position of the first character immediately after node n.
    func endPos(n ast.Node) token.Pos { return n.End() }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top