Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudwego/netpoll
/ getFlag
Method
getFlag
nocopy_linkbuffer.go:941–943 ·
view source on GitHub ↗
(flag uint8)
Source
from the content-addressed store, hash-verified
939
}
940
941
func
(node *linkBufferNode) getFlag(flag uint8) bool {
942
return
node.mode&flag > 0
943
}
944
945
func
(node *linkBufferNode) setFlag(flag uint8) {
946
node.mode |= flag
Callers
2
growth
Method · 0.80
TestLinkBufferBufferMode
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestLinkBufferBufferMode
Function · 0.64