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

Function FormatOneChar

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

Based on fmtlib's format_int class: Write digits from right to left into a stack allocated buffer. \pre *cursor points to the byte after the one that will be written. \post *cursor points to the byte that was written.

Source from the content-addressed store, hash-verified

141// \pre *cursor points to the byte after the one that will be written.
142// \post *cursor points to the byte that was written.
143inline void FormatOneChar(char c, char** cursor) { *(--(*cursor)) = c; }
144
145template <typename Int>
146void FormatOneDigit(Int value, char** cursor) {

Callers 10

FormatOneDigitFunction · 0.85
FormatTwoDigitsFunction · 0.85
operator()Method · 0.85
FormatYYYY_MM_DDFunction · 0.85
FormatHH_MM_SSFunction · 0.85
operator()Method · 0.85
operator()Method · 0.85
operator()Method · 0.85
operator()Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected