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

Function clear_allocator

native/thirdpart/flatbuffers/flatbuffers.h:947–951  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

945 void clear_scratch() { scratch_ = buf_; }
946
947 void clear_allocator() {
948 if (own_allocator_ && allocator_) { delete allocator_; }
949 allocator_ = nullptr;
950 own_allocator_ = false;
951 }
952
953 void clear_buffer() {
954 if (buf_) Deallocate(allocator_, buf_, reserved_);

Callers 1

~vector_downwardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected