MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / PaddingBytes

Function PaddingBytes

Libs/flatbuffers/base.h:437–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435// memory).
436__supress_ubsan__("unsigned-integer-overflow")
437inline size_t PaddingBytes(size_t buf_size, size_t scalar_size) {
438 return ((~buf_size) + 1) & (scalar_size - 1);
439}
440
441} // namespace flatbuffers
442#endif // FLATBUFFERS_BASE_H_

Callers 5

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