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

Function PD_PString_Init

paddle/phi/common/cpstring_impl.h:263–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263HOSTDEVICE static inline void PD_PString_Init(PD_PString *str) {
264 PD_Memset(str->u.raw.raw, 0, sizeof(PD_PString_Raw));
265}
266
267HOSTDEVICE static inline void PD_PString_Dealloc(PD_PString *str) {
268 if (PD_PString_GetType(str) == PD_PSTR_LARGE &&

Callers 3

PD_PString_DeallocFunction · 0.85
PD_PString_MoveFunction · 0.85
pstringMethod · 0.85

Calls 1

PD_MemsetFunction · 0.85

Tested by

no test coverage detected