Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
121
void PutVarint64(string* dst, uint64 v) {
122
char buf[10];
123
char* ptr = EncodeVarint64(buf, v);
124
dst->append(buf, ptr - buf);
125
}
126
127
int VarintLength(uint64_t v) {
128
int len = 1;
Callers
6
TEST
Function · 0.85
EncodeTo
Method · 0.85
TEST
Function · 0.85
Encode
Method · 0.85
WriteStringTensor
Function · 0.85
WriteVariantTensor
Function · 0.85
Calls
2
EncodeVarint64
Function · 0.85
append
Method · 0.45
Tested by
2
TEST
Function · 0.68
TEST
Function · 0.68