Show More
@@ -56,12 +56,7 b' if stable_docket_file:' | |||||
56 | if inst.errno != errno.ENOENT: |
|
56 | if inst.errno != errno.ENOENT: | |
57 | raise |
|
57 | raise | |
58 | seed = b'04' # chosen by a fair dice roll. garanteed to be random |
|
58 | seed = b'04' # chosen by a fair dice roll. garanteed to be random | |
59 | if pycompat.ispy3: |
|
59 | iter_seed = iter(seed) | |
60 | iter_seed = iter(seed) |
|
|||
61 | else: |
|
|||
62 | # pytype: disable=wrong-arg-types |
|
|||
63 | iter_seed = (ord(c) for c in seed) |
|
|||
64 | # pytype: enable=wrong-arg-types |
|
|||
65 | # some basic circular sum hashing on 64 bits |
|
60 | # some basic circular sum hashing on 64 bits | |
66 | int_seed = 0 |
|
61 | int_seed = 0 | |
67 | low_mask = int('1' * 35, 2) |
|
62 | low_mask = int('1' * 35, 2) |
General Comments 0
You need to be logged in to leave comments.
Login now