GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QMEM / V0-2-0
Constituent: qmem_unit_test     Tag: linux-gcc
#include <string.h>
#include "LSF/LSF.h"
#include "QMEM/QMEM.h"
#include "qmem_unit_test.h"
#include "qmem_util_wrap.h"
Include dependency graph for qmem_test_datagram.c:
Functions | |
static void | byte_swap (unsigned char *buf_p, unsigned int num_bytes) |
Byte-swap the 32-bit values within a buffer of data. | |
void | qmem_test_datagram (test_Test_Descriptor *td_p, const unsigned int bit_mask) |
Unit test for the QMEM_parse_datagram() function. | |
Variables | |
static unsigned char | small_dgm [] |
Small memory dump datagram. |
** CVS $Id: qmem_test_datagram.c,v 1.1.1.1 2005/12/13 21:46:07 dmay Exp $ **
|
Byte-swap the 32-bit values within a buffer of data.
|
|
Unit test for the QMEM_parse_datagram() function.
|
|
Initial value: { 0x80, 0x1f, 0x06, 0x00, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x10, 0x00, 0x01, 0x00, 0x00, 0x00, 0x04, 0x07, 0x77, 0x00, 0x00, 0xbf, 0x85, 0x00, 0x00, 0x00, 0x10, 0x00, 0x02, 0x00, 0x00, 0x00, 0x17, 0x00, 0x00, 0x00, 0x00, 0xbf, 0x86, 0x00, 0x00, 0xff, 0xff, 0xff, 0xfc, 0xbf, 0x88, 0x00, 0x80, 0xff, 0xff, 0x00, 0xef, 0x01, 0x3f, 0x00, 0x00, 0xff, 0xff, 0x00, 0xe7, 0xde, 0xed, 0xfa, 0xde, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x17, 0x00, 0x00, 0x00, 0x01, 0x40, 0x00, 0x00, 0x00, 0xff, 0xf0, 0x15, 0xd8, 0x00, 0x3f, 0x00, 0x00, 0xff, 0xf0, 0x14, 0x40, 0x00, 0x00, 0xff, 0xff, 0xff, 0xf0, 0x15, 0xd8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x48, 0x01, }
|