()
| 21 | func New() *Queue { return &Queue{} } |
| 22 | |
| 23 | func (q *Queue) Len() int { |
| 24 | return int(q.blocks)*BlockSize - BlockSize + int(q.tailx) - int(q.headx) |
| 25 | } |
| 26 | |
| 27 | func (q *Queue) Empty() bool { return q.head == nil } |
| 28 |
no outgoing calls
no test coverage detected