Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 480 for walkFn (0.21 sec)

  1. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryFileTreeTest.groovy

        }
    
        /**
        file structure:
        root
            rootFile1
            dir1
               dirFile1
               dirFile2
            rootFile2
    
            Test that the files are really walked breadth first
         */
        def "walk breadth first - isReproducible: #visitor.isReproducibleFileOrder"() {
            given:
            def root = temporaryFolder.createDir("root")
            def rootFile1 = root.createFile("rootFile1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/closure.go

    	clofn.SetNeedctxt(true)
    
    	// The closure expression may be walked more than once if it appeared in composite
    	// literal initialization (e.g, see issue #49029).
    	//
    	// Don't add the closure function to compilation queue more than once, since when
    	// compiling a function twice would lead to an ICE.
    	if !clofn.Walked() {
    		clofn.SetWalked(true)
    		ir.CurFunc.Closures = append(ir.CurFunc.Closures, clofn)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:56:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/switch.go

    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/src"
    )
    
    // walkSwitch walks a switch statement.
    func walkSwitch(sw *ir.SwitchStmt) {
    	// Guard against double walk, see #25776.
    	if sw.Walked() {
    		return // Was fatal, but eliminating every possible source of double-walking is hard
    	}
    	sw.SetWalked(true)
    
    	if sw.Tag != nil && sw.Tag.Op() == ir.OTYPESW {
    		walkSwitchType(sw)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

      // Walk the input and output dependencies of the Ops in `operations` to form
      // the closer of Ops needed to evaluate 'operations'. Input dependencies are
      // walked if 'predecessors' is true and output dependencies are walked if
      // 'successors' is true. In either case, if a discoverd Op is in the
      // 'ops_to_avoid' set, then the dependency walking is terminated.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/tasks/CachingTaskDependencyResolveContext.java

        private final Deque<Object> queue = new ArrayDeque<Object>();
        private final CachingDirectedGraphWalker<Object, T> walker;
        private Task task;
    
        public CachingTaskDependencyResolveContext(Collection<? extends WorkDependencyResolver<T>> workResolvers) {
            this.walker = new CachingDirectedGraphWalker<>(new TaskGraphImpl(workResolvers));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:48:26 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. platforms/software/version-control/src/testFixtures/groovy/org/gradle/vcs/fixtures/GitFileRepository.java

            List<String> submodulePaths = new ArrayList<>();
            try {
                SubmoduleWalk walker = SubmoduleWalk.forIndex(git.getRepository());
                try {
                    while (walker.next()) {
                        Repository submodule = walker.getRepository();
                        try {
                            submodulePaths.add(walker.getPath());
                            Git.wrap(submodule).pull().call();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/CachingDependencyResolveContext.java

        }
    
        public Map<String, String> getAttributes() {
            return attributes;
        }
    
        public FileCollection resolve() {
            try {
                walker.add(queue);
                return new UnionFileCollection(taskDependencyFactory, walker.findValues());
            } finally {
                queue.clear();
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:16:36 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. src/text/template/exec.go

    	truth, ok := isTrue(indirectInterface(val))
    	if !ok {
    		s.errorf("if/with can't use %v", val)
    	}
    	if truth {
    		if typ == parse.NodeWith {
    			s.walk(val, list)
    		} else {
    			s.walk(dot, list)
    		}
    	} else if elseList != nil {
    		s.walk(dot, elseList)
    	}
    }
    
    // IsTrue reports whether the value is 'true', in the sense of not the zero of its type,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/AbstractTaskInputsAndOutputsTest.groovy

            def visitor = new GetInputPropertiesVisitor()
            TaskPropertyUtils.visitProperties(walker, task, visitor)
            return visitor.properties.collectEntries { [it.propertyName, InputParameterUtils.prepareInputParameterValue(it.value)] }
        }
    
        def inputFileProperties() {
            def inputFiles = [:]
            TaskPropertyUtils.visitProperties(walker, task, new PropertyVisitor() {
                @Override
                void visitInputFileProperty(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. hack/boilerplate/boilerplate.py

            files = args.filenames
        else:
            for root, dirs, walkfiles in os.walk(args.rootdir):
                # don't visit certain dirs. This is just a performance improvement
                # as we would prune these later in normalize_files(). But doing it
                # cuts down the amount of filesystem walking we do and cuts down
                # the size of the file list
                for dname in skipped_names:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top