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

Method MaxSizeFor

cpp/src/arrow/util/small_vector_test.cc:97–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 static bool CanOverflow() { return true; }
96
97 static constexpr size_t MaxSizeFor(size_t n) {
98 return std::numeric_limits<size_t>::max();
99 }
100
101 static constexpr size_t TestSizeFor(size_t max_size) {
102 return max_size > 6 ? max_size / 3 : 2;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected