Searched defs:Queue (Results 1 – 2 of 2) sorted by relevance
189 struct Queue { struct195 Queue() : index(0) { } in Queue() argument196 void push(int x, int y) { in push()202 void get(int lag, int* x, int* y) { in get()
602 struct Queue { struct606 inline Queue() : head(NULL), tail(NULL) { in Queue() argument609 inline bool isEmpty() const { in isEmpty()613 inline void enqueueAtTail(T* entry) { in enqueueAtTail()624 inline void enqueueAtHead(T* entry) { in enqueueAtHead()635 inline void dequeue(T* entry) { in dequeue()648 inline T* dequeueAtHead() { in dequeueAtHead()