MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / st_be32

Function st_be32

src/store/store.c:6675–6678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6673}
6674
6675static uint32_t st_be32(const unsigned char *p) {
6676 return ((uint32_t)p[0] << ST_BE_SHIFT_24) | ((uint32_t)p[SKIP_ONE] << ST_BE_SHIFT_16) |
6677 ((uint32_t)p[ST_COL_2] << ST_BE_SHIFT_8) | (uint32_t)p[ST_COL_3];
6678}
6679
6680/* The committed state of a rollback-journal DB: its header's change counter
6681 * and page count, read through SQLite's own file handle while this

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected