MCPcopy Create free account
hub / github.com/audeering/opensmile / GetStringLength

Function GetStringLength

src/include/rapidjson/document.h:1736–1736  ·  view source on GitHub ↗

Get the length of string. ! Since rapidjson permits "\\u0000" in the json string, strlen(v.GetString()) may not equal to v.GetStringLength(). */

Source from the content-addressed store, hash-verified

1734 /*! Since rapidjson permits "\\u0000" in the json string, strlen(v.GetString()) may not equal to v.GetStringLength().
1735 */
1736 SizeType GetStringLength() const { RAPIDJSON_ASSERT(IsString()); return ((data_.f.flags & kInlineStrFlag) ? (data_.ss.GetLength()) : data_.s.length); }
1737
1738 //! Set this value as a string without copying source string.
1739 /*! This version has better performance with supplied length, and also support string containing null character.

Callers 2

AcceptFunction · 0.85
StringEqualFunction · 0.85

Calls 2

IsStringFunction · 0.85
GetLengthMethod · 0.80

Tested by

no test coverage detected