(dAtA []byte)
| 7031 | return nil |
| 7032 | } |
| 7033 | func skipCortex(dAtA []byte) (n int, err error) { |
| 7034 | l := len(dAtA) |
| 7035 | iNdEx := 0 |
| 7036 | for iNdEx < l { |
| 7037 | var wire uint64 |
| 7038 | for shift := uint(0); ; shift += 7 { |
| 7039 | if shift >= 64 { |
| 7040 | return 0, ErrIntOverflowCortex |
| 7041 | } |
| 7042 | if iNdEx >= l { |
| 7043 | return 0, io.ErrUnexpectedEOF |
| 7044 | } |
| 7045 | b := dAtA[iNdEx] |
| 7046 | iNdEx++ |
| 7047 | wire |= (uint64(b) & 0x7F) << shift |
| 7048 | if b < 0x80 { |
| 7049 | break |
| 7050 | } |
| 7051 | } |
| 7052 | wireType := int(wire & 0x7) |
| 7053 | switch wireType { |
| 7054 | case 0: |
| 7055 | for shift := uint(0); ; shift += 7 { |
| 7056 | if shift >= 64 { |
| 7057 | return 0, ErrIntOverflowCortex |
| 7058 | } |
| 7059 | if iNdEx >= l { |
| 7060 | return 0, io.ErrUnexpectedEOF |
| 7061 | } |
| 7062 | iNdEx++ |
| 7063 | if dAtA[iNdEx-1] < 0x80 { |
| 7064 | break |
| 7065 | } |
| 7066 | } |
| 7067 | return iNdEx, nil |
| 7068 | case 1: |
| 7069 | iNdEx += 8 |
| 7070 | return iNdEx, nil |
| 7071 | case 2: |
| 7072 | var length int |
| 7073 | for shift := uint(0); ; shift += 7 { |
| 7074 | if shift >= 64 { |
| 7075 | return 0, ErrIntOverflowCortex |
| 7076 | } |
| 7077 | if iNdEx >= l { |
| 7078 | return 0, io.ErrUnexpectedEOF |
| 7079 | } |
| 7080 | b := dAtA[iNdEx] |
| 7081 | iNdEx++ |
| 7082 | length |= (int(b) & 0x7F) << shift |
| 7083 | if b < 0x80 { |
| 7084 | break |
| 7085 | } |
| 7086 | } |
| 7087 | if length < 0 { |
| 7088 | return 0, ErrInvalidLengthCortex |
| 7089 | } |
| 7090 | iNdEx += length |
no outgoing calls
no test coverage detected