MCPcopy
hub / github.com/grafana/dskit / Len

Method Len

kv/memberlist/memberlist_client_test.go:175–175  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173type sortableUint32 []uint32
174
175func (ts sortableUint32) Len() int { return len(ts) }
176func (ts sortableUint32) Swap(i, j int) { ts[i], ts[j] = ts[j], ts[i] }
177func (ts sortableUint32) Less(i, j int) bool { return ts[i] < ts[j] }
178

Calls

no outgoing calls

Tested by

no test coverage detected