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

Method Append

src/codec/flat_array.h:56–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 ~FlatArrayCodec() {}
55
56 bool Append(bool data) {
57 if (cur_cnt_ >= col_cnt_) {
58 return false;
59 }
60 if (data) {
61 Encode(kBool, static_cast<const void*>(&bool_true), 1);
62 } else {
63 Encode(kBool, static_cast<const void*>(&bool_false), 1);
64 }
65 cur_cnt_++;
66 return true;
67 }
68
69 bool Append(uint16_t data) {
70 if (cur_cnt_ >= col_cnt_) {

Callers 4

DecodeRpcRowFunction · 0.45
EncodeRowMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 2

EncodeFunction · 0.85
emptyMethod · 0.45

Tested by 2

TEST_FFunction · 0.36
TEST_FFunction · 0.36