Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
472
HOSTDEVICE 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
KernelRegistrar
Method · 0.85
CreateGlooDevice
Function · 0.85
trim_spaces
Function · 0.85
pstring.h
File · 0.85
operator==
Method · 0.85
operator==
Function · 0.85
trim_spaces
Function · 0.85
operator()
Method · 0.85
CheckMultipleVars
Method · 0.85
GetTypeName
Method · 0.85
GetGradOpInfoByFwdPirName
Function · 0.85
custom_operator_utils.h
File · 0.85
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.68