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

Method SetLength

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

Source from the content-addressed store, hash-verified

1923
1924 inline static bool Usable(SizeType len) { return (MaxSize >= len); }
1925 inline void SetLength(SizeType len) { str[LenPos] = static_cast<Ch>(MaxSize - len); }
1926 inline SizeType GetLength() const { return static_cast<SizeType>(MaxSize - str[LenPos]); }
1927 }; // at most as many bytes as "String" above => 12 bytes in 32-bit mode, 16 bytes in 64-bit mode
1928

Callers 2

GenericValueFunction · 0.80
SetStringRawFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected