- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 624 for walkIf (0.1 sec)
-
pkg/util/iptree/iptree.go
count++ return false }) return count } // WalkFn is used when walking the tree. Takes a // key and value, returning if iteration should // be terminated. type WalkFn[T any] func(s netip.Prefix, v T) bool // DepthFirstWalk is used to walk the tree of the corresponding IP family func (t *Tree[T]) DepthFirstWalk(isIPv6 bool, fn WalkFn[T]) { if isIPv6 { recursiveWalk(t.rootV6, fn) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 17.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/AbstractTypeMetadataWalkerTest.groovy
def "type walker should correctly visit empty type"() { given: def visitor = new TestStaticMetadataVisitor() when: TypeMetadataWalker.typeWalker(typeMetadataStore, TestNested.class).walk(TypeToken.of(MyEmptyTask), visitor) then: visitor.all == ["null::MyEmptyTask"] } def "instance walker should correctly visit instance with null values"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 24.4K bytes - Viewed (0) -
src/cmd/go/internal/fsys/fsys.go
if err := walk(filename, fi, walkFn); err != nil { if !fi.IsDir() || err != filepath.SkipDir { return err } } } return nil } // Walk walks the file tree rooted at root, calling walkFn for each file or // directory in the tree, including root. func Walk(root string, walkFn filepath.WalkFunc) error { Trace("Walk", root) info, err := Lstat(root) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:35:34 UTC 2024 - 22.7K bytes - Viewed (0) -
src/cmd/compile/internal/walk/expr.go
ir.CurFunc.SetHasDefer(true) ir.CurFunc.SetOpenCodedDeferDisallowed(true) } } walkCall1(n, init) return n } func walkCall1(n *ir.CallExpr, init *ir.Nodes) { if n.Walked() { return // already walked } n.SetWalked(true) if n.Op() == ir.OCALLMETH { base.FatalfAt(n.Pos(), "OCALLMETH missed by typecheck") } args := n.Args params := n.Fun.Type().Params()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 27.6K bytes - Viewed (0) -
src/go/parser/resolver.go
} else { ast.Walk(r, kv.Key) } ast.Walk(r, kv.Value) } else { ast.Walk(r, e) } } case *ast.InterfaceType: r.openScope(n.Pos()) defer r.closeScope() r.walkFieldList(n.Methods, ast.Fun) // Statements case *ast.LabeledStmt: r.declare(n, nil, r.labelScope, ast.Lbl, n.Label) ast.Walk(r, n.Stmt) case *ast.AssignStmt:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 12:56:53 UTC 2023 - 15.8K 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) -
pkg/util/filesystem/defaultfs.go
// ReadDir via os.ReadDir func (fs *DefaultFs) ReadDir(dirname string) ([]os.DirEntry, error) { return os.ReadDir(fs.prefix(dirname)) } // Walk via filepath.Walk func (fs *DefaultFs) Walk(root string, walkFn filepath.WalkFunc) error { return filepath.Walk(fs.prefix(root), walkFn) } // defaultFile implements File using same-named functions from "os" type defaultFile struct { file *os.File }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 03 07:38:14 UTC 2023 - 4.7K 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/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) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/bean/DefaultPropertyWalker.java
private final InstanceMetadataWalker walker; private final ImplementationResolver implementationResolver; private final Map<Class<? extends Annotation>, PropertyAnnotationHandler> handlers; public DefaultPropertyWalker(TypeMetadataStore typeMetadataStore, ImplementationResolver implementationResolver, Collection<PropertyAnnotationHandler> propertyHandlers) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.2K bytes - Viewed (0)