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

Function kv_seq_cmp

internal/cbm/pdf/pdf_obj.c:735–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

733}
734
735static int kv_seq_cmp(const void *x, const void *y) {
736 const kv_seq_t *a = (const kv_seq_t *)x;
737 const kv_seq_t *b = (const kv_seq_t *)y;
738 int c = kv_key_cmp(a->kv.key, a->kv.klen, b->kv.key, b->kv.klen);
739 if (c) {
740 return c;
741 }
742 return a->seq < b->seq ? -1 : a->seq > b->seq ? 1 : 0;
743}
744
745typedef struct {
746 kv_seq_t *v;

Callers

nothing calls this directly

Calls 1

kv_key_cmpFunction · 0.85

Tested by

no test coverage detected