Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepflowio/deepflow
/ newTestLabelValue
Function
newTestLabelValue
server/controller/prometheus/cache/cache_test.go:178–180 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
176
}
177
178
func
newTestLabelValue() *labelValue {
179
return
newLabelValue(nil)
180
}
181
182
func
newTestLayout() *metricAndAPPLabelLayout {
183
return
newMetricAndAPPLabelLayout(nil)
Callers
14
TestSelect_LabelValue_LoadOnlyIDAndValue
Function · 0.85
TestSelect_LabelValue_1M_Refresh
Function · 0.85
newTestLabel
Function · 0.85
newTestLabelWithRefs
Function · 0.85
TestLabelValue_AddAndGet
Function · 0.85
TestLabelValue_GetValueToID_SnapshotIsolation
Function · 0.85
TestLabelValue_SnapshotSwap_DiscardsOldEntries
Function · 0.85
TestConcurrentLabelValue_ReadDuringSwap
Function · 0.85
TestConcurrentLabelValue_SnapshotDuringSwap
Function · 0.85
TestLabelValue_LargeScale_MemoryRelease
Function · 0.85
BenchmarkLabelValue_GetIDByValue
Function · 0.85
BenchmarkLabelValue_GetValueToID_Snapshot
Function · 0.85
Calls
1
newLabelValue
Function · 0.70
Tested by
no test coverage detected