MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / stringLengthSafe

Function stringLengthSafe

include/daScript/simulate/hash.h:15–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 }
14
15 __forceinline uint32_t stringLengthSafe ( Context & ctx, const char * str ) {//accepts nullptr
16 return str ? stringLength(ctx,str) : 0;
17 }
18
19 template <typename TT>
20 __forceinline uint64_t hash_function ( Context &, const TT x ) {

Callers 15

StringMethod · 0.85
builtin_string_endswithFunction · 0.85
builtin_string_stripFunction · 0.85
builtin_string_find1Function · 0.85
builtin_string_rfind1Function · 0.85

Calls 1

stringLengthFunction · 0.85

Tested by

no test coverage detected