Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for walkIf (0.14 sec)

  1. src/cmd/go/internal/fsys/fsys.go

    		if err := walk(filename, fi, walkFn); err != nil {
    			if !fi.IsDir() || err != filepath.SkipDir {
    				return err
    			}
    		}
    	}
    	return nil
    }
    
    // Walk walks the file tree rooted at root, calling walkFn for each file or
    // directory in the tree, including root.
    func Walk(root string, walkFn filepath.WalkFunc) error {
    	Trace("Walk", root)
    	info, err := Lstat(root)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.groovy

                        GetInputFilesVisitor visitor = new GetInputFilesVisitor("ownerName", fileCollectionFactory)
                        def walker = services.get(PropertyWalker)
                        TaskPropertyUtils.visitProperties(walker, this, visitor)
                        def inputFiles = visitor.fileProperties*.propertyFiles*.files.flatten()
                        assert inputFiles.empty
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    		s3Type := r.Target.Type == BatchJobReplicateResourceS3 || r.Source.Type == BatchJobReplicateResourceS3
    
    		if err := api.Walk(ctx, r.Source.Bucket, r.Source.Prefix, walkCh, WalkOptions{
    			Marker:   lastObject,
    			Filter:   selectObj,
    			AskDisks: walkQuorum,
    		}); err != nil {
    			cancel()
    			// Do not need to retry if we can't list objects on source.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc

        std::vector<mlir::func::FuncOp>* funcs,
        flatbuffers::FlatBufferBuilder* builder,
        std::map<std::string, uint8_t>* hardware_names) {
      uint8_t index = 0;
      for (auto& func : *funcs) {
        func.walk([&hardware_names, &index](mlir::Operation* op) {
          auto device_name = GetDeviceName(op);
          if (!device_name.has_value()) return;
    
          auto iter = hardware_names->find(*device_name);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

      // per replica > 1, it does not need to be skipped.
      if (num_cores_per_replica != 1) return success();
    
      llvm::SetVector<Value> bcasts;
      cluster->walk([&](Operation* op) {
        if (op == cluster) return WalkResult::advance();
        for (auto operand : op->getOperands()) {
          Operation* scope = operand.getParentBlock()->getParentOp();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    		return baseIfStmt(path, enclosingIndex+1)
    	case *ast.ForStmt:
    		if expr.Init == enclosingStmt || expr.Post == enclosingStmt {
    			return expr
    		}
    	}
    	return enclosingStmt.(ast.Stmt)
    }
    
    // baseIfStmt walks up the if/else-if chain until we get to
    // the top of the current if chain.
    func baseIfStmt(path []ast.Node, index int) ast.Stmt {
    	stmt := path[index]
    	for i := index + 1; i < len(path); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/sessionBuilderTestUtils.kt

            Assertions.assertEquals(callableId, symbol.callableId)
        }
    }
    
    internal fun compileCommonKlib(kLibSourcesRoot: Path): Path {
        val ktFiles = Files.walk(kLibSourcesRoot).asSequence().filter { it.extension == "kt" }.toList()
        val testKlib = KtTestUtil.tmpDir("testLibrary").resolve("library.klib").toPath()
    
        val arguments = buildList {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/debug.go

    	// Populate "rval" with what we've computed.
    	rval.Slots = state.slots
    	rval.VarSlots = state.varSlots
    	rval.Vars = state.vars
    	rval.LocationLists = state.lists
    }
    
    // liveness walks the function in control flow order, calculating the start
    // and end state of each block.
    func (state *debugState) liveness() []*BlockDebug {
    	blockLocs := make([]*BlockDebug, state.f.NumBlocks())
    	counterTime := int32(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  9. cmd/storage-interface.go

    	ListVols(ctx context.Context) (vols []VolInfo, err error)
    	StatVol(ctx context.Context, volume string) (vol VolInfo, err error)
    	DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error)
    
    	// WalkDir will walk a directory on disk and return a metacache stream on wr.
    	WalkDir(ctx context.Context, opts WalkDirOptions, wr io.Writer) error
    
    	// Metadata operations
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/build.gradle

                    "snippet-dependency-management-working-with-dependencies-walk-graph_groovy_walking-dependency-graph.sample",
                    "snippet-dependency-management-working-with-dependencies-walk-graph_kotlin_walking-dependency-graph.sample",
    
                    "snippet-ide-eclipse_groovy_wtpWithXml.sample",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:37:11 UTC 2024
    - 42K bytes
    - Viewed (0)
Back to top