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

Function push

native/thirdpart/flatbuffers/flatbuffers.h:1030–1032  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1028 uint8_t *data_at(size_t offset) const { return buf_ + reserved_ - offset; }
1029
1030 void push(const uint8_t *bytes, size_t num) {
1031 if (num > 0) { memcpy(make_space(num), bytes, num); }
1032 }
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) {

Callers

nothing calls this directly

Calls 1

make_spaceFunction · 0.85

Tested by

no test coverage detected