search for: vect_remove

Displaying 2 results from an estimated 2 matches for "vect_remove".

2020 Jul 07
0
[nbdkit PATCH 1/3] vector: Add VECT_remove
An upcoming patch wants to remove an arbitrary element from a vector. Also, add testsuite coverage for other functions added since the original unit test was written. It's a bit awkward that the compare for VECT_search and VECT_sort differ in type, but such is life (we indeed have search code where typing the key differently is useful). Signed-off-by: Eric Blake <eblake@redhat.com>
2020 Jul 07
6
[RFC nbdkit PATCH 0/3] aligned .extents
...working yet, but I'm done for today and wanted to at least document my ideas). I might also add a convenience function for nbdkit_extents_offset, since we have a number of filters that repeat the same code for translating all extents from the plugin by an offset. Eric Blake (3): vector: Add VECT_remove extents: Add nbdkit_extents_aligned() RFC swab: Re-enable .extents docs/nbdkit-filter.pod | 18 +++++++++ include/nbdkit-filter.h | 5 +++ common/utils/vector.h | 10 +++++ server/extents.c | 80 +++++++++++++++++++++++++++++++++++++- server/nbdkit.syms | 1 +...