mirror of
https://github.com/postgres/postgres.git
synced 2025-12-04 12:02:48 +03:00
Preliminary work for pgindent run.
Update typedefs.list from current buildfarm results. Adjust pgindent's typedef blacklist to block some more unfortunate typedef names that have snuck in since last time. Manually tweak a few places where I didn't like the initial results of pgindent'ing.
This commit is contained in:
@@ -29,17 +29,20 @@ pg_comp_crc32c_armv8(pg_crc32c crc, const void *data, size_t len)
|
||||
* significantly faster. Process leading bytes so that the loop below
|
||||
* starts with a pointer aligned to eight bytes.
|
||||
*/
|
||||
if (!PointerIsAligned(p, uint16) && p + 1 <= pend)
|
||||
if (!PointerIsAligned(p, uint16) &&
|
||||
p + 1 <= pend)
|
||||
{
|
||||
crc = __crc32cb(crc, *p);
|
||||
p += 1;
|
||||
}
|
||||
if (!PointerIsAligned(p, uint32) && p + 2 <= pend)
|
||||
if (!PointerIsAligned(p, uint32) &&
|
||||
p + 2 <= pend)
|
||||
{
|
||||
crc = __crc32ch(crc, *(uint16 *) p);
|
||||
p += 2;
|
||||
}
|
||||
if (!PointerIsAligned(p, uint64) && p + 4 <= pend)
|
||||
if (!PointerIsAligned(p, uint64) &&
|
||||
p + 4 <= pend)
|
||||
{
|
||||
crc = __crc32cw(crc, *(uint32 *) p);
|
||||
p += 4;
|
||||
|
||||
Reference in New Issue
Block a user