Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudwego/netpoll
/ IsEmpty
Method
IsEmpty
nocopy_linkbuffer.go:879–881 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
877
}
878
879
func
(node *linkBufferNode) IsEmpty() (ok bool) {
880
return
node.off == len(node.buf)
881
}
882
883
func
(node *linkBufferNode) Reset() {
884
if
node.origin != nil || atomic.LoadInt32(&node.refer) != 1 {
Callers
9
SetOnRequest
Method · 0.45
isIdle
Method · 0.45
TestLinkBuffer
Function · 0.45
TestLinkBufferWithInvalid
Function · 0.45
TestLinkBufferMultiNode
Function · 0.45
TestLinkBufferPeekOutOfMemory
Function · 0.45
outputs
Method · 0.45
outputAck
Method · 0.45
flush
Method · 0.45
Calls
no outgoing calls
Tested by
4
TestLinkBuffer
Function · 0.36
TestLinkBufferWithInvalid
Function · 0.36
TestLinkBufferMultiNode
Function · 0.36
TestLinkBufferPeekOutOfMemory
Function · 0.36