Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ AssignRefCounted
Function
AssignRefCounted
tensorflow/core/platform/tensor_coding.cc:32–34 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
30
namespace port {
31
32
void AssignRefCounted(StringPiece src, core::RefCounted* obj, string* out) {
33
out->assign(src.data(), src.size());
34
}
35
36
void EncodeStringList(const tstring* strings, int64 n, string* out) {
37
out->clear();
Callers
1
Encode
Method · 0.85
Calls
7
string_view
Class · 0.85
assign
Method · 0.45
data
Method · 0.45
size
Method · 0.45
Ref
Method · 0.45
Clear
Method · 0.45
Unref
Method · 0.45
Tested by
no test coverage detected