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

Function ValidateUTF8NoInline

cpp/src/arrow/util/utf8_util_benchmark.cc:28–30  ·  view source on GitHub ↗

Do not benchmark potentially inlined functions directly inside the benchmark loop

Source from the content-addressed store, hash-verified

26
27// Do not benchmark potentially inlined functions directly inside the benchmark loop
28static ARROW_NOINLINE bool ValidateUTF8NoInline(const uint8_t* data, int64_t size) {
29 return ::arrow::util::ValidateUTF8Inline(data, size);
30}
31
32static ARROW_NOINLINE bool ValidateAsciiNoInline(const uint8_t* data, int64_t size) {
33 return ::arrow::util::ValidateAscii(data, size);

Callers 1

BenchmarkUTF8ValidationFunction · 0.85

Calls 1

ValidateUTF8InlineFunction · 0.85

Tested by

no test coverage detected