summaryrefslogtreecommitdiff
path: root/compat/bswap.h
AgeCommit message (Expand)AuthorFilesLines
2020-09-24bswap.h: drop unaligned loadsLibravatar Jeff King1-24/+0
2019-03-07compat/bswap: add include header guardsLibravatar Jeff King1-0/+5
2017-09-24bswap: add 64 bit endianness helper get_be64Libravatar Ben Peart1-0/+22
2017-07-17bswap: convert get_be16, get_be32 and put_be32 to inline functionsLibravatar René Scharfe1-14/+24
2017-07-17bswap: convert to unsigned before shifting in get_be32Libravatar René Scharfe1-4/+4
2016-01-04bswap: add NO_UNALIGNED_LOADS defineLibravatar Jeff King1-2/+3
2014-10-27compat/bswap.h: detect endianness from XL C compiler macrosLibravatar David Michael1-0/+4
2014-05-30compat/bswap.h: fix endianness detectionLibravatar Ben Walton1-1/+1
2014-05-02compat/bswap.h: restore preference __BIG_ENDIAN over BIG_ENDIANLibravatar Junio C Hamano1-7/+7
2014-05-02compat/bswap.h: detect endianness on more platforms that don't use BYTE_ORDERLibravatar Charles Bailey1-9/+24
2014-01-23read-cache: use get_be32 instead of hand-rolled ntoh_lLibravatar Jeff King1-0/+4
2014-01-23block-sha1: factor out get_be and put_be wrappersLibravatar Jeff King1-0/+32
2013-11-18compat: add endianness helpersLibravatar Vicent Marti1-1/+75
2011-03-16compat: make gcc bswap an inline functionLibravatar Jonathan Nieder1-8/+10
2010-03-31Don't redefine htonl and ntohl on big-endianLibravatar Holger Weiß1-0/+2
2009-11-25Explicitly truncate bswap operand to uint32_tLibravatar Benjamin Kramer1-1/+1
2009-10-30Use faster byte swapping when compiling with MSVCLibravatar Sebastian Schuberth1-0/+10
2009-10-02Fix some printf format warningsLibravatar Ramsay Jones1-2/+2
2009-08-18make sure byte swapping is optimal for gitLibravatar Nicolas Pitre1-0/+36