MCPcopy Create free account
hub / github.com/FirmaChain/firmachain / encodeVarintQuery

Function encodeVarintQuery

x/contract/types/query.pb.go:1373–1383  ·  view source on GitHub ↗
(dAtA []byte, offset int, v uint64)

Source from the content-addressed store, hash-verified

1371}
1372
1373func encodeVarintQuery(dAtA []byte, offset int, v uint64) int {
1374 offset -= sovQuery(v)
1375 base := offset
1376 for v >= 1<<7 {
1377 dAtA[offset] = uint8(v&0x7f | 0x80)
1378 v >>= 7
1379 offset++
1380 }
1381 dAtA[offset] = uint8(v)
1382 return base
1383}
1384func (m *QueryIsContractOwnerRequest) Size() (n int) {
1385 if m == nil {
1386 return 0

Callers 11

MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70

Calls 1

sovQueryFunction · 0.70

Tested by

no test coverage detected