Searched refs:jblbufsz (Results 1 – 4 of 4) sorted by relevance
/third_party/ejdb/src/jbi/ |
D | jbi_consumer.c | 17 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()
|
D | jbi_sorter_consumer.c | 198 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/ |
D | ejdb2_internal.h | 183 size_t jblbufsz; /**< Size of jblbuf allocated memory */ member
|
D | ejdb2.c | 695 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()
|