bind9/lib
Artem Boldariev 94e650ce89 Use 'restrict' and 'const' for 'isc_buffer_t'
The purpose of this commit is to aid compiler in generating better
code when working with `isc_buffer_t` objects by using restricted
pointers (and, to a lesser extent, 'const' modifier for read-only
arguments).

This way we, basically, instruct the compiler that the members of
structured passed by pointers into the functions can be treated as
local variables in the scope of a function. That should reduce the
number of load/store operations emitted by compilers when accessing
objects (e.g. 'isc_buffer_t') via pointers.
2022-12-20 21:01:27 +02:00
..
bind9 Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
dns Enable auto-reallocation for all isc_buffer_allocate() buffers 2022-12-20 19:13:48 +01:00
irs Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
isc Use 'restrict' and 'const' for 'isc_buffer_t' 2022-12-20 21:01:27 +02:00
isccc Change the isc_buffer_reserve() to take just buffer pointer 2022-12-20 19:13:48 +01:00
isccfg Remove isc_resource API and set limits directly in named_os unit 2022-12-07 19:40:00 +01:00
ns Refactor the isc_buffer_{get,put}uintN, add isc_buffer_peekuintN 2022-12-20 19:13:48 +01:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00