MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / SetAnyVectorElemI

Function SetAnyVectorElemI

native/thirdpart/flatbuffers/reflection.h:357–360  ·  view source on GitHub ↗

Set any vector element as a 64bit int, regardless of type what it is.

Source from the content-addressed store, hash-verified

355
356// Set any vector element as a 64bit int, regardless of type what it is.
357inline void SetAnyVectorElemI(VectorOfAny *vec, reflection::BaseType elem_type,
358 size_t i, int64_t val) {
359 SetAnyValueI(elem_type, vec->Data() + GetTypeSize(elem_type) * i, val);
360}
361
362// Set any vector element as a double, regardless of type what it is.
363inline void SetAnyVectorElemF(VectorOfAny *vec, reflection::BaseType elem_type,

Callers

nothing calls this directly

Calls 3

SetAnyValueIFunction · 0.85
GetTypeSizeFunction · 0.85
DataMethod · 0.45

Tested by

no test coverage detected