-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BF: force "little" endianness while xor_byte
We are using xor_byte for fingerprint computation and need to also handle bytes of different length. When working on big-endian platforms (such as the only one left s390x on debian) our assumptions of alignment of bytes in such strings fail. For consistency - always do it "little endian" way
- Loading branch information
1 parent
e7a8b29
commit d982ab4
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
from itertools import zip_longest | ||
import pytest | ||
|
||
from ..cache import xor_bytes | ||
|
||
|
||
|