- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for setPos (0.19 sec)
-
src/cmd/compile/internal/ssagen/ssa.go
p.Pos = p.Pos.WithNotStmt() } return p } // Pc returns the current Prog. func (s *State) Pc() *obj.Prog { return s.pp.Next } // SetPos sets the current source position. func (s *State) SetPos(pos src.XPos) { s.pp.Pos = pos } // Br emits a single branch instruction and returns the instruction. // Not all architectures need the returned instruction, but otherwise
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
if v < 0 { return false } if (v & 0xFFF) == 0 { v >>= 12 } return v <= 0xFFF } // setPos sets the position of v to pos, then returns true. // Useful for setting the result of a rewrite's position to // something other than the default. func setPos(v *Value, pos src.XPos) bool { v.Pos = pos return true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
pkg/kubelet/volumemanager/volume_manager_test.go
manager := newTestVolumeManager(t, tmpDir, podManager, kubeClient, node) stopCh := runVolumeManager(manager) defer close(stopCh) podManager.SetPods([]*v1.Pod{pod}) // Fake node status update go simulateVolumeInUseUpdate( v1.UniqueVolumeName(node.Status.VolumesAttached[0].Name), stopCh, manager)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
if (!name.empty()) node_def->set_name(std::string(ParseTensorName(name.str()).node())); else node_def->set_name( std::string(op_to_name_.GetUniqueName(func.getName().str()))); node_def->set_op(FunctionLibraryDefinition::kArgOp); mlir::TensorType arg_type = mlir::cast<mlir::TensorType>(arg.getType()); if (auto resource_type = mlir::dyn_cast<mlir::TF::ResourceType>(arg_type.getElementType())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0)