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

Function sozRing

pkg/ring/ring.pb.go:555–557  ·  view source on GitHub ↗
(x uint64)

Source from the content-addressed store, hash-verified

553 return (math_bits.Len64(x|1) + 6) / 7
554}
555func sozRing(x uint64) (n int) {
556 return sovRing(uint64((x << 1) ^ uint64((int64(x) >> 63))))
557}
558func (this *Desc) String() string {
559 if this == nil {
560 return "nil"

Callers

nothing calls this directly

Calls 1

sovRingFunction · 0.85

Tested by

no test coverage detected