Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 269 for walkIf (0.18 sec)

  1. src/cmd/compile/internal/ssa/sparsetree.go

    	//
    	// Entry and exit values are assigned in a depth-first dominator tree walk.
    	// For all blocks x and y, one of the following holds:
    	//
    	// (x-dom-y) x dominates y => entry(x) < entry(y) < exit(y) < exit(x)
    	// (y-dom-x) y dominates x => entry(y) < entry(x) < exit(x) < exit(y)
    	// (x-then-y) neither x nor y dominates the other and x walked before y => entry(x) < exit(x) < entry(y) < exit(y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/nowb.go

    	extraCalls map[*ir.Func][]nowritebarrierrecCall
    
    	// curfn is the current function during AST walks.
    	curfn *ir.Func
    }
    
    type nowritebarrierrecCall struct {
    	target *ir.Func // caller or callee
    	lineno src.XPos // line of call
    }
    
    // newNowritebarrierrecChecker creates a nowritebarrierrecChecker. It
    // must be called before walk.
    func newNowritebarrierrecChecker() *nowritebarrierrecChecker {
    	c := &nowritebarrierrecChecker{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 17:29:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher.go

    func (w *Watcher) Start(stopCh <-chan struct{}) error {
    	klog.V(2).InfoS("Plugin Watcher Start", "path", w.path)
    
    	// Creating the directory to be watched if it doesn't exist yet,
    	// and walks through the directory to discover the existing plugins.
    	if err := w.init(); err != nil {
    		return err
    	}
    
    	fsWatcher, err := fsnotify.NewWatcher()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:26:37 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/classpath/ClasspathWalkerTest.groovy

        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(ClasspathWalkerTest.class)
        def walker = new ClasspathWalker(TestFiles.fileSystem())
    
        def "skips missing file"() {
            def visitor = Mock(ClasspathEntryVisitor)
    
            when:
            walker.visit(tmpDir.file("missing"), visitor)
    
            then:
            0 * visitor._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top