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

Function Append4

tensorflow/core/lib/strings/strcat.cc:70–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70static char *Append4(char *out, const AlphaNum &x1, const AlphaNum &x2,
71 const AlphaNum &x3, const AlphaNum &x4) {
72 memcpy(out, x1.data(), x1.size());
73 out += x1.size();
74
75 memcpy(out, x2.data(), x2.size());
76 out += x2.size();
77
78 memcpy(out, x3.data(), x3.size());
79 out += x3.size();
80
81 memcpy(out, x4.data(), x4.size());
82 return out + x4.size();
83}
84
85string StrCat(const AlphaNum &a) { return string(a.data(), a.size()); }
86

Callers 2

StrCatFunction · 0.85
StrAppendFunction · 0.85

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected