Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/dskit
/ String
Method
String
concurrency/buffer.go:21–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
}
20
21
func
(sb *SyncBuffer) String() string {
22
sb.mu.Lock()
23
defer
sb.mu.Unlock()
24
25
return
sb.buf.String()
26
}
27
28
func
(sb *SyncBuffer) Reset() {
29
sb.mu.Lock()
Callers
6
TestTokensPersistencyDelegate_ShouldSkipTokensLoadingIfFileDoesNotExist
Function · 0.95
TestPropagationDelayTracker_LogsHighLatencyBeacons
Function · 0.95
TestTCPTransport_WriteTo_ShouldNotLogAsWarningExpectedFailures
Function · 0.95
TestTCPTransportWriteToUnreachableAddr
Function · 0.95
TestTCPTransportWriterAcquireTimeout
Function · 0.95
TestZeroResponseLogger
Function · 0.95
Calls
1
String
Method · 0.65
Tested by
6
TestTokensPersistencyDelegate_ShouldSkipTokensLoadingIfFileDoesNotExist
Function · 0.76
TestPropagationDelayTracker_LogsHighLatencyBeacons
Function · 0.76
TestTCPTransport_WriteTo_ShouldNotLogAsWarningExpectedFailures
Function · 0.76
TestTCPTransportWriteToUnreachableAddr
Function · 0.76
TestTCPTransportWriterAcquireTimeout
Function · 0.76
TestZeroResponseLogger
Function · 0.76