Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cortexlabs/cortex
/ Append
Method
Append
pkg/proxy/request_stats.go:35–39 ·
view source on GitHub ↗
(val int64)
Source
from the content-addressed store, hash-verified
33
}
34
35
func
(s *RequestStats) Append(val int64) {
36
s.Lock()
37
defer
s.Unlock()
38
s.counts = append(s.counts, val)
39
}
40
41
func
(s *RequestStats) GetAllAndDelete() []int64 {
42
var
output []int64
Callers
2
main
Function · 0.95
appendVal
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected