A Discrete-Event Network Simulator
API
hash-test-suite.cc File Reference
#include <iomanip>
#include <string>
#include "ns3/test.h"
#include "ns3/hash.h"
+ Include dependency graph for hash-test-suite.cc:

Go to the source code of this file.

Classes

class  DefaultHashTestCase
 
class  Fnv1aTestCase
 
class  Hash32FunctionPtrTestCase
 Test 32-bit function pointer. More...
 
class  Hash64FunctionPtrTestCase
 Test 64-bit function pointer. More...
 
class  HashTestCase
 Base class for hash tests. More...
 
class  HashTestSuite
 Hash functions test suite. More...
 
class  IncrementalTestCase
 Test incremental hashing. More...
 
class  Murmur3TestCase
 

Functions

uint16_t gnu_sum (const char *buffer, const size_t size)
 
uint32_t gnu_sum32 (const char *buffer, const size_t size)
 
uint64_t gnu_sum64 (const char *buffer, const size_t size)
 

Variables

static HashTestSuite g_hashTestSuite
 

Function Documentation

uint16_t gnu_sum ( const char *  buffer,
const size_t  size 
)

Definition at line 221 of file hash-test-suite.cc.

Referenced by gnu_sum32().

+ Here is the caller graph for this function:

uint32_t gnu_sum32 ( const char *  buffer,
const size_t  size 
)

Definition at line 238 of file hash-test-suite.cc.

References gnu_sum().

Referenced by Hash32FunctionPtrTestCase::DoRun(), and gnu_sum64().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint64_t gnu_sum64 ( const char *  buffer,
const size_t  size 
)

Definition at line 246 of file hash-test-suite.cc.

References gnu_sum32().

Referenced by Hash64FunctionPtrTestCase::DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

HashTestSuite g_hashTestSuite
static

Definition at line 387 of file hash-test-suite.cc.