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

Function cbm_skip_pending_byte

internal/cbm/sqlite_writer.c:47–49  ·  view source on GitHub ↗

Skip the pending byte page if allocation lands on it. */

Source from the content-addressed store, hash-verified

45
46/* Skip the pending byte page if allocation lands on it. */
47static inline uint32_t cbm_skip_pending_byte(uint32_t pgno) {
48 return pgno == CBM_PENDING_BYTE_PAGE ? pgno + SKIP_ONE : pgno;
49}
50#define SCHEMA_FORMAT 4
51#define FILE_FORMAT 1
52#define SQLITE_VERSION 3046000 // 3.46.0

Callers 4

pb_flush_leafFunction · 0.85
write_interior_pageFunction · 0.85
write_table_btreeFunction · 0.85
write_empty_index_leafFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected