MCPcopy Create free account
hub / github.com/apache/incubator-pegasus / queue_data

Class queue_data

src/utils/test/priority_queue.cpp:51–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49using namespace ::dsn::utils;
50
51struct queue_data
52{
53 int32_t priority;
54 int32_t queue_index;
55
56 queue_data(int32_t pri, int32_t idx) : priority(pri), queue_index(idx) {}
57};
58
59typedef priority_queue<queue_data *, 3> my_priority_queue;
60TEST(core, priority_queue)

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68