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

Method SliceSafe

cpp/src/arrow/array/data.cc:209–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209Result<std::shared_ptr<ArrayData>> ArrayData::SliceSafe(int64_t off, int64_t len) const {
210 RETURN_NOT_OK(internal::CheckSliceParams(length, off, len, "array"));
211 return Slice(off, len);
212}
213
214int64_t ArrayData::GetNullCount() const {
215 int64_t precomputed = this->null_count.load();

Callers 6

SliceToChunkedArrayMethod · 0.45
ToChunkedFunction · 0.45
TEST_FFunction · 0.45
ChildDataMethod · 0.45
TESTFunction · 0.45
GetChunkedArrayMethod · 0.45

Calls 2

CheckSliceParamsFunction · 0.85
SliceClass · 0.70

Tested by 4

SliceToChunkedArrayMethod · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
GetChunkedArrayMethod · 0.36