Searched defs:hb_priority_queue_t (Results 1 – 2 of 2) sorted by relevance
39 struct hb_priority_queue_t struct42 hb_priority_queue_t () { init (); } in hb_priority_queue_t() function43 ~hb_priority_queue_t () { fini (); } in ~hb_priority_queue_t() argument46 typedef hb_pair_t<int64_t, unsigned> item_t;47 hb_vector_t<item_t> heap;50 void init () { heap.init (); } in init()52 void fini () { heap.fini (); } in fini()54 void reset () { heap.resize (0); } in reset()56 bool in_error () const { return heap.in_error (); } in in_error()58 void insert (int64_t priority, unsigned value) in insert()[all …]
39 struct hb_priority_queue_t struct42 hb_priority_queue_t () { init (); } in hb_priority_queue_t() argument43 ~hb_priority_queue_t () { fini (); } in ~hb_priority_queue_t() argument46 typedef hb_pair_t<int64_t, unsigned> item_t;47 hb_vector_t<item_t> heap;50 void init () { heap.init (); } in init()52 void fini () { heap.fini (); } in fini()54 void reset () { heap.resize (0); } in reset()56 bool in_error () const { return heap.in_error (); } in in_error()58 void insert (int64_t priority, unsigned value) in insert()[all …]