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

Function validateSliceLength

matlab/src/cpp/arrow/matlab/index/validate.cc:67–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67arrow::Status validateSliceLength(const int64_t length) {
68 if (length < 0) {
69 const std::string msg = "Slice length must be nonnegative";
70 return arrow::Status::Invalid(std::move(msg));
71 }
72 return arrow::Status::OK();
73}
74} // namespace arrow::matlab::index

Callers 1

sliceMethod · 0.85

Calls 2

InvalidFunction · 0.50
OKFunction · 0.50

Tested by

no test coverage detected