Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SatDump/SatDump
/ shift_array_left
Function
shift_array_left
src-core/common/repack.cpp:237–241 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
235
}
236
237
void shift_array_left(uint8_t *in, int byte_length, int shift, uint8_t *out)
238
{
239
for (int i = 0; i < byte_length; i++)
240
out[i] = in[i + 0] << shift | in[i + 1] >> (8 - shift);
241
}
Callers
6
process
Method · 0.85
work
Method · 0.85
process_scan
Method · 0.85
work
Method · 0.85
init
Method · 0.85
process
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected