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

Function AddIfNotNull

cpp/src/parquet/column_writer.cc:157–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155
156template <class T>
157inline const T* AddIfNotNull(const T* base, int64_t offset) {
158 if (base != nullptr) {
159 return base + offset;
160 }
161 return nullptr;
162}
163
164} // namespace
165

Callers 5

WriteBatchInternalMethod · 0.85
WriteArrowMethod · 0.85
WriteArrowDictionaryMethod · 0.85
WriteArrowDenseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected