MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / setZero

Method setZero

include/sonic/internal/stack.h:187–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185
186 private:
187 void setZero() {
188 buf_ = nullptr;
189 top_ = nullptr;
190 cap_ = 0;
191 }
192 static constexpr size_t defaultCapcity() { return 256; }
193 char* buf_{nullptr};
194 char* top_{nullptr};

Callers 2

StackMethod · 0.80
StackClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected