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

Function Accumulate

cpp/src/arrow/type_benchmark.cc:199–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197#endif
198
199inline int64_t Accumulate(int64_t partial, int32_t value) {
200 // Something non-trivial to avoid vectorization
201 return partial + value + (partial >> 5) * value;
202}
203
204std::vector<int32_t> RandomIntegers() {
205 std::default_random_engine gen(42);

Callers 12

ErrorSchemeNoErrorFunction · 0.85
ErrorSchemeBoolFunction · 0.85
ErrorSchemeBoolNoInlineFunction · 0.85
ErrorSchemeStatusFunction · 0.85
ErrorSchemeResultFunction · 0.85
ErrorSchemeExceptionFunction · 0.85
PropagateMultipleMethod · 0.85
PropagateNullsSpansFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected