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

Function VerifyAlignment

native/thirdpart/flatbuffers/flatbuffers.h:2309–2311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2307 }
2308
2309 template<typename T> bool VerifyAlignment(size_t elem) const {
2310 return Check((elem & (sizeof(T) - 1)) == 0 || !check_alignment_);
2311 }
2312
2313 // Verify a range indicated by sizeof(T).
2314 template<typename T> bool Verify(size_t elem) const {

Callers

nothing calls this directly

Calls 1

CheckFunction · 0.85

Tested by

no test coverage detected