zhangmeng
2019-07-09 49f32c9b47a832671b517ab1d88d642d699e497f
update
1个文件已修改
10 ■■■■ 已修改文件
protomsg.pb.go 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
protomsg.pb.go
@@ -9,7 +9,6 @@
    proto "github.com/gogo/protobuf/proto"
    io "io"
    math "math"
    math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
@@ -3440,7 +3439,14 @@
}
func sovProtomsg(x uint64) (n int) {
    return (math_bits.Len64(x|1) + 6) / 7
    for {
        n++
        x >>= 7
        if x == 0 {
            break
        }
    }
    return n
}
func sozProtomsg(x uint64) (n int) {
    return sovProtomsg(uint64((x << 1) ^ uint64((int64(x) >> 63))))