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

Function VerifyVectorOfTables

Libs/flatbuffers/flatbuffers.h:2503–2510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2501
2502 // Special case for table contents, after the above has been called.
2503 template<typename T> bool VerifyVectorOfTables(const Vector<Offset<T>> *vec) {
2504 if (vec) {
2505 for (uoffset_t i = 0; i < vec->size(); i++) {
2506 if (!vec->Get(i)->Verify(*this)) return false;
2507 }
2508 }
2509 return true;
2510 }
2511
2512 __supress_ubsan__("unsigned-integer-overflow") bool VerifyTableStart(
2513 const uint8_t *table) {

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
VerifyMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected