MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / GetInt16

Function GetInt16

src/codec/field_codec.h:174–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172static inline void GetBool(const char* ch, void* res) { memcpy(res, ch, 1); }
173
174static inline void GetInt16(const char* ch, void* res) {
175 memcpy(res, ch, 2);
176 memrev32ifbe(static_cast<void*>(res));
177}
178
179static inline void GetInt32(const char* ch, void* res) {
180 memcpy(res, ch, 4);

Callers 1

TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.68