Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 137 for walkFn (0.19 sec)

  1. src/go/types/format.go

    		if len(check.pkgPathMap[pkg.name]) > 1 {
    			return strconv.Quote(pkg.path)
    		}
    		return pkg.name
    	}
    	return ""
    }
    
    // markImports recursively walks pkg and its imports, to record unique import
    // paths in pkgPathMap.
    func (check *Checker) markImports(pkg *Package) {
    	if check.seenPkgMap[pkg] {
    		return
    	}
    	check.seenPkgMap[pkg] = true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/sym.go

    	fninfo := fsym.Func()
    	pc := &fninfo.Pcln
    	if flag&traverseAux == 0 {
    		// NB: should it become necessary to walk aux sym reloc references
    		// without walking the aux syms themselves, this can be changed.
    		panic("should not be here")
    	}
    	for _, d := range pc.Funcdata {
    		if d != nil {
    			fn(fsym, d)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtModuleUtils.kt

     *
     * E.g., for `project/app/src` as a [root], this will walk the file tree and
     * collect all `.kt`, `.kts`, and `.java` files under that folder.
     *
     * Note that this util gracefully skips [IOException] during file tree traversal.
     */
    internal fun collectSourceFilePaths(root: Path): List<Path> {
        // NB: [Files#walk] throws an exception if there is an issue during IO.
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_calibration_statistics_saver.cc

      // Insert CalibrationStatisticsSaverOp to the end of each region.
      for (auto func_op : module_op.getOps<func::FuncOp>()) {
        int32_t output_file_idx = 0;
        StringRef func_name = func_op.getSymName();
    
        func_op.walk([&output_file_idx, &ctx, &func_name, &aggregator_ops_to_ignore,
                      this](Operation* op) {
          for (Region& region : op->getRegions()) {
            if (succeeded(InsertCalibrationStatisticsSaverOp(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/internal/trace/internal/oldtrace/parser_test.go

    			if err != ErrTimeOrder {
    				t.Errorf("unordered trace is not detected %v: %v", f.Name(), err)
    			}
    		default:
    			t.Errorf("unknown input file suffix: %v", f.Name())
    		}
    	}
    }
    
    // checkTrace walks over a good trace and makes a bunch of additional checks
    // that may not cause the parser to outright fail.
    func checkTrace(t *testing.T, ver int, res Trace) {
    	for i := 0; i < res.Events.Len(); i++ {
    		ev := res.Events.Ptr(i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/compile/internal/types2/format.go

    		if len(check.pkgPathMap[pkg.name]) > 1 {
    			return strconv.Quote(pkg.path)
    		}
    		return pkg.name
    	}
    	return ""
    }
    
    // markImports recursively walks pkg and its imports, to record unique import
    // paths in pkgPathMap.
    func (check *Checker) markImports(pkg *Package) {
    	if check.seenPkgMap[pkg] {
    		return
    	}
    	check.seenPkgMap[pkg] = true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/package-info.java

     *  </p>
     *  <p>
     *      Object serialization is a graph-walking process, and as such, it has a recursive nature.
     *  </p>
     *  <p></p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top