MCPcopy 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
110func (c *RequestChan) PopFront() (*Request, bool) {
111 c.lock.Lock()
112 r, ok := c.lockedPopFront()
113 c.lock.Unlock()
114 return r, ok
115}
116
117func (c *RequestChan) lockedPushBack(r *Request) int {
118 if c.closed {

Callers 4

PopFrontAllMethod · 0.95
TestRequestChan1Function · 0.80
TestRequestChan2Function · 0.80
TestRequestChan3Function · 0.80

Calls 1

lockedPopFrontMethod · 0.95

Tested by 3

TestRequestChan1Function · 0.64
TestRequestChan2Function · 0.64
TestRequestChan3Function · 0.64