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

Function prepareRead

bolt/exec/AddressableNonNullValueList.cpp:75–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73namespace {
74
75std::unique_ptr<ByteInputStream> prepareRead(
76 const AddressableNonNullValueList::Entry& entry) {
77 auto header = entry.offset.header;
78 auto seek = entry.offset.position - header->begin();
79
80 auto stream = HashStringAllocator::prepareRead(header, entry.size + seek);
81 stream->seekp(seek);
82 return stream;
83}
84} // namespace
85
86// static

Callers 15

prepareReadMethod · 0.85
extractVariableSizeAtMethod · 0.85
extractStringMethod · 0.85
storeComplexTypeMethod · 0.85
compareComplexTypeMethod · 0.85
hashTypedMethod · 0.85
jit_ComplexTypeRowCmpRowFunction · 0.85
serializeMethod · 0.85
equalToMethod · 0.85
readMethod · 0.85
extractComplexTypeFunction · 0.85

Calls 2

beginMethod · 0.45
seekpMethod · 0.45

Tested by 7

deserializeMethod · 0.68
testCompareWithNullsMethod · 0.68
testCompareMethod · 0.68
TEST_PFunction · 0.68
TEST_PFunction · 0.68
TEST_FFunction · 0.68