MCPcopy 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

30namespace port {
31
32void AssignRefCounted(StringPiece src, core::RefCounted* obj, string* out) {
33 out->assign(src.data(), src.size());
34}
35
36void EncodeStringList(const tstring* strings, int64 n, string* out) {
37 out->clear();

Callers 1

EncodeMethod · 0.85

Calls 7

string_viewClass · 0.85
assignMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45
RefMethod · 0.45
ClearMethod · 0.45
UnrefMethod · 0.45

Tested by

no test coverage detected