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

Function BufferSizeYYYY_MM_DD

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

Source from the content-addressed store, hash-verified

339namespace detail {
340
341constexpr size_t BufferSizeYYYY_MM_DD() {
342 // "-"? "99999-12-31"
343 return 1 + detail::Digits10(99999) + 1 + detail::Digits10(12) + 1 +
344 detail::Digits10(31);
345}
346
347inline void FormatYYYY_MM_DD(arrow_vendored::date::year_month_day ymd, char** cursor) {
348 FormatTwoDigits(static_cast<unsigned>(ymd.day()), cursor);

Callers 2

FormatDaysMethod · 0.85
operator()Method · 0.85

Calls 1

Digits10Function · 0.85

Tested by

no test coverage detected