Sha256: e89523a8599be0521986e678c9b7da701199eea43e6d81d448c87f07ed4db9cd
Contents?: true
Size: 787 Bytes
Versions: 1
Compression:
Stored size: 787 Bytes
Contents
/////////////////////////////////////////////////////////////////////////////// // /// \file crc_macros.h /// \brief Some endian-dependent macros for CRC32 and CRC64 // // Author: Lasse Collin // // This file has been put into the public domain. // You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// #ifdef WORDS_BIGENDIAN # define A(x) ((x) >> 24) # define B(x) (((x) >> 16) & 0xFF) # define C(x) (((x) >> 8) & 0xFF) # define D(x) ((x) & 0xFF) # define S8(x) ((x) << 8) # define S32(x) ((x) << 32) #else # define A(x) ((x) & 0xFF) # define B(x) (((x) >> 8) & 0xFF) # define C(x) (((x) >> 16) & 0xFF) # define D(x) ((x) >> 24) # define S8(x) ((x) >> 8) # define S32(x) ((x) >> 32) #endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
laag-xz-5.2.4.0 | vendor/git.tukaani.org/xz/src/liblzma/check/crc_macros.h |