go-ceph/internal/cutil
Sven Anderson b8a803ccbb cutil: use SyncBuffer for iovec type
The main motivation for PtrGuard was read and write buffers as they
are used in iovec.  This change uses SyncBuffer for the iovec
implementation, so that the no-copy PtrGuard implementation can be
enabled with the with_ptrguard build tag.

Signed-off-by: Sven Anderson <sven@redhat.com>
2021-02-08 11:09:25 -05:00
..
aliases.go cutil: add some useful function aliases 2021-02-08 11:09:25 -05:00
command_input.go cutil: add a new internal package for c+go utility functions 2020-05-12 17:18:08 -04:00
command_input_test.go cutil: add a new internal package for c+go utility functions 2020-05-12 17:18:08 -04:00
command_output.go cutil: allow passing free functions to command output type 2020-05-12 17:18:08 -04:00
command_output_test.go cutil: allow passing free functions to command output type 2020-05-12 17:18:08 -04:00
iovec.go cutil: use SyncBuffer for iovec type 2021-02-08 11:09:25 -05:00
iovec_test.go cutil: use SyncBuffer for iovec type 2021-02-08 11:09:25 -05:00
ptrguard.go cutil: add PtrGuard for storing Go pointers in C memory 2021-02-08 14:50:56 +00:00
ptrguard_test.go cutil: add test for PtrGuard 2021-02-08 14:50:56 +00:00
splitbuf.go cutil: add SplitBuffer and SplitSparseBuffer helper functions 2020-07-23 16:38:39 -04:00
splitbuf_test.go cutil: add SplitBuffer and SplitSparseBuffer helper functions 2020-07-23 16:38:39 -04:00
sync_buffer.go cutil: add SyncBuffer abstraction layer to PtrGuard 2021-02-08 11:09:25 -05:00
sync_buffer_memcpy.go cutil: add SyncBuffer abstraction layer to PtrGuard 2021-02-08 11:09:25 -05:00