17 Commits (c409d108b857799ae699654d2fc33b063c9aef9d)

Author SHA1 Message Date
Ben Peart b2e39d0067 bswap: add 64 bit endianness helper get_be64 7 years ago
René Scharfe 5b114f3bb0 bswap: convert get_be16, get_be32 and put_be32 to inline functions 8 years ago
René Scharfe 7780af1e8e bswap: convert to unsigned before shifting in get_be32 8 years ago
Jeff King a0df2e5a7e bswap: add NO_UNALIGNED_LOADS define 9 years ago
David Michael bfb0e6fcd2 compat/bswap.h: detect endianness from XL C compiler macros 10 years ago
Ben Walton 9c65ee15ee compat/bswap.h: fix endianness detection 11 years ago
Junio C Hamano 839fa9c500 compat/bswap.h: restore preference __BIG_ENDIAN over BIG_ENDIAN 11 years ago
Charles Bailey 3cf6bb3406 compat/bswap.h: detect endianness on more platforms that don't use BYTE_ORDER 11 years ago
Jeff King c3d8da571f read-cache: use get_be32 instead of hand-rolled ntoh_l 11 years ago
Jeff King 802b123366 block-sha1: factor out get_be and put_be wrappers 11 years ago
Vicent Marti 7e3dae4943 compat: add endianness helpers 11 years ago
Jonathan Nieder c6c8d0b797 compat: make gcc bswap an inline function 14 years ago
Holger Weiß 21e403a7b9 Don't redefine htonl and ntohl on big-endian 15 years ago
Benjamin Kramer b073b7a990 Explicitly truncate bswap operand to uint32_t 15 years ago
Sebastian Schuberth 0fcabdeb52 Use faster byte swapping when compiling with MSVC 15 years ago
Ramsay Jones 5322ef2006 Fix some printf format warnings 16 years ago
Nicolas Pitre 51ea55190b make sure byte swapping is optimal for git 16 years ago