Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CodisLabs/codis
/ Buffered
Method
Buffered
pkg/proxy/request.go:96–101 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
94
}
95
96
func
(c *RequestChan) Buffered() int {
97
c.lock.Lock()
98
n := len(c.data)
99
c.lock.Unlock()
100
return
n
101
}
102
103
func
(c *RequestChan) PushBack(r *Request) int {
104
c.lock.Lock()
Callers
4
IsEmpty
Method · 0.95
loopReader
Method · 0.80
TestRequestChan1
Function · 0.80
TestRequestChan2
Function · 0.80
Calls
no outgoing calls
Tested by
2
TestRequestChan1
Function · 0.64
TestRequestChan2
Function · 0.64