Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 323 for walkFn (0.16 sec)

  1. 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)
  2. staging/src/k8s.io/apiserver/pkg/util/openapi/enablement.go

    			orig := &def.Schema
    			if ret := pruneEnums(orig); ret != orig {
    				def.Schema = *ret
    				defs[gvk] = def
    			}
    		}
    	}
    }
    
    func pruneEnums(schema *spec.Schema) *spec.Schema {
    	walker := schemamutation.Walker{
    		SchemaCallback: func(schema *spec.Schema) *spec.Schema {
    			orig := schema
    			clone := func() {
    				if orig == schema { // if schema has not been mutated yet
    					schema = new(spec.Schema)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 06 17:24:29 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. 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)
  4. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/TaskPropertyTestUtils.groovy

            GetInputFilesVisitor visitor = new GetInputFilesVisitor(task.toString(), fileCollectionFactory)
            def walker = task.getServices().get(PropertyWalker)
            TaskPropertyUtils.visitProperties(walker, task, visitor)
            return new CompositeFileCollection() {
                @Override
                String getDisplayName() {
                    return task + " input files"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 15 21:15:57 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterAsDirectoryWalkerTest.groovy

            fileTree.visit(fileVisitor)
            visited
        }
    
        @Override
        protected List<String> walkDirForPaths(DirectorySnapshotter walker, File rootDir, PatternSet patternSet) {
            def snapshot = walker.snapshot(rootDir.absolutePath, directoryWalkerPredicate(patternSet), [:], completeSnapshotConsumer)
            return SnapshotVisitorUtil.getAbsolutePaths(snapshot)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. test/fixedbugs/issue8076.go

    // compile
    
    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 8076. nilwalkfwd walked forward forever
    // on the instruction loop following the dereference.
    
    package main
    
    func main() {
    	_ = *(*int)(nil)
    L:
    	_ = 0
    	goto L
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 342 bytes
    - Viewed (0)
  9. src/go/types/mono.go

    	var stack []int
    	seen := make([]bool, len(check.mono.vertices))
    
    	// We have a path that contains a cycle and ends at v, but v may
    	// only be reachable from the cycle, not on the cycle itself. We
    	// start by walking backwards along the path until we find a vertex
    	// that appears twice.
    	for !seen[v] {
    		stack = append(stack, v)
    		seen[v] = true
    		v = check.mono.edges[check.mono.vertices[v].pre].src
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. platforms/software/version-control/src/main/java/org/gradle/vcs/git/internal/GitVersionControlSystem.java

                }
            }
        }
    
        private static void updateSubModules(Git git) throws IOException, GitAPIException {
            try (SubmoduleWalk walker = SubmoduleWalk.forIndex(git.getRepository())) {
                while (walker.next()) {
                    try (Repository submodule = walker.getRepository()) {
                        if (submodule != null) {
                            Git submoduleGit = Git.wrap(submodule);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 14:54:52 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top