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

Function append

bolt/vector/BaseVector.h:266–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264 }
265
266 virtual void append(const BaseVector* other) {
267 auto totalSize = BaseVector::length_ + other->size();
268 auto previousSize = BaseVector::size();
269 resize(totalSize);
270 copy(other, previousSize, 0, other->size());
271 }
272
273 /**
274 * @return the number of bytes this vector takes on disk when in a compressed

Callers 15

appendMethod · 0.70
appendMethod · 0.70
appendMethod · 0.70
appendOneMethod · 0.50
flushEncodedMethod · 0.50
operator+=Method · 0.50
appendMethod · 0.50
copy_fromMethod · 0.50
appendMethod · 0.50
appendMethod · 0.50
appendMethod · 0.50

Calls 3

sizeFunction · 0.85
copyFunction · 0.70
sizeMethod · 0.45

Tested by 4

appendMethod · 0.40
appendAllocatedMethod · 0.40
appendBitwiseMethod · 0.40
appendOneMethod · 0.40