Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 916 for visitor (0.14 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go

    	for i := range l.visitors {
    		i := i
    		g.Go(func() error {
    			return l.visitors[i].Visit(fn)
    		})
    	}
    
    	return g.Wait()
    }
    
    // EagerVisitorList implements Visit for the sub visitors it contains. All errors
    // will be captured and returned at the end of iteration.
    type EagerVisitorList []Visitor
    
    // Visit implements Visitor, and gathers errors that occur during processing until
    // all sub visitors have been visited.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/check/visitor.go

    	"istio.io/istio/pkg/util/istiomultierror"
    )
    
    // Visitor is performs a partial check operation on a single message.
    type Visitor func(echoClient.Response) error
    
    // Visit is a utility method that just invokes this Visitor function on the given response.
    func (v Visitor) Visit(r echoClient.Response) error {
    	return v(r)
    }
    
    // And returns a Visitor that performs a logical AND of this Visitor and the one provided.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 28 23:06:21 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/visitor.go

    	// has been changed.
    	// +optional
    	NestedValueValidation func(vv *NestedValueValidation) bool
    }
    
    // Visit recursively walks through the structural schema and calls the given callbacks
    // at each node of those types.
    func (m *Visitor) Visit(s *Structural) {
    	m.visitStructural(s)
    }
    
    func (m *Visitor) visitStructural(s *Structural) bool {
    	ret := false
    	if m.Structural != nil {
    		ret = m.Structural(s)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/visitor.cc

    #include "mlir/IR/Visitors.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    
    namespace mlir {
    namespace TF {
    
    WalkResult WalkReachableFunctions(
        func::FuncOp func,
        llvm::function_ref<WalkResult(func::FuncOp)> callback,
        SymbolTableCollection* symbol_table) {
      llvm::SmallDenseSet<Operation*> visited;
    
      llvm::SmallVector<func::FuncOp> stack;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 03:46:51 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/visitor.h

    #include "mlir/IR/SymbolTable.h"  // from @llvm-project
    #include "mlir/IR/Visitors.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    
    namespace mlir {
    namespace TF {
    
    // Walks the function by following function call chains and calling the callback
    // for each reachable function (including `func`). Each function is visited only
    // once even if it's called from multiple places and/or recursively.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 03:46:51 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/CompositeFileCollectionSpec.groovy

                protected void visitChildren(Consumer<FileCollectionInternal> visitor) {
                    visitor.accept(child1)
                    visitor.accept(child2)
                }
            }
            def visitor = Mock(FileCollectionStructureVisitor)
    
            when:
            collection.visitStructure(visitor)
    
            then:
            1 * visitor.startVisit(FileCollectionInternal.OTHER, collection) >> true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/SingleIncludePatternFileTreeSpec.groovy

            fileTree.visit(visitor)
    
            then:
            1 * visitor.visitDir({ it.file == tempDir.file("dir1") })
            1 * visitor.visitDir({ it.file == tempDir.file("dir2") })
            1 * visitor.visitDir({ it.file == tempDir.file("dir3") })
            1 * visitor.visitDir({ it.file == tempDir.file("dir2/dir1") })
            1 * visitor.visitDir({ it.file == tempDir.file("dir2/dir2") })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryFileTreeTest.groovy

            when:
            visitor.stopOn = rootFile2
            fileTree.visit(visitor)
    
            then:
            visitor.visited == [rootFile1, rootFile2]
    
            when:
            visitor = new TestVisitor(true)
            visitor.stopOn = dirFile1
            fileTree.visit(visitor)
    
            then:
            visitor.visited == [rootFile1, rootFile2, dir1, dirFile1]
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/ClasspathWalker.java

                    visitFile(file, prefix + file.getName(), visitor);
                } else if (fileMetadata.getType() == FileType.Directory) {
                    visitDir(file, prefix + file.getName() + "/", visitor);
                }
            }
        }
    
        private void visitFile(File file, String name, ClasspathEntryVisitor visitor) throws IOException {
            visitor.visit(new FileEntry(name, file));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/tasks/TaskPropertyUtils.java

            visitAnnotatedProperties(propertyWalker, task, validationContext, visitor);
            visitRegisteredProperties(task, visitor);
        }
    
        private static void visitRegisteredProperties(TaskInternal task, PropertyVisitor visitor) {
            task.getInputs().visitRegisteredProperties(visitor);
            task.getOutputs().visitRegisteredProperties(visitor);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 15 21:46:24 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top