History log of /unit/src/test/nxt_lvlhsh_test.c (Results 1 – 6 of 6)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: 1.21.0-1, 1.21.0, 1.20.0-1, 1.20.0, 1.19.0-1, 1.19.0
# 1563:d32bc428f46b 12-Aug-2020 Valentin Bartenev

Basic variables support.


Revision tags: 1.18.0-1, 1.18.0, 1.17.0-1, 1.17.0, 1.16.0-1, 1.16.0, 1.15.0-1, 1.15.0, 1.14.0-1, 1.14.0, 1.13.0-1, 1.13.0, 1.12.0-1, 1.12.0, 1.11.0-2, 1.11.0-1, 1.11.0, 1.10.0-2, 1.10.0-1, 1.10.0, 1.9.0-1, 1.9.0, 1.8.0-1, 1.8.0, 1.7.1-1, 1.7.1, 1.7-1, 1.7, 1.6-1, 1.6
# 840:500c3525e10e 15-Nov-2018 Valentin Bartenev

Fixed lvlhsh test on 64-bit big-endian systems.

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
p

Fixed lvlhsh test on 64-bit big-endian systems.

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.

show more ...


Revision tags: 1.5-1, 1.5, 1.4-2, 1.4, 1.3, 1.2, 1.1, 1.0
# 598:70677ad404c1 29-Mar-2018 Igor Sysoev

nxt_lvlhsh_each() refactoring and nxt_lvlhsh_each_init().


# 595:686246c79c5a 29-Mar-2018 Igor Sysoev

nxt_lvlhsh_retrieve().


# 594:c89b29f038c4 29-Mar-2018 Igor Sysoev

nxt_lvlhsh_peek().


Revision tags: 0.7, 0.6, 0.5, 0.4, 0.3
# 384:8f86d3ff3e29 21-Nov-2017 Andrey Zelenkov

Tests: move existing tests to "src" folder.