MCPcopy Create free account
hub / github.com/alibaba/zvec / Code

Method Code

src/db/common/error_code.h:32–34  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

30 public:
31 //! Constructor
32 Code(int val, const char *str) : value_(-val), desc_(str) {
33 ErrorCode::Instance()->emplace(this);
34 }
35
36 //! Retrieve the value of code
37 operator int() const {

Callers

nothing calls this directly

Calls 1

emplaceMethod · 0.45

Tested by

no test coverage detected