- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 590 for walkP (0.05 sec)
-
test/fixedbugs/issue46304.go
type Op struct { tag string _x []string _q [20]uint64 plist []P } type P struct { tag string _x [10]uint64 b bool } type M int //go:noinline func (w *M) walkP(p *P) *P { np := &P{} *np = *p np.tag += "new" return np } func (w *M) walkOp(op *Op) *Op { if op == nil { return nil } orig := op cloned := false clone := func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 22 00:51:17 UTC 2021 - 1.1K bytes - Viewed (0) -
src/io/fs/walk.go
// as an error by any function. var SkipAll = errors.New("skip everything and stop the walk") // WalkDirFunc is the type of the function called by [WalkDir] to visit // each file or directory. // // The path argument contains the argument to [WalkDir] as a prefix. // That is, if WalkDir is called with root argument "dir" and finds a file // named "a" in that directory, the walk function will be called with // argument "dir/a". //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 08:50:19 UTC 2024 - 4.7K bytes - Viewed (0) -
src/cmd/compile/internal/walk/walk.go
const tmpstringbufsize = 32 func Walk(fn *ir.Func) { ir.CurFunc = fn errorsBefore := base.Errors() order(fn) if base.Errors() > errorsBefore { return } if base.Flag.W != 0 { s := fmt.Sprintf("\nbefore walk %v", ir.CurFunc.Sym()) ir.DumpList(s, ir.CurFunc.Body) } walkStmtList(ir.CurFunc.Body) if base.Flag.W != 0 { s := fmt.Sprintf("after walk %v", ir.CurFunc.Sym())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 20:56:00 UTC 2024 - 10.4K bytes - Viewed (0) -
src/go/ast/walk.go
if n.Elt != nil { Walk(v, n.Elt) } case *FuncLit: Walk(v, n.Type) Walk(v, n.Body) case *CompositeLit: if n.Type != nil { Walk(v, n.Type) } walkList(v, n.Elts) case *ParenExpr: Walk(v, n.X) case *SelectorExpr: Walk(v, n.X) Walk(v, n.Sel) case *IndexExpr: Walk(v, n.X) Walk(v, n.Index) case *IndexListExpr: Walk(v, n.X)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:34:10 UTC 2024 - 6.4K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/walk.go
// for each of the non-nil children of root, followed by a call of f(nil). // // See Walk for caveats about shared nodes. func Inspect(root Node, f func(Node) bool) { Walk(root, inspector(f)) } type inspector func(Node) bool func (v inspector) Visit(node Node) Visitor { if v(node) { return v } return nil } // Walk traverses an AST in pre-order: It starts by calling
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:55:04 UTC 2023 - 5.7K bytes - Viewed (0) -
cmd/metacache-walk.go
if s.walkMu != nil { s.walkMu.Unlock() } if err != nil { // Folder could have gone away in-between if err != errVolumeNotFound && err != errFileNotFound { internalLogOnceIf(ctx, err, "metacache-walk-scan-dir") } if opts.ReportNotFound && err == errFileNotFound && current == opts.BaseDir { err = errFileNotFound } else { err = nil } diskHealthCheckOK(ctx, err) return err
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Jun 01 05:17:37 UTC 2024 - 12.4K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemSnapshot.java
*/ Stream<FileSystemLocationSnapshot> roots(); /** * Walks the whole hierarchy represented by this snapshot. * * The walk is depth first. */ SnapshotVisitResult accept(FileSystemSnapshotHierarchyVisitor visitor); /** * Walks the whole hierarchy represented by this snapshot. * * The walk is depth first. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 1.9K bytes - Viewed (0) -
src/reflect/visiblefields.go
visiting map[Type]bool fields []StructField index []int } // walk walks all the fields in the struct type t, visiting // fields in index preorder and appending them to w.fields // (this maintains the required ordering). // Fields that have been overridden have their // Name field cleared. func (w *visibleFieldsWalker) walk(t Type) { if w.visiting[t] { return } w.visiting[t] = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 26 14:24:17 UTC 2021 - 3K bytes - Viewed (0) -
src/cmd/compile/internal/walk/convert.go
// pointers, usually for alignment." var originals []ir.Node var walk func(n ir.Node) walk = func(n ir.Node) { switch n.Op() { case ir.OADD: n := n.(*ir.BinaryExpr) walk(n.X) walk(n.Y) case ir.OSUB, ir.OANDNOT: n := n.(*ir.BinaryExpr) walk(n.X) case ir.OCONVNOP: n := n.(*ir.ConvExpr) if n.X.Type().IsUnsafePtr() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 17:28:22 UTC 2023 - 18.2K bytes - Viewed (0) -
src/cmd/doc/dirs.go
if !ok { return Dir{}, false } d.hist = append(d.hist, dir) d.offset++ return dir, ok } // walk walks the trees in GOROOT and GOPATH. func (d *Dirs) walk(roots []Dir) { for _, root := range roots { d.bfsWalkRoot(root) } close(d.scan) } // bfsWalkRoot walks a single directory hierarchy in breadth-first lexical order. // Each Go source directory it finds is delivered on d.scan.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 17:49:12 UTC 2022 - 9K bytes - Viewed (0)