- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 611 for visit (0.04 sec)
-
src/cmd/compile/internal/ir/visit.go
return n.doChildren(do) } // Visit visits each non-nil node x in the IR tree rooted at n // in a depth-first preorder traversal, calling visit on each node visited. func Visit(n Node, visit func(Node)) { if n == nil { return } var do func(Node) bool do = func(x Node) bool { visit(x) return DoChildren(x, do) } do(n) } // VisitList calls Visit(x, visit) for each node x in the list.
Registered: 2024-06-12 16:32 - Last Modified: 2023-06-23 14:29 - 6K bytes - Viewed (0) -
platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/StatementReplacingVisitorSupport.java
stat.getCollectionExpression().visit(this); stat.setLoopBlock(replace(stat.getLoopBlock())); } @Override public void visitWhileLoop(WhileStatement stat) { stat.getBooleanExpression().visit(this); stat.setLoopBlock(replace(stat.getLoopBlock())); } @Override public void visitDoWhileLoop(DoWhileStatement stat) { stat.getBooleanExpression().visit(this);
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-28 10:00 - 4.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ArtifactBackedResolvedVariantTest.groovy
def artifact1 = Mock(TestArtifact) def artifact2 = Mock(TestArtifact) def "visits empty variant"() { def visitor = Mock(ResolvedArtifactSet.Visitor) def set1 = of([]) when: set1.artifacts.visit(visitor) then: 0 * _ } def "visits local artifacts of empty variant"() { def visitor = Mock(ResolvedArtifactSet.TransformSourceVisitor)
Registered: 2024-06-12 18:38 - Last Modified: 2023-11-22 04:22 - 8.4K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/data/DocumentDataContainerUtil.kt
Registered: 2024-06-12 18:38 - Last Modified: 2024-05-31 13:47 - 2.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/SourceTaskIntegrationTest.groovy
then: output.count("visit ") == 3 outputContains("visit one.txt") outputContains("visit a") outputContains("visit a/two.txt") when: file("src/a/three.txt").createFile() run "source" then: output.count("visit ") == 4 outputContains("visit one.txt") outputContains("visit a") outputContains("visit a/two.txt")
Registered: 2024-06-12 18:38 - Last Modified: 2021-10-28 09:46 - 4.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeVisitorTest.java
void visitParameterizedType(ParameterizedType t) { visit(t.getActualTypeArguments()); } @Override void visitTypeVariable(TypeVariable<?> t) { visit(t.getBounds()); } }.visit(type); } private static void assertVisited(Type type) { TypeVisitor visitor = new BaseTypeVisitor(); try { visitor.visit(type); fail("Type not visited");
Registered: 2024-06-12 16:38 - Last Modified: 2017-12-04 17:37 - 3.7K bytes - Viewed (0) -
src/cmd/cgo/ast.go
case *ast.CommClause: f.walk(n.Comm, ctxStmt, visit) f.walk(n.Body, ctxStmt, visit) case *ast.SelectStmt: f.walk(n.Body, ctxStmt, visit) case *ast.ForStmt: f.walk(n.Init, ctxStmt, visit) f.walk(&n.Cond, ctxExpr, visit) f.walk(n.Post, ctxStmt, visit) f.walk(n.Body, ctxStmt, visit) case *ast.RangeStmt: f.walk(&n.Key, ctxExpr, visit) f.walk(&n.Value, ctxExpr, visit)
Registered: 2024-06-12 16:32 - Last Modified: 2023-06-07 16:54 - 14.3K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/SingleIncludePatternFileTreeSpec.groovy
when: fileTree.visit(visitor) then: 1 * visitor.visitDir({ it.file == tempDir.file("dir2") }) 1 * visitor.visitDir({ it.file == tempDir.file("dir2/dir2") }) 0 * _ } def "include inner dir"() { fileTree = new SingleIncludePatternFileTree(tempDir.testDirectory, "dir2") when: fileTree.visit(visitor) then:
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-28 09:51 - 11.8K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go
return i.Mapping } // VisitorList implements Visit for the sub visitors it contains. The first error // returned from a child Visitor will terminate iteration. type VisitorList []Visitor // Visit implements Visitor func (l VisitorList) Visit(fn VisitorFunc) error { for i := range l { if err := l[i].Visit(fn); err != nil { return err } } return nil }
Registered: 2024-06-15 01:39 - Last Modified: 2023-07-03 10:17 - 21.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/ClasspathWalkerTest.groovy
dir.file("a/b/empty").createDir() when: walker.visit(dir, visitor) then: 1 * visitor.visit({ it.name == "a.class" }) >> { ClasspathEntryVisitor.Entry entry -> assert entry.path.toString() == "a.class" assert Arrays.equals(entry.content, "a".bytes) } 1 * visitor.visit({ it.name == "a/b/c.class" }) >> { ClasspathEntryVisitor.Entry entry ->
Registered: 2024-06-12 18:38 - Last Modified: 2023-04-20 11:15 - 3.7K bytes - Viewed (0)