Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 137 for walkFn (0.25 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf_test.cc

          /*is_in_fallback_enabled_mode=*/false));
    
      FuncOp main = mlir_module_->lookupSymbol<mlir::func::FuncOp>("main");
      ASSERT_TRUE(main);
    
      bool has_cluster_op = false;
      main.walk([&](mlir::tf_device::ClusterFuncOp cluster_op) {
        has_cluster_op = true;
        return WalkResult::advance();
      });
    
      EXPECT_TRUE(has_cluster_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/runtime/checkptr.go

    // See go.dev/issue/67401.
    //
    //go:linkname checkptrBase
    func checkptrBase(p unsafe.Pointer) uintptr {
    	// stack
    	if gp := getg(); gp.stack.lo <= uintptr(p) && uintptr(p) < gp.stack.hi {
    		// TODO(mdempsky): Walk the stack to identify the
    		// specific stack frame or even stack object that p
    		// points into.
    		//
    		// In the mean time, use "1" as a pseudo-address to
    		// represent the stack. This is an invalid address on
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/PropertyValidationAccess.java

                // Don't know about this type
                return;
            }
    
            TypeToken<?> topLevelType = TypeToken.of(topLevelBean);
            TypeMetadataWalker.typeWalker(metadataStore, Nested.class).walk(topLevelType, new TypeMetadataWalker.StaticMetadataVisitor() {
                @Override
                public void visitRoot(TypeMetadata typeMetadata, TypeToken<?> value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      std::vector<mlir::func::FuncOp> to_delete_funcs;
      module.walk([&](mlir::vhlo::ReduceOpV1 reduce_op) {
        auto body = symbol_table.lookup<mlir::func::FuncOp>(
            reduce_op->getAttr("body").cast<mlir::FlatSymbolRefAttr>().getValue());
        InlineVhloOpRegion(reduce_op.getBody(), body);
        reduce_op->removeAttr("body");
        to_delete_funcs.push_back(body);
      });
      module.walk([&](mlir::vhlo::ReduceWindowOpV1 reduce_window_op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  6. 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)
  7. src/internal/coverage/cfile/apis.go

    	// finished clearing the entire counter segment, we will have lost
    	// the values in the prolog portion of main.XYZ's counter slab
    	// (nctrs, pkgid, funcid). This means that later on at the end of
    	// program execution as we walk through the entire counter array
    	// for the program looking for executed functions, we'll zoom past
    	// main.XYZ's prolog (which was zero'd) and hit the non-zero
    	// counter value corresponding to the "HERE" block, which will
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. src/cmd/go/internal/load/pkg.go

    	seen := map[*Package]bool{}
    	all := []*Package{}
    	var walk func(*Package)
    	walk = func(p *Package) {
    		if seen[p] {
    			return
    		}
    		seen[p] = true
    		for _, p1 := range p.Internal.Imports {
    			walk(p1)
    		}
    		all = append(all, p)
    	}
    	for _, root := range roots {
    		walk(root)
    	}
    	return all
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  9. docs/debugging/reorder-disks/main.go

    	}
    
    	if err := scanner.Err(); err != nil {
    		return nil, err
    	}
    
    	return result, nil
    }
    
    func getDiskUUIDMap() (map[string]string, error) {
    	result := make(map[string]string)
    	err := filepath.Walk("/dev/disk/by-uuid/",
    		func(path string, info os.FileInfo, err error) error {
    			if err != nil {
    				return err
    			}
    			realPath, err := filepath.EvalSymlinks(path)
    			if err != nil {
    				return err
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ir/func.go

    	Body Nodes
    
    	Nname    *Name        // ONAME node
    	OClosure *ClosureExpr // OCLOSURE node
    
    	// ONAME nodes for all params/locals for this func/closure, does NOT
    	// include closurevars until transforming closures during walk.
    	// Names must be listed PPARAMs, PPARAMOUTs, then PAUTOs,
    	// with PPARAMs and PPARAMOUTs in order corresponding to the function signature.
    	// Anonymous and blank params are declared as ~pNN (for PPARAMs) and ~rNN (for PPARAMOUTs).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top