Showing 1,008 of 1,820 total issues
Avoid deeply nested control flow statements. Open
Open
if postIndex < 0 {
return ErrInvalidLengthLogbroker
}
Avoid deeply nested control flow statements. Open
Open
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowSnapshot
}
if iNdEx >= l {
Avoid deeply nested control flow statements. Open
Open
if postIndex > l {
return io.ErrUnexpectedEOF
}
Avoid deeply nested control flow statements. Open
Open
for iNdEx < postIndex {
var v uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowSnapshot
Avoid deeply nested control flow statements. Open
Open
if packedLen < 0 {
return ErrInvalidLengthSnapshot
}
Avoid deeply nested control flow statements. Open
Open
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
Avoid deeply nested control flow statements. Open
Open
if b < 0x80 {
break
}
Avoid deeply nested control flow statements. Open
Open
if postIndex > l {
return io.ErrUnexpectedEOF
}
Avoid deeply nested control flow statements. Open
Open
if shift >= 64 {
return ErrIntOverflowSnapshot
}
Avoid deeply nested control flow statements. Open
Open
if postIndex < 0 {
return ErrInvalidLengthSnapshot
}
Avoid deeply nested control flow statements. Open
Open
if integer < 128 {
count++
}
Avoid deeply nested control flow statements. Open
Open
if elementCount != 0 && len(m.Removed) == 0 {
m.Removed = make([]uint64, 0, elementCount)
}
Avoid deeply nested control flow statements. Open
Open
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
Avoid deeply nested control flow statements. Open
Open
if postStringIndexmapkey > l {
return io.ErrUnexpectedEOF
}
Avoid deeply nested control flow statements. Open
Open
if b < 0x80 {
break
}
Avoid deeply nested control flow statements. Open
Open
if shift >= 64 {
return ErrIntOverflowSpecs
}
Avoid deeply nested control flow statements. Open
Open
if b < 0x80 {
break
}
Avoid deeply nested control flow statements. Open
Open
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowSpecs
}
if iNdEx >= l {
Avoid deeply nested control flow statements. Open
Open
if shift >= 64 {
return ErrIntOverflowSpecs
}
Avoid deeply nested control flow statements. Open
Open
if iNdEx >= l {
return io.ErrUnexpectedEOF
}