MCPcopy Create free account
hub / github.com/audacity/audacity / ToChars

Function ToChars

libraries/lib-string-utils/ToChars.cpp:1241–1254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1239}
1240
1241ToCharsResult
1242ToChars(char* buffer, char* last, long long value) noexcept
1243{
1244 if (buffer >= last || buffer == nullptr)
1245 return { last, std::errc::value_too_large };
1246
1247 if (value < 0)
1248 {
1249 *buffer++ = '-';
1250 value = -value;
1251 }
1252
1253 return ToChars(buffer, last, static_cast<unsigned long long>(value));
1254}
1255
1256ToCharsResult ToChars(char* buffer, char* last, unsigned long long value) noexcept
1257{

Callers 1

WriteAttrMethod · 0.85

Calls 2

u64toa_jeaiiiFunction · 0.85
copyFunction · 0.85

Tested by

no test coverage detected