MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / PutVarint32

Function PutVarint32

tensorflow/core/lib/core/coding.cc:104–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void PutVarint32(string* dst, uint32 v) {
105 char buf[5];
106 char* ptr = EncodeVarint32(buf, v);
107 dst->append(buf, ptr - buf);
108}
109
110char* EncodeVarint64(char* dst, uint64 v) {
111 static const int B = 128;

Callers 5

TESTFunction · 0.85
AddMethod · 0.85
TESTFunction · 0.85
EncodeStringListFunction · 0.85
AppendMethod · 0.85

Calls 2

EncodeVarint32Function · 0.85
appendMethod · 0.45

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68