MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / PD_PString_Append

Function PD_PString_Append

paddle/phi/common/cpstring_impl.h:487–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485}
486
487HOSTDEVICE static inline void PD_PString_Append(PD_PString *dst,
488 const PD_PString *src) {
489 const char *src_c = PD_PString_GetDataPointer(src);
490 size_t size = PD_PString_GetSize(src);
491
492 PD_PString_AppendN(dst, src_c, size);
493}
494
495HOSTDEVICE static inline void PD_PString_Copy(PD_PString *dst,
496 const char *src,

Callers 1

pstring.hFile · 0.85

Calls 3

PD_PString_GetSizeFunction · 0.85
PD_PString_AppendNFunction · 0.85

Tested by

no test coverage detected