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

Function AddIfNotNull

cpp/src/parquet/column_writer.cc:158–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected