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

Function push_small

native/thirdpart/flatbuffers/flatbuffers.h:1035–1038  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1033
1034 // Specialized version of push() that avoids memcpy call for small data.
1035 template<typename T> void push_small(const T &little_endian_t) {
1036 make_space(sizeof(T));
1037 *reinterpret_cast<T *>(cur_) = little_endian_t;
1038 }
1039
1040 template<typename T> void scratch_push_small(const T &t) {
1041 ensure_space(sizeof(T));

Callers

nothing calls this directly

Calls 1

make_spaceFunction · 0.85

Tested by

no test coverage detected