Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cortexproject/cortex
/ Len
Method
Len
pkg/ring/model.go:20–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
type
ByAddr []InstanceDesc
19
20
func
(ts ByAddr) Len() int {
return
len(ts) }
21
func
(ts ByAddr) Swap(i, j int) { ts[i], ts[j] = ts[j], ts[i] }
22
func
(ts ByAddr) Less(i, j int) bool {
return
ts[i].Addr < ts[j].Addr }
23
Callers
15
TestThanosBlockConverter
Function · 0.45
resultLength
Function · 0.45
TestQuerierRemoteRead
Function · 0.45
TestDistriubtorAcceptMixedHASamplesRunningInMicroservicesMode
Function · 0.45
TestCanSupportHoltWintersFunc
Function · 0.45
runQuerierShardingTest
Function · 0.45
TestOTLP
Function · 0.45
Test_AllUserStats_WhenIngesterRollingUpdate
Function · 0.45
runQueryFrontendTest
Function · 0.45
TestNativeHistogramIngestionAndQuery
Function · 0.45
Test_TenantFederationRegexResolver_WhenSingleTenantMatched
Function · 0.45
TestRulerAPI
Function · 0.45
Calls
no outgoing calls
Tested by
15
TestThanosBlockConverter
Function · 0.36
resultLength
Function · 0.36
TestQuerierRemoteRead
Function · 0.36
TestDistriubtorAcceptMixedHASamplesRunningInMicroservicesMode
Function · 0.36
TestCanSupportHoltWintersFunc
Function · 0.36
runQuerierShardingTest
Function · 0.36
TestOTLP
Function · 0.36
Test_AllUserStats_WhenIngesterRollingUpdate
Function · 0.36
runQueryFrontendTest
Function · 0.36
TestNativeHistogramIngestionAndQuery
Function · 0.36
Test_TenantFederationRegexResolver_WhenSingleTenantMatched
Function · 0.36
TestRulerAPI
Function · 0.36