Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
open
Method · 0.65
write
Method · 0.65
close
Method · 0.65
Read
Method · 0.65
Next
Method · 0.65
Peek
Method · 0.65
Discard
Method · 0.65
WriteTo
Method · 0.65
write
Method · 0.65
writev
Method · 0.65
Read
Method · 0.65
Next
Method · 0.65
Implementers
1
lockFreeQueue
pkg/queue/lock_free_queue.go
Calls
no outgoing calls
Tested by
10
TestRingBuffer_Write
Function · 0.52
TestZeroRingBuffer
Function · 0.52
TestRingBuffer_Read
Function · 0.52
TestRingBuffer_ByteInterface
Function · 0.52
TestRingBuffer_ReadFrom
Function · 0.52
TestRingBuffer_WriteTo
Function · 0.52
TestMixedBuffer_Basic
Function · 0.52
TestMixedBuffer_ReadFrom
Function · 0.52
TestMixedBuffer_WriteTo
Function · 0.52
TestLinkedListBuffer_Basic
Function · 0.52