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

Function EndianCheck

native/thirdpart/flatbuffers/flatbuffers.h:75–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73};
74
75inline void EndianCheck() {
76 int endiantest = 1;
77 // If this fails, see FLATBUFFERS_LITTLEENDIAN above.
78 FLATBUFFERS_ASSERT(*reinterpret_cast<char *>(&endiantest) ==
79 FLATBUFFERS_LITTLEENDIAN);
80 (void)endiantest;
81}
82
83template<typename T> FLATBUFFERS_CONSTEXPR size_t AlignOf() {
84 // clang-format off

Callers 2

FlatBufferBuilderFunction · 0.85
GetMutableRootFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected