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

Function PaddingBytes

native/thirdpart/flatbuffers/base.h:432–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430// memory).
431__supress_ubsan__("unsigned-integer-overflow")
432inline size_t PaddingBytes(size_t buf_size, size_t scalar_size) {
433 return ((~buf_size) + 1) & (scalar_size - 1);
434}
435
436} // namespace flatbuffers
437#endif // FLATBUFFERS_BASE_H_

Callers 6

DeserializeMethod · 0.85
AlignFunction · 0.85
ElemWidthMethod · 0.85
PadLastFieldMethod · 0.85
AlignFunction · 0.85
PreAlignFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected