MCPcopy Create free account
hub / github.com/encodeous/nylon / GetInboundElementsContainer

Method GetInboundElementsContainer

polyamide/device/pools.go:72–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70}
71
72func (device *Device) GetInboundElementsContainer() *QueueInboundElementsContainer {
73 c := device.pool.inboundElementsContainer.Get().(*QueueInboundElementsContainer)
74 c.Mutex = sync.Mutex{}
75 return c
76}
77
78func (device *Device) PutInboundElementsContainer(c *QueueInboundElementsContainer) {
79 for i := range c.elems {

Callers 1

Implementers 4

NativeTunpolyamide/tun/tun_linux.go
netTunpolyamide/tun/netstack/tun.go
chTunpolyamide/tun/tuntest/tuntest.go
fakeTUNDeviceSizedpolyamide/device/device_test.go

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected