MCPcopy Create free account
hub / github.com/apache/arrow / FormatOneDigit

Function FormatOneDigit

cpp/src/arrow/util/formatting.h:146–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144
145template <typename Int>
146void FormatOneDigit(Int value, char** cursor) {
147 assert(value >= 0 && value <= 9);
148 FormatOneChar(static_cast<char>('0' + value), cursor);
149}
150
151// GH-35662: I don't know why but the following combination causes SEGV:
152// * template implementation without inline

Callers 2

FormatAllDigitsFunction · 0.85
FormatYYYY_MM_DDFunction · 0.85

Calls 1

FormatOneCharFunction · 0.85

Tested by

no test coverage detected