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

Method Offset

include/sonic/error.h:97–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 ParseResult(SonicError err) noexcept : err_(err) {}
96 sonic_force_inline SonicError Error() const noexcept { return err_; }
97 sonic_force_inline size_t Offset() const noexcept { return off_; }
98
99 private:
100 SonicError err_{kErrorNone};

Callers 2

TestGetOnDemandFailedFunction · 0.80
GetErrorOffsetMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestGetOnDemandFailedFunction · 0.64