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

Function asIntermediatePtrTypes

bolt/python/Aggregate.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47constexpr auto kSignatureIntermediateType = "bigint";
48
49pybind11::object** asIntermediatePtrTypes(BaseVector& vec) {
50 auto* flatVector = vec.as<FlatVector<IntermediateFlatType>>();
51 BOLT_CHECK(flatVector != nullptr);
52 auto* rawValues = flatVector->mutableRawValues();
53 return reinterpret_cast<pybind11::object**>(rawValues);
54}
55
56void accumulate(pybind11::object& lhs, pybind11::object rhs) {
57 bolt::python::pyTry<void>(

Callers 3

extractAccumulatorsMethod · 0.85

Calls 1

mutableRawValuesMethod · 0.45

Tested by

no test coverage detected