Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for inode (0.04 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/cmd/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go

    }
    
    type Utsname struct {
    	Sysname  [257]byte
    	Nodename [257]byte
    	Release  [257]byte
    	Version  [257]byte
    	Machine  [257]byte
    }
    
    type Ustat_t struct {
    	Tfree  int64
    	Tinode uint64
    	Fname  [6]int8
    	Fpack  [6]int8
    	_      [4]byte
    }
    
    const (
    	AT_FDCWD            = 0xffd19553
    	AT_SYMLINK_NOFOLLOW = 0x1000
    	AT_SYMLINK_FOLLOW   = 0x2000
    	AT_REMOVEDIR        = 0x1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/compile/internal/syntax/nodes.go

    	//    ('[' for IndexExpr, 'if' for IfStmt, etc.)
    	Pos() Pos
    	SetPos(Pos)
    	aNode()
    }
    
    type node struct {
    	// commented out for now since not yet used
    	// doc  *Comment // nil means no comment(s) attached
    	pos Pos
    }
    
    func (n *node) Pos() Pos       { return n.pos }
    func (n *node) SetPos(pos Pos) { n.pos = pos }
    func (*node) aNode()           {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. src/go/format/format.go

    			// We should never get here. If we do, provide good diagnostic.
    			return fmt.Errorf("format.Node internal error (%s)", err)
    		}
    		ast.SortImports(fset, file)
    
    		// Use new file with sorted imports.
    		node = file
    		if cnode != nil {
    			node = &printer.CommentedNode{Node: file, Comments: cnode.Comments}
    		}
    	}
    
    	return config.Fprint(dst, fset, node)
    }
    
    // Source formats src in canonical gofmt style and returns the result
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top