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

Function Check

native/thirdpart/flatbuffers/flatbuffers.h:2284–2295  ·  view source on GitHub ↗

Central location where any verification failures register.

Source from the content-addressed store, hash-verified

2282
2283 // Central location where any verification failures register.
2284 bool Check(bool ok) const {
2285 // clang-format off
2286 #ifdef FLATBUFFERS_DEBUG_VERIFICATION_FAILURE
2287 FLATBUFFERS_ASSERT(ok);
2288 #endif
2289 #ifdef FLATBUFFERS_TRACK_VERIFIER_BUFFER_SIZE
2290 if (!ok)
2291 upper_bound_ = 0;
2292 #endif
2293 // clang-format on
2294 return ok;
2295 }
2296
2297 // Verify any range within the buffer.
2298 bool Verify(size_t elem, size_t elem_len) const {

Callers 7

VerifyFunction · 0.85
VerifyAlignmentFunction · 0.85
VerifyStringFunction · 0.85
VerifyVectorOrStringFunction · 0.85
VerifyBufferFromStartFunction · 0.85
VerifyOffsetFunction · 0.85
VerifyComplexityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected