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

Method SetInt64

src/codec/codec.cc:289–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289bool RowBuilder::SetInt64(uint32_t index, int64_t val) {
290 if (!Check(index, ::fedb::type::kBigInt)) return false;
291 SetField(index);
292 int8_t* ptr = buf_ + offset_vec_[index];
293 *(reinterpret_cast<int64_t*>(ptr)) = val;
294 return true;
295}
296
297bool RowBuilder::AppendFloat(float val) {
298 if (!SetFloat(cnt_, val)) return false;

Callers 1

TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64