MCPcopy Index your code
hub / github.com/panjf2000/gnet / IsEmpty

Method IsEmpty

pkg/queue/queue.go:46–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 Enqueue(*Task)
45 Dequeue() *Task
46 IsEmpty() bool
47 Length() int32
48}
49

Callers 15

openMethod · 0.65
writeMethod · 0.65
closeMethod · 0.65
ReadMethod · 0.65
NextMethod · 0.65
PeekMethod · 0.65
DiscardMethod · 0.65
WriteToMethod · 0.65
writeMethod · 0.65
writevMethod · 0.65
ReadMethod · 0.65
NextMethod · 0.65

Implementers 1

lockFreeQueuepkg/queue/lock_free_queue.go

Calls

no outgoing calls

Tested by 10

TestRingBuffer_WriteFunction · 0.52
TestZeroRingBufferFunction · 0.52
TestRingBuffer_ReadFunction · 0.52
TestRingBuffer_ReadFromFunction · 0.52
TestRingBuffer_WriteToFunction · 0.52
TestMixedBuffer_BasicFunction · 0.52
TestMixedBuffer_ReadFromFunction · 0.52
TestMixedBuffer_WriteToFunction · 0.52