summaryrefslogtreecommitdiffhomepage
path: root/src/test/nxt_lvlhsh_test.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-08-13Basic variables support.Valentin Bartenev1-16/+2
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/+229