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

Function Align

native/thirdpart/flatbuffers/flatbuffers.h:1337–1340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1335 }
1336
1337 void Align(size_t elem_size) {
1338 TrackMinAlign(elem_size);
1339 buf_.fill(PaddingBytes(buf_.size(), elem_size));
1340 }
1341
1342 void PushFlatBuffer(const uint8_t *bytes, size_t size) {
1343 PushBytes(bytes, size);

Callers 5

PushElementFunction · 0.70
AddStructFunction · 0.70
ReferToFunction · 0.70
StartStructFunction · 0.70
CreateStructFunction · 0.70

Calls 3

TrackMinAlignFunction · 0.85
PaddingBytesFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected