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

Function FormatAllDigitsLeftPadded

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

Source from the content-addressed store, hash-verified

177
178template <typename Int>
179void FormatAllDigitsLeftPadded(Int value, size_t pad, char pad_char, char** cursor) {
180 auto end = *cursor - pad;
181 FormatAllDigits(value, cursor);
182 while (*cursor > end) {
183 FormatOneChar(pad_char, cursor);
184 }
185}
186
187template <size_t BUFFER_SIZE>
188std::string_view ViewDigitBuffer(const std::array<char, BUFFER_SIZE>& buffer,

Callers 2

FormatHH_MM_SSFunction · 0.85

Calls 2

FormatAllDigitsFunction · 0.85
FormatOneCharFunction · 0.85

Tested by

no test coverage detected