Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CodisLabs/codis
/ PopFront
Method
PopFront
pkg/proxy/request.go:110–115 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
108
}
109
110
func
(c *RequestChan) PopFront() (*Request, bool) {
111
c.lock.Lock()
112
r, ok := c.lockedPopFront()
113
c.lock.Unlock()
114
return
r, ok
115
}
116
117
func
(c *RequestChan) lockedPushBack(r *Request) int {
118
if
c.closed {
Callers
4
PopFrontAll
Method · 0.95
TestRequestChan1
Function · 0.80
TestRequestChan2
Function · 0.80
TestRequestChan3
Function · 0.80
Calls
1
lockedPopFront
Method · 0.95
Tested by
3
TestRequestChan1
Function · 0.64
TestRequestChan2
Function · 0.64
TestRequestChan3
Function · 0.64