ACE_crc32.cpp File Reference

#include "ace/ACE.h"

Include dependency graph for ACE_crc32.cpp:


Defines

#define COMPUTE(var, ch)   (var) = (crc_table[(var ^ ch) & 0xFF] ^ (var >> 8))

Functions

ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_UINT32 
ACE::crc32 (const char *string)
 Computes the ISO 8802-3 standard 32 bits CRC for the string.
ACE_UINT32 ACE::crc32 (const void *buffer, size_t len, ACE_UINT32 crc)
 Computes the ISO 8802-3 standard 32 bits CRC for the buffer.
ACE_UINT32 ACE::crc32 (const iovec *iov, int len, ACE_UINT32 crc)

Variables

const ACE_UINT32 crc_table []

Define Documentation

#define COMPUTE ( var,
ch   )     (var) = (crc_table[(var ^ ch) & 0xFF] ^ (var >> 8))


Variable Documentation

const ACE_UINT32 crc_table[] [static]


Generated on Wed Apr 19 01:42:27 2006 for ACE by  doxygen 1.4.6-4