Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cortexproject/cortex
/ sortTokens
Function
sortTokens
pkg/ruler/ruler_test.go:2450–2453 ·
view source on GitHub ↗
(tokens []uint32)
Source
from the content-addressed store, hash-verified
2448
}
2449
2450
func
sortTokens(tokens []uint32) []uint32 {
2451
slices.Sort(tokens)
2452
return
tokens
2453
}
2454
2455
func
Test_LoadPartialGroups(t *testing.T) {
2456
const
(
Callers
2
TestSharding
Function · 0.85
TestRulerDisablesRuleGroups
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected