Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 264 for walkFn (0.2 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecResolutionTest.groovy

            child.from('somedir') { into '/grandchild' }
    
            when:
            List<RelativePath> paths = new ArrayList<RelativePath>()
            parentSpec.buildRootResolver().walk(new Action<CopySpecResolver>() {
                void execute(CopySpecResolver csr) {
                    paths.add(csr.destPath)
                }
            })
    
            then:
            paths == [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 28 12:39:32 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. cmd/object-api-interface.go

    	ListObjectVersions(ctx context.Context, bucket, prefix, marker, versionMarker, delimiter string, maxKeys int) (result ListObjectVersionsInfo, err error)
    	// Walk lists all objects including versions, delete markers.
    	Walk(ctx context.Context, bucket, prefix string, results chan<- itemOrErr[ObjectInfo], opts WalkOptions) error
    
    	// Object operations.
    
    	// GetObjectNInfo returns a GetObjectReader that satisfies the
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 20:27:52 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/infer.go

    	// Generally, cycles may occur across multiple type parameters and inferred types
    	// (for instance, consider [P interface{ *Q }, Q interface{ func(P) }]).
    	// We eliminate cycles by walking the graphs for all type parameters. If a cycle
    	// through a type parameter is detected, killCycles nils out the respective type
    	// (in the inferred list) which kills the cycle, and marks the corresponding type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

      return success();
    }
    
    // Removes identities and canonicalizes all operations within `parent_op`.
    LogicalResult CleanupAndCanonicalize(Operation *parent_op) {
      auto walk_result = parent_op->walk([](Operation *op) {
        // Cleanup code in attached regions.
        for (Region &region : op->getRegions()) {
          if (!llvm::hasSingleElement(region)) return WalkResult::interrupt();
          RemovePassthroughOp(region.front());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DelegatingCopySpecInternal.java

        }
    
        @Override
        public CopySpecInternal addFirst() {
            return getDelegateCopySpec().addFirst();
        }
    
        @Override
        public void walk(Action<? super CopySpecResolver> action) {
            getDelegateCopySpec().walk(action);
        }
    
        @Override
        public CopySpecResolver buildRootResolver() {
            return getDelegateCopySpec().buildRootResolver();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 10:41:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DefaultCopySpec.java

            return this;
        }
    
        @Override
        public Collection<CopySpecInternal> getChildren() {
            return childSpecs;
        }
    
        @Override
        public void walk(Action<? super CopySpecResolver> action) {
            buildRootResolver().walk(action);
        }
    
        @Override
        public CopySpecResolver buildResolverRelativeToParent(CopySpecResolver parent) {
            return this.new DefaultCopySpecResolver(parent);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:25:10 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  7. src/regexp/syntax/regexp.go

    		b.WriteString(`}`)
    	}
    }
    
    // MaxCap walks the regexp to find the maximum capture index.
    func (re *Regexp) MaxCap() int {
    	m := 0
    	if re.Op == OpCapture {
    		m = re.Cap
    	}
    	for _, sub := range re.Sub {
    		if n := sub.MaxCap(); m < n {
    			m = n
    		}
    	}
    	return m
    }
    
    // CapNames walks the regexp to find the names of capturing groups.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:51 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/search/search.go

    	dir = str.WithFilePathSeparator(dir)
    	err := fsys.Walk(dir, func(path string, fi fs.FileInfo, err error) error {
    		if err != nil {
    			return err // Likely a permission error, which could interfere with matching.
    		}
    		if !fi.IsDir() {
    			return nil
    		}
    		top := false
    		if path == dir {
    			// Walk starts at dir and recurses. For the recursive case,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:05 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  9. src/cmd/fix/fix.go

    func register(f fix) {
    	fixes = append(fixes, f)
    }
    
    // walk traverses the AST x, calling visit(y) for each node y in the tree but
    // also with a pointer to each ast.Expr, ast.Stmt, and *ast.BlockStmt,
    // in a bottom-up traversal.
    func walk(x any, visit func(any)) {
    	walkBeforeAfter(x, nop, visit)
    }
    
    func nop(any) {}
    
    // walkBeforeAfter is like walk but calls before(x) before traversing
    // x's children and after(x) afterward.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 14.6K bytes
    - Viewed (0)
  10. src/go/types/infer.go

    	// Generally, cycles may occur across multiple type parameters and inferred types
    	// (for instance, consider [P interface{ *Q }, Q interface{ func(P) }]).
    	// We eliminate cycles by walking the graphs for all type parameters. If a cycle
    	// through a type parameter is detected, killCycles nils out the respective type
    	// (in the inferred list) which kills the cycle, and marks the corresponding type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top