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

Method call

bolt/expression/tests/SimpleFunctionTest.cpp:847–853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845 static constexpr int32_t reuse_strings_from_arg = 0;
846
847 void call(
848 out_type<Varchar>& out,
849 const arg_type<Varchar>& str,
850 const int32_t& start,
851 const int32_t& length) {
852 out.copy_from(StringView(str.data() + start, length));
853 }
854};
855
856TEST_F(SimpleFunctionTest, stringReuseConstant) {

Callers

nothing calls this directly

Calls 3

StringViewClass · 0.50
copy_fromMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected