mirror of https://github.com/ceph/go-ceph
014a3f6308
Uintptr are guaranteed to be at least of the size of a pointer. However, in theory it could be larger. Since the code of PtrGuard assumes both have the same size and to be on the safe side, this change adds a compile-time check, that the sizes of uintptr and pointers are the same. Signed-off-by: Sven Anderson <sven@anderson.de> |
||
---|---|---|
.. | ||
aliases.go | ||
command_input.go | ||
command_input_test.go | ||
command_output.go | ||
command_output_test.go | ||
iovec.go | ||
iovec_test.go | ||
ptrguard.go | ||
ptrguard_test.go | ||
splitbuf.go | ||
splitbuf_test.go | ||
sync_buffer.go | ||
sync_buffer_memcpy.go |