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

Function BoundsCheckPasses

cpp/src/arrow/util/int_util_test.cc:392–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390}
391
392void BoundsCheckPasses(const std::shared_ptr<DataType>& type,
393 const std::string& indices_json, uint64_t upper_limit) {
394 auto indices = ArrayFromJSON(type, indices_json);
395 ASSERT_OK(CheckIndexBounds(*indices->data(), upper_limit));
396}
397
398void BoundsCheckFails(const std::shared_ptr<DataType>& type,
399 const std::string& indices_json, uint64_t upper_limit) {

Callers 1

TESTFunction · 0.85

Calls 3

ArrayFromJSONFunction · 0.85
CheckIndexBoundsFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected