summaryrefslogtreecommitdiffhomepage
path: root/src/test/nxt_lvlhsh_test.c (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2018-11-15Fixed lvlhsh test on 64-bit big-endian systems.Valentin Bartenev1-1/+1
The nxt_murmur_hash2() generated 4-byte hash that was stored in uintptr_t, which was 8 bytes long on 64-bit systems. At each iteration, it took the previous key and hashed it again. The problem was that it took only the first 4 bytes of the key, and these 4 bytes were always zero on 64-bit big-endian system. That resulted in equal keys at each iteration. The bug was discovered on IBM/S390x.
2018-03-29nxt_lvlhsh_each() refactoring and nxt_lvlhsh_each_init().Igor Sysoev1-2/+1
2018-03-29nxt_lvlhsh_retrieve().Igor Sysoev1-0/+37
2018-03-29nxt_lvlhsh_peek().Igor Sysoev1-2/+14
2017-11-21Tests: move existing tests to "src" folder.Andrey Zelenkov1-0/+0
2017-08-30Lib unit tests have been renamed to tests.Igor Sysoev1-22/+23
2017-06-20Using new memory pool implementation.Igor Sysoev1-4/+2
2017-06-19Memory pools refactoring.Igor Sysoev1-14/+13
2017-05-10Added one more missing "fall through" comment in tests.Valentin Bartenev1-0/+1
2017-02-01nxt_str_t changes.Igor Sysoev1-7/+7