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

Method toString

bolt/vector/ComplexVector.h:479–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477 }
478
479 std::string toString(vector_size_t /*index*/) const override {
480 std::stringstream oss;
481 oss << " rowToBufferMapping size = " << rowToBufferMapping_.size() << ", {";
482 for (auto it = rowToBufferMapping_.begin(); it != rowToBufferMapping_.end();
483 ++it) {
484 oss << "[" << it->first << "," << it->second.rowCount_ << ","
485 << it->first + it->second.rowCount_ << "],";
486 }
487 oss << "}";
488 return oss.str();
489 }
490
491 void setRowOffset(int32_t rowOffset) {
492 rowOffset_ = rowOffset;

Callers 3

RowVectorMethod · 0.45
ArrayVectorMethod · 0.45
MapVectorMethod · 0.45

Calls 4

strMethod · 0.80
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected