- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for afterStop (0.24 sec)
-
src/context/context_test.go
cancelChild, stop := WithCancel(parent) defer stop() valueChild := WithValue(parent, "key", "value") timerChild, stop := WithTimeout(valueChild, veryLongDuration) defer stop() afterStop := AfterFunc(parent, func() {}) defer afterStop() select { case x := <-parent.Done(): t.Errorf("<-parent.Done() == %v want nothing (it should block)", x) case x := <-cancelChild.Done():
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 19 19:13:01 UTC 2023 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/merge_control_flow.cc
absl::flat_hash_set<Operation*> GetMoveOpsBetweenTwoIfRegions( Operation* result_op, Operation* after_op, llvm::SmallSetVector<Operation*, 4> middle_if_ops, const std::unique_ptr<TF::SideEffectAnalysis>& side_effect_analysis) { Block* block = after_op->getBlock(); std::queue<Operation*> queue; absl::flat_hash_set<Operation*> visited; absl::flat_hash_set<Operation*> moved_ops;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 17 07:31:01 UTC 2023 - 25.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc
if (!external_operands.empty()) host_ops.push_back(recv_at_host); Operation* after_op = recv_at_host; for (Operation* cluster_op : clustered_ops) { cluster_op->moveAfter(after_op); cluster_op->removeAttr(StringAttr::get(op.getContext(), kDeviceAttr)); after_op = cluster_op; host_ops.push_back(cluster_op); } if (!external_outputs.empty()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0)