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

Function forDecodeOneAsInt64

pj_datastore/src/encoding.cpp:248–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248int64_t forDecodeOneAsInt64(const FrameOfReferenceEncoded& enc, std::size_t row) {
249 const uint64_t offset = forReadOffset(enc.offsets.data(), row, enc.offset_bytes);
250 return enc.reference + static_cast<int64_t>(offset);
251}
252
253void forDecodeRangeAsDoubles(const FrameOfReferenceEncoded& enc, Span<double> out, std::size_t row_start) {
254 const std::size_t count = out.size();

Callers 2

readNumericAsInt64Method · 0.85
readNumericAsUint64Method · 0.85

Calls 2

forReadOffsetFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected