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

Function SwapDoubleBytes

src/codec/memcomparable_format.h:65–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65static inline void SwapDoubleBytes(uchar *const dst, const uchar *const src) {
66 dst[0] = src[7];
67 dst[1] = src[6];
68 dst[2] = src[5];
69 dst[3] = src[4];
70 dst[4] = src[3];
71 dst[5] = src[2];
72 dst[6] = src[1];
73 dst[7] = src[0];
74}
75
76__attribute__((unused)) static void CopyInteger(const uchar *from, int length,
77 bool is_unsigned, uchar *to) {

Callers 1

PackDoubleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected