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

Function Accumulate

cpp/src/arrow/type_benchmark.cc:185–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183#endif
184
185inline int64_t Accumulate(int64_t partial, int32_t value) {
186 // Something non-trivial to avoid vectorization
187 return partial + value + (partial >> 5) * value;
188}
189
190std::vector<int32_t> RandomIntegers() {
191 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