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

Method getRawStringBufferWithSpace

bolt/vector/FlatVector.cpp:88–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86
87template <>
88char* FlatVector<StringView>::getRawStringBufferWithSpace(
89 size_t size,
90 bool exactSize) {
91 Buffer* buffer = getBufferWithSpace(size, exactSize);
92 char* rawBuffer = buffer->asMutable<char>() + buffer->size();
93 buffer->setSize(buffer->size() + size);
94 return rawBuffer;
95}
96
97template <>
98const std::optional<StringViewStats>& FlatVector<StringView>::stringStats()

Callers 9

TEST_FFunction · 0.45
read<StringView>Function · 0.45
extractSerializedRowsMethod · 0.45
extractStringMethod · 0.45
extractStringFunction · 0.45
extractAccumulatorsMethod · 0.45
extractAccumulatorsMethod · 0.45
extractValuesMethod · 0.45
extractAccumulatorsMethod · 0.45

Calls 2

sizeMethod · 0.45
setSizeMethod · 0.45

Tested by 1

TEST_FFunction · 0.36