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

Function Append1

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

Append is merely a version of memcpy that returns the address of the byte after the area just overwritten. It comes in multiple flavors to minimize call overhead.

Source from the content-addressed store, hash-verified

55// after the area just overwritten. It comes in multiple flavors to minimize
56// call overhead.
57static char *Append1(char *out, const AlphaNum &x) {
58 memcpy(out, x.data(), x.size());
59 return out + x.size();
60}
61
62static char *Append2(char *out, const AlphaNum &x1, const AlphaNum &x2) {
63 memcpy(out, x1.data(), x1.size());

Callers 2

StrCatFunction · 0.85
StrAppendFunction · 0.85

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected