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

Function profile_buffer_init

src/cli/agent_profiles.c:84–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84static void profile_buffer_init(profile_buffer_t *buffer) {
85 memset(buffer, 0, sizeof(*buffer));
86}
87
88static bool profile_buffer_reserve(profile_buffer_t *buffer, size_t extra) {
89 if (buffer->failed || extra > SIZE_MAX - buffer->length - 1U) {

Callers 5

profile_buffer_finishFunction · 0.85
profile_buffer_discardFunction · 0.85
cbm_render_graph_promptFunction · 0.85
cbm_render_graph_profileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected