summaryrefslogtreecommitdiff
path: root/reftable/block.c
AgeCommit message (Expand)AuthorFilesLines
2026-08-24Merge branch 'js/coverity-unchecked-returns-fix'Junio C Hamano1-1/+4
2026-08-12reftable/block: check deflateInit() return valueJohannes Schindelin1-1/+4
2026-07-03reftable/block: fix OOB read with bogus restart offsetPatrick Steinhardt1-0/+9
2026-07-03reftable/block: fix use of uninitialized memory when binsearch failsPatrick Steinhardt1-4/+4
2026-07-03reftable/block: fix OOB read with bogus restart countPatrick Steinhardt1-0/+4
2026-07-03reftable/block: fix OOB read with bogus block sizePatrick Steinhardt1-0/+9
2026-07-03reftable/block: fix OOB write with bogus inflated log sizePatrick Steinhardt1-0/+9
2025-05-19Merge branch 'ps/reftable-read-block-perffix'Junio C Hamano1-1/+6
2025-05-12reftable: fix perf regression when reading blocks of unwanted typePatrick Steinhardt1-1/+6
2025-04-29Merge branch 'ps/reftable-api-revamp'Junio C Hamano1-109/+175
2025-04-08Merge branch 'ps/reftable-sans-compat-util'Junio C Hamano1-7/+9
2025-04-07reftable/constants: make block types part of the public interfacePatrick Steinhardt1-2/+2
2025-04-07reftable/block: expose a generic iterator over reftable recordsPatrick Steinhardt1-0/+56
2025-04-07reftable/block: make block iterators reseekablePatrick Steinhardt1-10/+13
2025-04-07reftable/block: store block pointer in the block iteratorPatrick Steinhardt1-14/+8
2025-04-07reftable/block: rename `block_reader` to `reftable_block`Patrick Steinhardt1-71/+71
2025-04-07reftable/block: rename `block` to `block_data`Patrick Steinhardt1-23/+23
2025-04-07reftable/table: move reading block into block readerPatrick Steinhardt1-31/+56
2025-04-07reftable/block: simplify how we track restart pointsPatrick Steinhardt1-13/+12
2025-04-07reftable/blocksource: consolidate code into a single filePatrick Steinhardt1-14/+3
2025-04-07reftable: fix formatting of the license headerPatrick Steinhardt1-6/+6
2025-03-21reftable: propagate specific error codes in block_writer_add()Meet Soni1-6/+7
2025-02-18reftable/basics: provide wrappers for big endian conversionPatrick Steinhardt1-6/+6
2025-02-18reftable/record: stop using `BUG()` in `reftable_record_init()`Patrick Steinhardt1-1/+3
2025-02-06Merge branch 'ps/zlib-ng'Junio C Hamano1-1/+0
2025-01-28git-compat-util: move include of "compat/zlib.h" into "git-zlib.h"Patrick Steinhardt1-1/+0
2025-01-28compat: introduce new "zlib.h" headerPatrick Steinhardt1-1/+1
2025-01-21reftable/block: adjust type of the restart lengthPatrick Steinhardt1-7/+5
2025-01-21reftable/block: adapt header and footer size to return a `size_t`Patrick Steinhardt1-2/+2
2025-01-21reftable/basics: adjust `hash_size()` to return `uint32_t`Patrick Steinhardt1-2/+2
2024-12-28reftable: avoid leaks on realloc errorRené Scharfe1-4/+6
2024-11-26reftable: rename scratch bufferPatrick Steinhardt1-5/+5
2024-11-21reftable/block: optimize allocations by using scratch bufferPatrick Steinhardt1-8/+5
2024-11-21reftable/block: rename `block_writer::buf` variablePatrick Steinhardt1-10/+10
2024-10-17reftable: handle trivial `reftable_buf` errorsPatrick Steinhardt1-2/+7
2024-10-17reftable/record: adapt `reftable_record_key()` to handle allocation failuresPatrick Steinhardt1-5/+15
2024-10-17reftable: convert from `strbuf` to `reftable_buf`Patrick Steinhardt1-17/+17
2024-10-17reftable: stop using `strbuf_addbuf()`Patrick Steinhardt1-1/+1
2024-10-02reftable: introduce `REFTABLE_FREE_AND_NULL()`Patrick Steinhardt1-3/+3
2024-10-02reftable/block: handle allocation failuresPatrick Steinhardt1-2/+21
2024-05-13reftable/block: use `size_t` to track restart point indexPatrick Steinhardt1-2/+2
2024-05-08Merge branch 'ps/reftable-write-optim'Junio C Hamano1-26/+46
2024-04-15reftable/block: avoid copying block iterators on seekPatrick Steinhardt1-18/+14
2024-04-15reftable/block: reuse `zstream` state on inflationPatrick Steinhardt1-10/+15
2024-04-15reftable/block: open-code call to `uncompress2()`Patrick Steinhardt1-10/+28
2024-04-15reftable/block: reuse uncompressed blocksPatrick Steinhardt1-8/+6
2024-04-15reftable/reader: iterate to next block in placePatrick Steinhardt1-0/+2
2024-04-15reftable/block: move ownership of block reader into `struct table_iter`Patrick Steinhardt1-14/+29
2024-04-15reftable/block: introduce `block_reader_release()`Patrick Steinhardt1-0/+5
2024-04-15reftable/block: better grouping of functionsPatrick Steinhardt1-25/+25