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

Function clear

native/thirdpart/flatbuffers/flatbuffers.h:935–943  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

933 }
934
935 void clear() {
936 if (buf_) {
937 cur_ = buf_ + reserved_;
938 } else {
939 reserved_ = 0;
940 cur_ = nullptr;
941 }
942 clear_scratch();
943 }
944
945 void clear_scratch() { scratch_ = buf_; }
946

Callers 3

resetFunction · 0.70
release_rawFunction · 0.70
releaseFunction · 0.70

Calls 1

clear_scratchFunction · 0.85

Tested by

no test coverage detected