MCPcopy Create free account
hub / github.com/bytedance/bolt / toIntermediate

Method toIntermediate

bolt/exec/tests/SimpleAverageAggregate.cpp:57–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 std::conditional_t<std::is_same_v<T, float>, float, double>;
56
57 static bool toIntermediate(
58 exec::out_type<Row<double, int64_t>>& out,
59 exec::arg_type<T> in) {
60 out.copy_from(std::make_tuple(static_cast<double>(in), 1));
61 return true;
62 }
63
64 struct AccumulatorType {
65 double sum_;

Callers

nothing calls this directly

Calls 1

copy_fromMethod · 0.45

Tested by

no test coverage detected