(c *QueueInboundElementsContainer)
| 76 | } |
| 77 | |
| 78 | func (device *Device) PutInboundElementsContainer(c *QueueInboundElementsContainer) { |
| 79 | for i := range c.elems { |
| 80 | c.elems[i] = nil |
| 81 | } |
| 82 | c.elems = c.elems[:0] |
| 83 | device.pool.inboundElementsContainer.Put(c) |
| 84 | } |
| 85 | |
| 86 | func (device *Device) GetOutboundElementsContainer() *QueueOutboundElementsContainer { |
| 87 | c := device.pool.outboundElementsContainer.Get().(*QueueOutboundElementsContainer) |
no test coverage detected