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

Function PushIndirect

native/thirdpart/flatbuffers/flexbuffers.h:1381–1386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1379 }
1380
1381 template<typename T> void PushIndirect(T val, Type type, BitWidth bit_width) {
1382 auto byte_width = Align(bit_width);
1383 auto iloc = buf_.size();
1384 Write(val, byte_width);
1385 stack_.push_back(Value(static_cast<uint64_t>(iloc), type, bit_width));
1386 }
1387
1388 static BitWidth WidthB(size_t byte_width) {
1389 switch (byte_width) {

Callers 4

IndirectIntFunction · 0.85
IndirectUIntFunction · 0.85
IndirectFloatFunction · 0.85
IndirectDoubleFunction · 0.85

Calls 5

push_backMethod · 0.80
AlignFunction · 0.70
WriteFunction · 0.70
ValueClass · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected