MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / c24to32

Function c24to32

extra/yassl/src/yassl_int.cpp:94–98  ·  view source on GitHub ↗

convert a 24 bit integer into a 32 bit one

Source from the content-addressed store, hash-verified

92
93// convert a 24 bit integer into a 32 bit one
94void c24to32(const uint24 u24, uint32& u32)
95{
96 u32 = 0;
97 u32 = (u24[0] << 16) | (u24[1] << 8) | u24[2];
98}
99
100
101// convert with return for ease of use

Callers 2

ProcessMethod · 0.85
get_lengthMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected