MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / AppendTimestamp

Method AppendTimestamp

src/codec/flat_array.h:139–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 }
138
139 bool AppendTimestamp(uint64_t data) {
140 if (cur_cnt_ >= col_cnt_) {
141 return false;
142 }
143 memrev64ifbe(static_cast<void*>(&data));
144 Encode(kTimestamp, static_cast<const void*>(&data), 8);
145 cur_cnt_++;
146 return true;
147 }
148
149 bool AppendDate(uint64_t data) {
150 if (cur_cnt_ >= col_cnt_) {

Callers

nothing calls this directly

Calls 1

EncodeFunction · 0.85

Tested by

no test coverage detected