MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / appendFixed

Method appendFixed

pj_datastore/src/column_buffer.cpp:77–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76template <typename T>
77void TypedColumnBuffer::appendFixed(T value) {
78 values_.append(&value, sizeof(T));
79 if (validity_initialized_) {
80 // Ensure bitmap has room for this row, then mark valid.
81 validity_.ensureSize(row_count_ + 1);
82 validity_.setValid(row_count_);
83 }
84 ++row_count_;
85}
86
87template <typename T>
88T TypedColumnBuffer::readFixed(std::size_t row) const {

Callers

nothing calls this directly

Calls 3

ensureSizeMethod · 0.80
appendMethod · 0.45
setValidMethod · 0.45

Tested by

no test coverage detected