git/reftable
Patrick Steinhardt ef46ad0815 reftable: rename scratch buffer
Both `struct block_writer` and `struct reftable_writer` have a `buf`
member that is being reused to optimize the number of allocations.
Rename the variable to `scratch` to clarify its intend and provide a
comment explaining why it exists.

Suggested-by: Christian Couder <christian.couder@gmail.com>
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-11-26 08:39:38 +09:00
..
LICENSE
basics.c reftable: convert from `strbuf` to `reftable_buf` 2024-10-17 16:59:56 -04:00
basics.h reftable: convert from `strbuf` to `reftable_buf` 2024-10-17 16:59:56 -04:00
block.c reftable: rename scratch buffer 2024-11-26 08:39:38 +09:00
block.h reftable: rename scratch buffer 2024-11-26 08:39:38 +09:00
blocksource.c reftable/blocksource: adapt interface name 2024-10-17 16:59:56 -04:00
blocksource.h reftable/blocksource: adapt interface name 2024-10-17 16:59:56 -04:00
constants.h reftable: make the compaction factor configurable 2024-05-13 17:02:39 -07:00
error.c reftable/error: introduce out-of-memory error code 2024-10-02 07:53:50 -07:00
iter.c reftable: handle trivial `reftable_buf` errors 2024-10-17 16:59:56 -04:00
iter.h reftable: convert from `strbuf` to `reftable_buf` 2024-10-17 16:59:56 -04:00
merged.c reftable: handle trivial allocation failures 2024-10-02 07:53:55 -07:00
merged.h reftable/merged: handle allocation failures in `merged_table_init_iter()` 2024-10-02 07:53:53 -07:00
pq.c reftable: introduce `REFTABLE_FREE_AND_NULL()` 2024-10-02 07:53:56 -07:00
pq.h reftable/pq: handle allocation failures when adding entries 2024-10-02 07:53:55 -07:00
reader.c reftable: handle trivial `reftable_buf` errors 2024-10-17 16:59:56 -04:00
reader.h Merge branch 'ps/reftable-alloc-failures' 2024-10-10 14:22:25 -07:00
record.c reftable: handle trivial `reftable_buf` errors 2024-10-17 16:59:56 -04:00
record.h reftable/record: adapt `reftable_record_key()` to handle allocation failures 2024-10-17 16:59:56 -04:00
reftable-basics.h reftable/basics: merge "publicbasics" into "basics" 2024-10-02 07:53:51 -07:00
reftable-blocksource.h
reftable-error.h reftable/error: introduce out-of-memory error code 2024-10-02 07:53:50 -07:00
reftable-iterator.h reftable/generic: adapt interface to allow reuse of iterators 2024-05-13 17:04:18 -07:00
reftable-merged.h reftable/merged: handle allocation failures in `merged_table_init_iter()` 2024-10-02 07:53:53 -07:00
reftable-reader.h reftable/reader: handle allocation failures in `reader_init_iter()` 2024-10-02 07:53:53 -07:00
reftable-record.h t/helper: inline printing of reftable records 2024-08-22 07:59:47 -07:00
reftable-stack.h Merge branch 'ps/reftable-alloc-failures' 2024-10-10 14:22:25 -07:00
reftable-writer.h Merge branch 'ps/reftable-alloc-failures' 2024-10-10 14:22:25 -07:00
stack.c reftable: handle trivial `reftable_buf` errors 2024-10-17 16:59:56 -04:00
stack.h reftable: make the compaction factor configurable 2024-05-13 17:02:39 -07:00
system.h reftable: convert from `strbuf` to `reftable_buf` 2024-10-17 16:59:56 -04:00
tree.c reftable/tree: handle allocation failures 2024-10-02 07:53:55 -07:00
tree.h reftable/tree: handle allocation failures 2024-10-02 07:53:55 -07:00
writer.c reftable: rename scratch buffer 2024-11-26 08:39:38 +09:00
writer.h reftable: rename scratch buffer 2024-11-26 08:39:38 +09:00