Searched refs:number_packets (Results 1 – 5 of 5) sorted by relevance
42 void Fifo::OnPacketsReady(Cid cid, int number_packets) { in OnPacketsReady() argument43 if (number_packets == 0) { in OnPacketsReady()46 next_to_dequeue_and_num_packets.push(std::make_pair(cid, number_packets)); in OnPacketsReady()
53 void OnPacketsReady(Cid cid, int number_packets) override { in OnPacketsReady() argument54 on_packets_ready_(cid, number_packets); in OnPacketsReady()57 void SetOnPacketsReady(std::function<void(Cid cid, int number_packets)> callback) { in SetOnPacketsReady()60 std::function<void(Cid cid, int number_packets)> on_packets_ready_;105 scheduler_.SetOnPacketsReady([&promise](Cid cid, int number_packets) { promise.set_value(); }); in TEST_F() argument
55 virtual void OnPacketsReady(Cid cid, int number_packets) {} in OnPacketsReady() argument
41 void OnPacketsReady(Cid cid, int number_packets) override;
184 number_packets = self._basic_mode_tx_fixed_interval(672)186 self.log.info("Packets sent: %d" % number_packets)187 assertThat(number_packets > 500).isTrue()