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

Function MakeLazyRange

cpp/src/arrow/util/range.h:156–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154/// Helper function to create a lazy range from a callable (e.g. lambda) and length
155template <typename Generator>
156LazyRange<Generator> MakeLazyRange(Generator&& gen, int64_t length) {
157 return LazyRange<Generator>(std::forward<Generator>(gen), length);
158}
159
160/// \brief A helper for iterating multiple ranges simultaneously, similar to C++23's
161/// zip() view adapter modelled after python's built-in zip() function.

Callers 8

AppendNumericBatchCastFunction · 0.85
AppendBoolBatchFunction · 0.85
AppendTimestampBatchFunction · 0.85
TYPED_TESTFunction · 0.85
lazy_copyFunction · 0.85
lazy_copy_convertingFunction · 0.85
lazy_postincFunction · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 2

TYPED_TESTFunction · 0.68
TEST_FFunction · 0.68