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

Function sozRuler

pkg/ruler/ruler.pb.go:1810–1812  ·  view source on GitHub ↗
(x uint64)

Source from the content-addressed store, hash-verified

1808 return (math_bits.Len64(x|1) + 6) / 7
1809}
1810func sozRuler(x uint64) (n int) {
1811 return sovRuler(uint64((x << 1) ^ uint64((int64(x) >> 63))))
1812}
1813func (this *RulesRequest) String() string {
1814 if this == nil {
1815 return "nil"

Callers

nothing calls this directly

Calls 1

sovRulerFunction · 0.85

Tested by

no test coverage detected