MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / PaddingBytes

Function PaddingBytes

3rdparty/flatbuffers/flatbuffers/base.h:458–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456// memory).
457FLATBUFFERS_SUPPRESS_UBSAN("unsigned-integer-overflow")
458inline size_t PaddingBytes(size_t buf_size, size_t scalar_size) {
459 return ((~buf_size) + 1) & (scalar_size - 1);
460}
461
462// Generic 'operator==' with conditional specialisations.
463// T e - new value of a scalar field.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected