Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/netdata/netdata
/ Write
Method
Write
src/go/plugin/framework/functions/manager_flow_test.go:38–42 ·
view source on GitHub ↗
(p []byte)
Source
from the content-addressed store, hash-verified
36
}
37
38
func
(s *safeBuffer) Write(p []byte) (int, error) {
39
s.mu.Lock()
40
defer
s.mu.Unlock()
41
return
s.b.Write(p)
42
}
43
44
func
(s *safeBuffer) String() string {
45
s.mu.Lock()
Callers
nothing calls this directly
Calls
3
Lock
Method · 0.80
Unlock
Method · 0.80
Write
Method · 0.65
Tested by
no test coverage detected