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

Function PutVarint64

tensorflow/core/lib/core/coding.cc:121–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void PutVarint64(string* dst, uint64 v) {
122 char buf[10];
123 char* ptr = EncodeVarint64(buf, v);
124 dst->append(buf, ptr - buf);
125}
126
127int VarintLength(uint64_t v) {
128 int len = 1;

Callers 6

TESTFunction · 0.85
EncodeToMethod · 0.85
TESTFunction · 0.85
EncodeMethod · 0.85
WriteStringTensorFunction · 0.85
WriteVariantTensorFunction · 0.85

Calls 2

EncodeVarint64Function · 0.85
appendMethod · 0.45

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68