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

Function strlen

paddle/phi/common/pstring.h:472–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472HOSTDEVICE inline size_t strlen(const char* start) {
473 const char* end = start;
474 for (; *end != '\0'; ++end) {
475 }
476 return end - start;
477}
478
479} // namespace dtype
480} // namespace phi

Callers 15

KernelRegistrarMethod · 0.85
CreateGlooDeviceFunction · 0.85
trim_spacesFunction · 0.85
pstring.hFile · 0.85
operator==Method · 0.85
operator==Function · 0.85
trim_spacesFunction · 0.85
operator()Method · 0.85
CheckMultipleVarsMethod · 0.85
GetTypeNameMethod · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68