MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / recoverPutU32

Function recoverPutU32

modules/dasSQLITE/sqlite/shell.c:15688–15693  ·  view source on GitHub ↗

** Write value v to buffer a[] as a 32-bit big-endian unsigned integer. */

Source from the content-addressed store, hash-verified

15686** Write value v to buffer a[] as a 32-bit big-endian unsigned integer.
15687*/
15688static void recoverPutU32(u8 *a, u32 v){
15689 a[0] = (v>>24) & 0x00FF;
15690 a[1] = (v>>16) & 0x00FF;
15691 a[2] = (v>>8) & 0x00FF;
15692 a[3] = (v>>0) & 0x00FF;
15693}
15694
15695/*
15696** Detect the page-size of the database opened by file-handle pFd by

Callers 1

recoverVfsReadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected