summaryrefslogtreecommitdiffstats
path: root/reftable/reader.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* reftable/system: stop depending on "hash.h"Patrick Steinhardt2024-11-191-4/+4
* reftable: explicitly handle hash format IDsPatrick Steinhardt2024-11-191-4/+6
* reftable: handle trivial `reftable_buf` errorsPatrick Steinhardt2024-10-171-1/+4
* reftable/record: adapt `reftable_record_key()` to handle allocation failuresPatrick Steinhardt2024-10-171-2/+6
* reftable: convert from `strbuf` to `reftable_buf`Patrick Steinhardt2024-10-171-8/+8
* reftable: introduce `REFTABLE_FREE_AND_NULL()`Patrick Steinhardt2024-10-021-1/+1
* reftable: handle trivial allocation failuresPatrick Steinhardt2024-10-021-1/+9
* reftable/iter: handle allocation failures when creating indexed table iterPatrick Steinhardt2024-10-021-1/+6
* reftable/reader: handle allocation failures in `reader_init_iter()`Patrick Steinhardt2024-10-021-10/+18
* reftable/reader: handle allocation failures for unindexed readerPatrick Steinhardt2024-10-021-6/+17
* reftable/reader: make table iterator reseekablePatrick Steinhardt2024-09-161-0/+1
* reftable/reader: keep readers alive during iterationPatrick Steinhardt2024-08-231-0/+2
* reftable/reader: introduce refcountingPatrick Steinhardt2024-08-231-2/+14
* reftable/reader: inline `reader_close()`Patrick Steinhardt2024-08-231-7/+2
* reftable/reader: inline `init_reader()`Patrick Steinhardt2024-08-231-61/+61
* reftable/reader: rename `reftable_new_reader()`Patrick Steinhardt2024-08-231-2/+2
* reftable/generic: drop interfacePatrick Steinhardt2024-08-221-41/+0
* t/helper: inline `reftable_reader_print_file()`Patrick Steinhardt2024-08-221-21/+0
* reftable/iter: drop double-checking logicPatrick Steinhardt2024-08-221-2/+0
* reftable/merged: stop using generic tables in the merged tablePatrick Steinhardt2024-08-221-3/+3
* Merge branch 'ps/reftable-reusable-iterator'Junio C Hamano2024-05-301-129/+95
|\
| * reftable/reader: adapt interface to allow reuse of iteratorsPatrick Steinhardt2024-05-141-27/+4
| * reftable/generic: move seeking of records into the iteratorPatrick Steinhardt2024-05-141-56/+70
| * reftable/reader: set up the reader when initializing table iteratorPatrick Steinhardt2024-05-141-17/+22
| * reftable/reader: inline `reader_seek_internal()`Patrick Steinhardt2024-05-141-22/+12
| * reftable/reader: separate concerns of table iter and reftable readerPatrick Steinhardt2024-05-141-17/+15
| * reftable/reader: unify indexed and linear seekingPatrick Steinhardt2024-05-141-26/+16
| * reftable/reader: avoid copying index iteratorPatrick Steinhardt2024-05-141-24/+14
* | reftable/dump: support dumping a table's block structurePatrick Steinhardt2024-05-141-0/+63
|/
* reftable/block: reuse `zstream` state on inflationPatrick Steinhardt2024-04-151-0/+1
* reftable/block: reuse uncompressed blocksPatrick Steinhardt2024-04-151-11/+16
* reftable/reader: iterate to next block in placePatrick Steinhardt2024-04-151-21/+26
* reftable/block: move ownership of block reader into `struct table_iter`Patrick Steinhardt2024-04-151-63/+60
* reftable/block: introduce `block_reader_release()`Patrick Steinhardt2024-04-151-1/+1
* reftable/block: merge `block_iter_seek()` and `block_reader_seek()`Patrick Steinhardt2024-04-151-2/+2
* reftable/block: rename `block_reader_start()`Patrick Steinhardt2024-04-151-2/+2
* Merge branch 'ps/reftable-iteration-perf'Junio C Hamano2024-02-271-9/+17
|\
| * reftable/reader: add comments to `table_iter_next()`Patrick Steinhardt2024-02-121-9/+17
* | Merge branch 'ps/reftable-styles'Junio C Hamano2024-02-121-7/+5
|\ \
| * | reftable/record: improve semantics when initializing recordsPatrick Steinhardt2024-02-061-2/+2
| * | reftable: introduce macros to allocate arraysPatrick Steinhardt2024-02-061-5/+3
| |/
* | reftable: document reading and writing indicesPatrick Steinhardt2024-02-011-0/+27
* | reftable/reader: be more careful about errors in indexed seeksPatrick Steinhardt2024-02-011-0/+3
|/
* Merge branch 'en/header-cleanup'Junio C Hamano2024-01-081-1/+0
|\
| * treewide: remove unnecessary includes in source filesElijah Newren2023-12-261-1/+0
* | reftable/block: introduce macro to initialize `struct block_iter`Patrick Steinhardt2023-12-111-4/+3
|/
* reftable: drop unused parameter from reader_seek_linear()Jeff King2022-08-201-3/+3
* reftable: reject 0 object_id_lenHan-Wen Nienhuys2022-02-231-0/+5
* reftable: make reftable_record a tagged unionHan-Wen Nienhuys2022-01-201-42/+45
* reftable: all xxx_free() functions accept NULL argumentsHan-Wen Nienhuys2022-01-201-0/+2