Home
last modified time | relevance | path

Searched refs:jblbufsz (Results 1 – 4 of 4) sorted by relevance

/third_party/ejdb/src/jbi/
Djbi_consumer.c17 rc = iwkv_cursor_copy_val(cur, ctx->jblbuf, ctx->jblbufsz, &vsz); in jbi_consumer()
23 rc = iwkv_get_copy(ctx->jbc->cdb, &key, ctx->jblbuf, ctx->jblbufsz, &vsz); in jbi_consumer()
41 if (vsz > ctx->jblbufsz) { in jbi_consumer()
42 size_t nsize = MAX(vsz, ctx->jblbufsz * 2); in jbi_consumer()
49 ctx->jblbufsz = nsize; in jbi_consumer()
Djbi_sorter_consumer.c198 rc = iwkv_cursor_copy_val(cur, ctx->jblbuf + sizeof(id), ctx->jblbufsz - sizeof(id), &vsz); in jbi_sorter_consumer()
204 …rc = iwkv_get_copy(ctx->jbc->cdb, &key, ctx->jblbuf + sizeof(id), ctx->jblbufsz - sizeof(id), &vsz… in jbi_sorter_consumer()
211 if (vsz + sizeof(id) > ctx->jblbufsz) { in jbi_sorter_consumer()
212 size_t nsize = MAX(vsz + sizeof(id), ctx->jblbufsz * 2); in jbi_sorter_consumer()
218 ctx->jblbufsz = nsize; in jbi_sorter_consumer()
/third_party/ejdb/src/
Dejdb2_internal.h183 size_t jblbufsz; /**< Size of jblbuf allocated memory */ member
Dejdb2.c695 ctx->jblbufsz = ctx->jbc->db->opts.document_buffer_sz; in _jb_exec_scan_init()
696 ctx->jblbuf = malloc(ctx->jblbufsz); in _jb_exec_scan_init()
698 ctx->jblbufsz = 0; in _jb_exec_scan_init()