Lines Matching refs:kNumPackets
84 const int kNumPackets = 10; in TEST_F() local
86 SendPackets(pipe.get(), kNumPackets, kPacketSize); in TEST_F()
123 const int kNumPackets = 2; in TEST_F() local
125 SendPackets(pipe.get(), kNumPackets, kPacketSize); in TEST_F()
217 const int kNumPackets = 10; in TEST_F() local
219 SendPackets(pipe.get(), kNumPackets, kPacketSize); in TEST_F()
229 for (int i = 0; i < kNumPackets; ++i) { in TEST_F()
241 SendPackets(pipe.get(), kNumPackets, kPacketSize); in TEST_F()
251 for (int i = 0; i < kNumPackets; ++i) { in TEST_F()
258 EXPECT_EQ(static_cast<size_t>(2 * kNumPackets), pipe->SentPackets()); in TEST_F()
278 const int kNumPackets = 20; in TEST_F() local
280 SendPackets(pipe.get(), kNumPackets, kPacketSize); in TEST_F()
288 for (int i = 0; i < kNumPackets / 2; ++i) { in TEST_F()
300 for (int i = 0; i < kNumPackets / 2; ++i) { in TEST_F()
307 EXPECT_EQ(static_cast<size_t>(kNumPackets), pipe->SentPackets()); in TEST_F()
327 const uint32_t kNumPackets = 100; in TEST_F() local
329 SendPackets(pipe.get(), kNumPackets, kPacketSize); in TEST_F()
334 EXPECT_EQ(kNumPackets, receiver.delivered_sequence_numbers_.size()); in TEST_F()
343 SendPackets(pipe.get(), kNumPackets, kPacketSize); in TEST_F()
350 EXPECT_EQ(kNumPackets, receiver.delivered_sequence_numbers_.size()); in TEST_F()
366 const int kNumPackets = 10000; in TEST_F() local
370 config.queue_length_packets = kNumPackets; in TEST_F()
378 SendPackets(pipe.get(), kNumPackets, kPacketSize); in TEST_F()
383 int lost_packets = kNumPackets - receiver.delivered_sequence_numbers_.size(); in TEST_F()
384 double loss_fraction = lost_packets / static_cast<double>(kNumPackets); in TEST_F()