|
automotive-dlt
|

Go to the source code of this file.
Macros | |
| #define | C(y) 0x ## y ## ULL |
Functions | |
| void | setup () |
| void | Check (uint64 expected, uint64 actual) |
| void | Test (const uint64 *expected, int offset, int len) |
| int | main (int argc, char **argv) |
Variables | |
| static const uint64 | k0 = 0xc3a5c85c97cb3127ULL |
| static const uint64 | kSeed0 = 1234567 |
| static const uint64 | kSeed1 = k0 |
| static const uint128 | kSeed128 = {kSeed0, kSeed1} |
| static const int | kDataSize = 1 << 20 |
| static const int | kTestSize = 300 |
| static char | data [kDataSize] |
| static int | errors = 0 |
| static const uint64 | testdata [kTestSize][15] |
| #define C | ( | y | ) | 0x ## y ## ULL |
Definition at line 58 of file city-test.cc.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| void setup | ( | ) |
| void Test | ( | const uint64 * | expected, |
| int | offset, | ||
| int | len | ||
| ) |
Definition at line 969 of file city-test.cc.
References Check(), CityHash128(), CityHash128WithSeed(), CityHash64(), CityHash64WithSeed(), CityHash64WithSeeds(), CityHashCrc128(), CityHashCrc128WithSeed(), CityHashCrc256(), data, kSeed0, kSeed1, Uint128High64, and Uint128Low64.
Referenced by main().
|
static |
Definition at line 40 of file city-test.cc.
Referenced by dlt_client_main_loop(), dlt_control_init_connection(), dlt_control_listen_to_daemon(), dlt_daemon_send_ringbuffer_to_client(), dlt_kpi_log_list(), dlt_logstorage_ctrl_execute_event_loop(), dlt_receive_message_callback(), dlt_user_trace_network_segmented_thread(), setup(), and Test().
|
static |
Definition at line 42 of file city-test.cc.
|
static |
Definition at line 33 of file city-test.cc.
Referenced by setup().
|
static |
Definition at line 37 of file city-test.cc.
|
static |
Definition at line 34 of file city-test.cc.
Referenced by Test().
Definition at line 35 of file city-test.cc.
Referenced by Test().
Definition at line 36 of file city-test.cc.
|
static |
Definition at line 38 of file city-test.cc.
Referenced by main().
Definition at line 59 of file city-test.cc.
Referenced by main().