Home
last modified time | relevance | path

Searched refs:switch_ (Results 1 – 12 of 12) sorted by relevance

/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/simulator/
Dquic_endpoint_test.cc34 : simulator_(), switch_(&simulator_, "Switch", 8, kDefaultBdp * 2) {} in QuicEndpointTest()
38 Switch switch_; member in quic::simulator::QuicEndpointTest
60 auto link_a = Link(&endpoint_a, switch_.port(1)); in TEST_F()
61 auto link_b = Link(&endpoint_b, switch_.port(2)); in TEST_F()
95 auto link_a = Link(&endpoint_a, switch_.port(1)); in TEST_F()
96 auto link_b = Link(&endpoint_b, switch_.port(2)); in TEST_F()
134 auto link_a = Link(&endpoint_a, switch_.port(1)); in TEST_F()
135 auto link_b = Link(&endpoint_b, switch_.port(2)); in TEST_F()
181 auto link_a = CustomLink(endpoint_a.get(), switch_.port(1), 0); in TEST_F()
182 auto link_b = CustomLink(endpoint_b.get(), switch_.port(2), 1); in TEST_F()
[all …]
Dtest_harness.cc26 TestHarness::TestHarness() : switch_(&simulator_, "Switch", 8, 2 * kBdp) {} in TestHarness()
29 client_link_.emplace(client_, switch_.port(1), kClientBandwidth, in WireUpEndpoints()
31 server_link_.emplace(server_, switch_.port(2), kServerBandwidth, in WireUpEndpoints()
Dtest_harness.h73 Switch switch_; variable
/external/perfetto/src/traced/probes/ftrace/
Dcompact_sched.cc284 if (switch_.size() > 0 || waking_.size() > 0) { in WriteAndReset()
290 if (switch_.size() > 0) in WriteAndReset()
291 switch_.Write(compact_out); in WriteAndReset()
298 switch_.Reset(); in WriteAndReset()
Dcompact_sched.h225 CompactSchedSwitchBuffer& sched_switch() { return switch_; } in sched_switch()
235 CompactSchedSwitchBuffer switch_; variable
/external/cronet/net/third_party/quiche/src/quiche/quic/core/congestion_control/
Dbbr_sender_test.cc143 std::unique_ptr<simulator::Switch> switch_; member in quic::test::BbrSenderTest
175 switch_ = std::make_unique<simulator::Switch>(&simulator_, "Switch", 8, in CreateDefaultSetup()
178 &bbr_sender_, switch_->port(1), kLocalLinkBandwidth, in CreateDefaultSetup()
181 &receiver_, switch_->port(2), kTestLinkBandwidth, in CreateDefaultSetup()
187 switch_ = std::make_unique<simulator::Switch>(&simulator_, "Switch", 8, in CreateSmallBufferSetup()
190 &bbr_sender_, switch_->port(1), kLocalLinkBandwidth, in CreateSmallBufferSetup()
193 &receiver_, switch_->port(2), kTestLinkBandwidth, in CreateSmallBufferSetup()
200 switch_ = std::make_unique<simulator::Switch>(&simulator_, "Switch", 8, in CreateCompetitionSetup()
207 &bbr_sender_, switch_->port(1), kLocalLinkBandwidth, in CreateCompetitionSetup()
210 &competing_sender_, switch_->port(3), kLocalLinkBandwidth, in CreateCompetitionSetup()
[all …]
Dsend_algorithm_test.cc172 switch_ = std::make_unique<simulator::Switch>(&simulator_, "Switch", 8, in CreateSetup()
175 &quic_sender_, switch_->port(1), kLocalLinkBandwidth, in CreateSetup()
178 &receiver_, switch_->port(2), test_bandwidth, test_link_delay); in CreateSetup()
236 std::unique_ptr<simulator::Switch> switch_; member in quic::test::SendAlgorithmTest
Dbbr2_simulator_test.cc207 switch_ = std::make_unique<simulator::Switch>(&simulator_, "Switch", in CreateNetwork()
216 &sender_endpoint_, switch_->port(1), params.local_link.bandwidth, in CreateNetwork()
226 switch_->port(2)); in CreateNetwork()
232 &receiver_endpoint_, switch_->port(2), params.test_link.bandwidth, in CreateNetwork()
300 switch_->port_queue(1)->EnableAggregation(aggregation_bytes, in EnableAggregation()
353 std::unique_ptr<simulator::Switch> switch_; member in quic::test::Bbr2DefaultTopologyTest
1508 const simulator::Queue* queue = switch_->port_queue(2); in TEST_F()
2263 switch_ = std::make_unique<simulator::Switch>(&simulator_, "Switch", in CreateNetwork()
2268 receiver_multiplexer_.get(), switch_->port(1), in CreateNetwork()
2273 sender_endpoints_[i].get(), switch_->port(port_number), in CreateNetwork()
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_control_flow_test.cc349 auto switch_ = in TEST() local
352 switch_.output_false); in TEST()
354 ops::Identity(scope.WithOpName("while/Identity"), switch_.output_true); in TEST()
499 auto switch_ = in TEST() local
502 switch_.output_false); in TEST()
504 ops::Identity(scope.WithOpName("while/Identity"), switch_.output_true); in TEST()
629 auto switch_ = in TEST() local
632 ops::Identity(scope.WithOpName("while/Identity"), switch_.output_true); in TEST()
/external/tensorflow/tensorflow/core/ir/
Dtf_op_names.cc235 op_name == next_iteration_ || op_name == switch_ || in IsControlFlow()
915 return op_name == switch_ || op_name == switch_n_ || op_name == ref_switch_; in IsSwitch()
Dtf_op_names.inc428 StringAttr switch_;
718 switch_ = StringAttr::get(getContext(), "tfg.Switch");
/external/swiftshader/src/Reactor/
DLLVMReactor.cpp4001 auto switch_ = jit->builder->CreateSwitch(action, jit->coroutine.suspendBlock, 3); in promoteFunctionToCoroutine() local
4003 switch_->addCase(llvm::ConstantInt::get(i8Ty, SuspendActionDestroy), jit->coroutine.destroyBlock); in promoteFunctionToCoroutine()
4090 auto switch_ = jit->builder->CreateSwitch(action, jit->coroutine.suspendBlock, 3); in yield() local
4091 switch_->addCase(llvm::ConstantInt::get(i8Ty, SuspendActionResume), resumeBlock); in yield()
4092 switch_->addCase(llvm::ConstantInt::get(i8Ty, SuspendActionDestroy), jit->coroutine.destroyBlock); in yield()