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

Function SetAnyVectorElemS

native/thirdpart/flatbuffers/reflection.h:369–372  ·  view source on GitHub ↗

Set any vector element as a string, regardless of type what it is.

Source from the content-addressed store, hash-verified

367
368// Set any vector element as a string, regardless of type what it is.
369inline void SetAnyVectorElemS(VectorOfAny *vec, reflection::BaseType elem_type,
370 size_t i, const char *val) {
371 SetAnyValueS(elem_type, vec->Data() + GetTypeSize(elem_type) * i, val);
372}
373
374// ------------------------- RESIZING SETTERS -------------------------
375

Callers

nothing calls this directly

Calls 3

SetAnyValueSFunction · 0.85
GetTypeSizeFunction · 0.85
DataMethod · 0.45

Tested by

no test coverage detected