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

Function my_reverse_bits

include/my_bit.h:113–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113static inline uint32 my_reverse_bits(uint32 key)
114{
115 return
116 (_my_bits_reverse_table[ key & 255] << 24) |
117 (_my_bits_reverse_table[(key>> 8) & 255] << 16) |
118 (_my_bits_reverse_table[(key>>16) & 255] << 8) |
119 _my_bits_reverse_table[(key>>24) ];
120}
121
122C_MODE_END
123

Callers 4

lf_hash_insertFunction · 0.85
lf_hash_deleteFunction · 0.85
lf_hash_searchFunction · 0.85
initialize_bucketFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected