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()
608 struct Queue { struct612 inline Queue() : head(NULL), tail(NULL) { in Queue() argument615 inline bool isEmpty() const { in isEmpty()619 inline void enqueueAtTail(T* entry) { in enqueueAtTail()630 inline void enqueueAtHead(T* entry) { in enqueueAtHead()641 inline void dequeue(T* entry) { in dequeue()654 inline T* dequeueAtHead() { in dequeueAtHead()