MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / TEST

Function TEST

test/cpp/fluid/reader/reader_blocking_queue_test.cc:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20using paddle::operators::reader::BlockingQueue;
21
22TEST(BlockingQueue, CapacityTest) {
23 size_t cap = 10;
24 BlockingQueue<int> q(cap);
25 EXPECT_EQ(q.Cap(), cap);
26}
27
28void FirstInFirstOut(size_t queue_cap,
29 size_t elem_num,

Callers

nothing calls this directly

Calls 10

FirstInFirstOutFunction · 0.85
MultiSenderMultiReceiverFunction · 0.85
ReceiveMethod · 0.80
CapMethod · 0.45
SendMethod · 0.45
CloseMethod · 0.45
joinMethod · 0.45
push_backMethod · 0.45
sizeMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected