Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newPacketQueue (0.09 sec)

  1. src/net/net_fake.go

    	ready chan packetQueueState // contains the packets when non-empty or closed
    	full  chan packetQueueState // contains the packets when buffer is full and not closed
    }
    
    func newPacketQueue(readBufferBytes int) *packetQueue {
    	pq := &packetQueue{
    		empty: make(chan packetQueueState, 1),
    		ready: make(chan packetQueueState, 1),
    		full:  make(chan packetQueueState, 1),
    	}
    	pq.put(packetQueueState{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
Back to top