MCPcopy Create free account
hub / github.com/cortexproject/cortex / Len

Method Len

pkg/ingester/http_admin.go:72–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70type UserStatsByTimeseries []UserIDStats
71
72func (s UserStatsByTimeseries) Len() int { return len(s) }
73func (s UserStatsByTimeseries) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
74
75func (s UserStatsByTimeseries) Less(i, j int) bool {

Calls

no outgoing calls