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

Method Offsets

cpp/src/arrow/array/concatenate_test.cc:70–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69 template <typename offset_type>
70 std::vector<offset_type> Offsets(int32_t values_length, int32_t slice_count) {
71 auto offsets = RandomOffsetsInRange<offset_type>(0, values_length, slice_count + 1);
72 std::sort(offsets.begin(), offsets.end());
73 return offsets;
74 }
75
76 /// \param[in] random_offsets Random offsets in [0, values_size] and no particular order
77 template <typename offset_type>

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected