go-ceph/internal/cutil
Sven Anderson c45fa95b32 rados: remove pointer arithmetic on C-buffers
This change uses slices on top of C allocated array memory in order
to have a simple (no pointer arithmetic) and safe (boundary-checked)
access to its elements.

Signed-off-by: Sven Anderson <sven@redhat.com>
2021-05-03 16:20:34 +00:00
..
aliases.go rados: remove pointer arithmetic on C-buffers 2021-05-03 16:20:34 +00: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
cslice.go rados: remove pointer arithmetic on C-buffers 2021-05-03 16:20:34 +00:00
cslice_test.go rados: remove pointer arithmetic on C-buffers 2021-05-03 16:20:34 +00: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 ptrguard: assert pointer and uintptr have same size 2021-03-26 11:41:14 +00:00
ptrguard_test.go ptrguard: assert that //go:uintptrescapes actually works 2021-03-19 09:47:19 -04: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